mounting a usb thumb drive

Roger Oberholtzer roger
Wed Dec 8 23:57:52 PST 2004


On Wed, 2004-12-08 at 08:45, Man-wai Chang wrote:
> Roger Oberholtzer wrote:
> > And remember that they can be either floppies or partitioned hard disks.
> > So, if it finds the disk but complains that the partition table is bad,
> > then mount the whole device, not a partition, as it is probably
> > formatted as a floppy.
> 
> I now could mount /dev/sdb inside SUSE. BUt according to the manual of 
> my USB Disk Pro, it has 2 partitions. Mounting /dev/sdb will only see 
> the floppy partition, but not the harddisk partition. How could I find 
> the harddisk partition?
> 
> fdisk /dev/sdb showed some garbages.
> 
> BTW, I couldn't see the floppy partition under Windows 2000 SP4, but the 
> harddisk partition only.

This is not how it works. It can be either a floppy or a hard disk - but
not both at the same time.

If it is a floppy, there is no partition table and thus no partitions.
It just starts at the beginning of the disk, as a floppy would. For
these you would mount /dev/sdb

If it is a hard disk, then it has a partition table. Then you need to
mount /dev/sdb1 or /dev/sdb2 or whatever. To see if there are
partitions, run:

		fdisk -l /dev/sdb

(the option is a small letter 'l')

If the partitions look reasonable, then it is probably a hard disk. Be
aware that this command may try to list a partition table when there
isn't one. In that case, the table will be nonsense, and the device is
probably a floppy.

I am sure there are further details with this. 

+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer          ?   E-mail: roger at opq.se        ?
? OPQ Systems AB             ?      WWW: http://www.opq.se/  ?
? Nybrogatan 66 nb           ?    Phone: Int + 46 8   314223 ?
? 114 41 Stockholm           ?   Mobile: Int + 46 733 621657 ?
? Sweden                     ?      Fax: Int + 46 8   314223 ?
+????????????????????????????+???????????????????????????????+



More information about the Linux-users mailing list