WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Hi all  (Read 3424 times)

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Hi all
« on: April 12, 2011, 12:56:13 AM »
I'm showing a friend tinycore linux, and encountered some strange problems.

he is using his own imation flash drive, to store tce folder

during boot up we get a ton of the following on screen
Code: [Select]
hub 1-0:1.0: unable to enumerate USB device on port 2
The flash drive is not being detected.
I'm trying to boot with tinycore waitusb=20 with no effect

Once the machine is booted, I can add my own usb flash drives to the machine and it detects the drivers ok. Once the machine is booted, it still does not detect my friends flash drive.

We have even tried formating the flash drive on a windows xp machine to fat32, then copied back his tce folder, with no effect.

My friend had a spare flash drive which is a kingston which is working fine

any ideas ?
Live long and prosper.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Hi all
« Reply #1 on: April 12, 2011, 06:15:07 AM »
Faulty usb drive :P

If unplugging and replugging doesn't help, IMHO I would warranty it.
The only barriers that can stop you are the ones you create yourself.

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: Hi all
« Reply #2 on: April 12, 2011, 06:48:03 AM »
Hi: I just posted similar problems while using an SD card in an ATA adaptor.
a possible direction you might take is checking on the following:

MBR (master boot record)
boot sector
partition table (msdos, sun, loop, pc98,bsd,dvh,gpt ...) thess are some options for the pt
flag ( boot, etc)
fstab
partition boundries (in some cases a partition must end and start at acertain cylinder)

I am still fighting with problems that may be related to the items mentioned
above.
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: Hi all
« Reply #3 on: April 12, 2011, 06:57:25 AM »
You know what ?

My friend had just used that flash drive to install a live cd of ubuntu to play with.
Perhaps its got something to do with the mbr that would have been created onto that drive.

He has now tried all sorts of 3rd party programs for formating a flash drive in windows.

I'll ask him to use fdisk in linux to remove the partitions on the drive then use fdisk to recreate them.

I think you can also format fat32 in linux with mkfs.vfat /dev/sda1 , i'll ask him to try.
Live long and prosper.

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: Hi all
« Reply #4 on: April 12, 2011, 07:01:17 AM »
after several hours of unsuccessful work I used another computer with built in SD card slot to partition and format.
In this case the system sees the memory as an SD card in the first place.
But I still was not sure how to set the flags and the partition table type.
I need to study this more and will post.
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: Hi all
« Reply #5 on: April 12, 2011, 07:48:05 AM »
Hey beerstein,

I just had a quick look on google, seems like formating a sd card in windows xp is the same as for a floppy or a flash drive.

1. insert sd card
2. open my computer (win xp)
3. right click on sd card icon
4. select format , or perhaps reformat option, and follow the prompts.

In the past I had a usb flash drive I had Ping Is Not Ghost(http://ping.windowsdream.com/) booting from. to make it easy to deploy win xp via sysprep to computers without optical drives.

Once I was done with the image deployment, I formated the usb drive in windows xp so I could use it for something else. I discovered that windows would no longer auto open the drive when I inserted it. I tried it in linux and could not open the drive at all.
using the linux command
Code: [Select]
fdisk -l /dev/sda to look at the partition info on the drive would results in a list of 9 primary partitions on the drive... Which should not be possible. So I tried all number of 3rd party usb drive formating tools in windows that did not fix the problem. I think because they do not REMOVE the partition on a flash drive, only format them...

I booted up a linux live rescue CD and did the following.

fdisk /dev/sda

- deleted partitions
- created new partition
- partition type fat32
- write changes

I then attatched the drive to a win xp machine and formated the drive as fat32, and its worked ever since.

I only just found out that I can format fat32 in linux with
Code: [Select]
mkfs.vfat /dev/sda1 or
Code: [Select]
mkfs -t vfat /dev/sda1 so I could have done the whole job in one os.
Live long and prosper.

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: Hi all
« Reply #6 on: April 14, 2011, 11:15:17 PM »
errrr what ?
Me thinks off topic  ;)
Live long and prosper.