Hardware Troubleshooting in Linux > Other Devices
How do I mount a USB Device (eg Flash Stick) on Linux?
arcane7828:
found the answer off another website :)
1. make a folder in /mnt
mkdir /mnt/usbdrive
(you can subsitute usbdrive with anything)
2. open fstab using you favourite editor
fstab is located here:
/etc/fstab
3. Insert following line
/dev/sda1 /mnt/usbdrive vfat noauto,user,rw 0 0
(replace "usbdrive" as required)
4. Plug in your usbdrive
5. Run the following command
mount /mnt/usbdrive
6. enter the drive
cd /mnt/usbdrive
7. Run the following command to see what is on the drive or you can just open from the icon on the desktop
ls -al
Hmmm dun think it answers the original question (was on fedora?), but I found that little tutorial on mounting usb on RH9 quite useful =)
Ricky:
Well.. If your kernel is not well compiled to have support for USB then u cant mount it simply by above methoud ;)
arcane7828:
true,
there is aslight bug though, I forgot to mention, once I mounted it, I can't umount it from the same terminal (it keeps saying the device is busy), but closing the original terminal and opening a new terminal solved that.
Navigation
[0] Message Index
[*] Previous page
Go to full version