-   Linux - Newbie (
-   -   Mounting a USB Flash drive on a Knoppix Ramdisk (

Raptorialis 04-18-2008 05:19 PM

Mounting a USB Flash drive on a Knoppix Ramdisk
Hello everyone.

I am trying to mount a USB flash drive and when i try and mount the drive using mount -t vfat -o uid=knoppix,gid=users /dev/sda/ /ramdisk/home/knoppix/Desktop/flash

i get an error saying:

wrong fs type, bad option, bad superblock on /dev/sda, or too many mounted file systems.

Have gone through the steps on the site up to that part. www dot novell dot com / coolsolutions/ feature/ 11637.html[/url]

any ideas much appreciated folks.

raptorials (steve)

IsaacKuo 04-18-2008 05:40 PM

Depending on exactly how the drive is formatted, you might have to use /dev/sda1 or /dev/sda5. If you run GParted, then you should be able to see what partitions exist. Most hard drives use a partition table, so you use a "number" to specify the partition. Most USB drives don't have a partition table, but many do. With a partition table, you need to use a "number" to specify the partition. Without a partition table, the entire device IS the partition.

GParted is included in Knoppix; it's a partition table viewer/editor. If you're using a really really old version of Knoppix, then it'll have QTParted instead of GParted.

Note that /dev/sda may or may not refer to your USB drive. In the past, before the popularity of SATA drives and before the elimination of old style PATA drive naming, you could be pretty sure that /dev/sda would be a USB drive (while the hard drives and CD-ROM drives would be /dev/hda, /dev/hdb, and so on). But today, sda and sdb will typically be the internal hard drive and optical drive; the USB drive may be sdc.

Raptorialis 04-18-2008 05:52 PM

Hi IsaacKuo,

Thanks for your help.

The USB was sda1.

up and running now.

thanks again.


All times are GMT -5. The time now is 02:44 PM.