Google Site SearchFN Site Search FN Blog Login FN Blog Login
Site Navigation:

How To Install a Flash Drive

by Anthony D. Davis on February 14, 2004

First before you do anything you need to get Hotplug installed onto Fedora.
It helps to understand yum or install it manually.
the command for yum is:

yum install hotplug

I typed the following into the /etc/fstab file:

/dev/sda1               /usbstick               vfat user,noauto,owner,umask=0 0 0

The fstab file will look like this below and I just added the last line to fstab.

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda3               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1             /mnt/cdrom1             udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
/dev/sda1               /usbstick               vfat user,noauto,owner,umask=0 0 

(The easiest way to do this for me was to go to /etc and click on the file named fstab and right click and copy the file the paste it in your Home folder which the icon for your home folder is always on your desktop.)

Then open the Gnome Terminal (terminal) and type this command to move the fstab file to /etc folder.

Since the file should be pasted to your home folder you just type:

mv fstab /etc

Next you need to make a mounting point or create a folder to a location so the files can load into it.
You go to the Gnome terminal (terminal) again and type:

mkdir /usbstick

Now you should be able to attach your Flash Drive in whatever size into your USB and go to main menu (the red hat icon) and system tools, Disk Management and mount where it says /dev/sda1 /usbstick vfat then click the button Mount.

You will see an icon appear on your desktop. Click on the usbstick icon and open the folder. you can add files by dragging and dropping or to your Home folder.

If you notice that you have trouble unmounting the Flash drive with the unmount command close all folders first before unmounting and it should unmount.