USB key : /dev/sda1 not work; /dev/sda ok

HaJo Schatz hajo at hajo.net
Tue Oct 5 18:31:37 UTC 2004


On Wed, 2004-10-06 at 02:23, Moi wrote:
> Just try to mount USB key 256M on my FC2 box.

> gives me the error:
> 
> mount: /dev/sda1 is not a valid block device
> But when I try:
> # mount -t vfat /dev/sda /mnt/usbkey   (yes, /dev/sda instead of /dev/sda1)
> it works !
> Any explanations ?

This is well known. The key is formatted as a floppy, not as a hard
drive. You can change this by creating a primary partition on it (fdisk
/dev/sda) and format it as vfat. WIN will still be able to access it,
and Linux will have an wasier time with it.

-- 
HaJo Schatz <hajo at hajo.net>
http://www.HaJo.Net

PGP-Key:  http://www.hajo.net/hajonet/keys/pgpkey_hajo.txt




More information about the fedora-list mailing list