Re: usb mass storage

From: Daniel Miller (dan_at_invalid.com)
Date: 08/05/04


Date: 5 Aug 2004 13:45:11 -0500

mcintosh@nospam.com (Allen McIntosh) wrote in
news:ceott8$11n$1@mc-pc.research.telcordia.com:

> Just one thing to add: based on a recent google search (when I was
> having problems with my USB memory) there may not be a partition
> table. This means the memory should be accessed as /dev/sdb etc.
> Clues:
> - if there is a valid partition table, the last two bytes of the first
> 512 byte sector should be 0x55 and 0xaa.

Oops... this test is no good!! USB devices may have either a partition
table (like a HDD) or a boot sector (like a FDD) at sector 0. Either type
of sector ends with 0x55AA !!! Unfortunately, at least with kernel 2.4,
linux doesn't understand a USB device with a boot sector, which is why
fdisk sometimes shows absurd values.

> - if the results of fdisk -l are totally off the wall (4 partitions
> with weird types) then there may not be any partition table.
>
> Either way I'd suggest mounting the device read-only until you are
> sure.
>



Relevant Pages

  • Mount Problem
    ... I am beginning to learn linux and wish to mount a usb drive's ... partition on my VMware host. ... Then I rebooted my VMware host from the USB drive. ... Feb 9 11:58:30 root: usbarbitrator Evicting objects on USB devices ...
    (comp.os.linux.misc)
  • Re: usb mass storage
    ... > - if there is a valid partition table, the last two bytes of the first ... USB devices may have either a partition ... table or a boot sector at sector 0. ...
    (comp.os.linux.hardware)
  • Re: Core 2: USB storage problem ("cant read superblock)
    ... partition and filesystem size. ... If your device itself is reporting it is zero cylinders big, ... example the initial partition table lives on the boot sector at the beginning ... Automatic actions for USB cameras, cardreaders, memory sticks, MP3 players ...
    (Fedora)
  • Re: Help! - FIXBOOT turned my FAT32 bootsector into NTFS!
    ... with a single 20 GB primary DOS partition. ... FIXBOOT Responded with the following: ... > There's no difference between a FAT32 boot sector and an NTFS boot sector. ... > But there are important differences between a Win98 boot sector and a WinXP ...
    (microsoft.public.windowsxp.general)
  • Re: Burning my Windows XP installation CD to USB Flash drive
    ... USB drives are the ... don't need to do USB boot. ... To give an example of the usage of TestDisk, I plugged a Win2K installer ... custom partition options. ...
    (microsoft.public.windowsxp.general)