-   Linux - Hardware (
-   -   How do I use my USB flash drive on Linux (

Drague 01-23-2006 08:26 AM

How do I use my USB flash drive on Linux
How do I go about using my ScanDisk Cruzer Mini 1.0 GB usb drive on Red Hat 9?

okmyx 01-23-2006 08:52 AM

1. Plug it in.
2. Check dmesg to see if the device is recognised and to see what dev it uses.
3. mount it. (plenty of posts here about mounting devices no need to repeat it)
4. Use it.
5. unmount it.
6. remove it.

Drague 01-23-2006 08:59 AM

hub.c: new USB device 00:1f.4-2, assigned address 3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
Jan 23 09:01:54 localhost kernel: hub.c: new USB device 00:1f.4-2, assigned address 3
Jan 23 09:01:57 localhost /etc/hotplug/usb.agent: Setup usb-storage for USB product 781/5150/20
Jan 23 09:01:57 localhost devlabel: devlabel service started/restarted

Drague 01-23-2006 09:18 AM

so how do i mount it?

Wim Sturkenboom 01-23-2006 09:45 AM

did you already try the search as indicated by okmyx ?

usually the usb stick-will be something like /dev/sda or /dev/sda1; find that one first
next try to mount it (check the search results)

this is one that I found; it might contain an error, so check man page for mount

Drague 01-23-2006 09:57 AM

used mount -t vfat /dev/sda1 /mnt/usb came back with mount: mount point /mnt/usb does not exist

okmyx 01-23-2006 11:16 AM

Manually create the folder as root.

Wim Sturkenboom 01-23-2006 10:27 PM

Have a look where your floppy (fd0) will be mounted. You can find this in /etc/fstab. The directory name might vary, but will be something like /mnt or /media. Create the mountpoint usb (or stick or whatever name you like) and use that name (so e.g. /media/stick).

Once you have it working, add the 'command' to /etc/fstab. After a reboot, mounting can be done by typing something like mount /media/stick (saves you some typing).

All times are GMT -5. The time now is 09:55 AM.