Computing.Net > Forums > Linux > How to mount USB drive in linux?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to mount USB drive in linux?

Reply to Message Icon

Name: Jason
Date: October 20, 2003 at 06:33:30 Pacific
OS: Red Hat 9.0
CPU/Ram: AMD 2400XP 768 RAM
Comment:

Does anyone knows how to mount the USB flash drive in Red Hat 9.0? I asked linux technical person, they said it was complicated.



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: October 20, 2003 at 07:19:53 Pacific
Reply:

I haven't used redhat for a long time, but
have used mandrake up to v9.1 together with
a USB camera (which I am guessing may be
treated the same as a flash drive). All I
needed to do was plug it in and it appeared
as the first unused SCSI device on my
system, since here at work my box is all
IDE, it appeared as /dev/sda1. All I had to
do was mount it:
# mount /dev/sda1 /mnt/usb

KDE even created an icon on my desktop
automatically so I could easily mount it in
the future.


0

Response Number 2
Name: Balram Adlakha
Date: October 20, 2003 at 12:16:19 Pacific
Reply:

Mostly all usb flash devices are "usb-mass-storage" devices and work with the usb-storage driver. The musb-storage driver actually emulates a SCSI devices, so you can do the following as 3Dave said:

mkdir /mnt/usb - (creates a new directory)

mount /dev/sda1 /mnt/usb - (mounts the drive in the new directory)

The flash device will have a fat32 filesystem (works read and write in linux) so you can just copy the files to the new directory to copy files to your flash device.


0

Response Number 3
Name: 3Dave
Date: October 21, 2003 at 02:11:55 Pacific
Reply:

That reminds me, you may have to pass the
filetype:
# mount -t vfat /dev/sda1 /mnt/usb

If it all works according to plan, you can
make an entry in fstab so in future all you
need to type is:
# mount /mnt/usb


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: How to mount USB drive in linux?

How to mount USB drive www.computing.net/answers/linux/how-to-mount-usb-drive/30210.html

How to Mount a SCSI DAT DRIVE i.e. st0 www.computing.net/answers/linux/how-to-mount-a-scsi-dat-drive-ie-st0/4981.html

mount dynamic drives in linux www.computing.net/answers/linux/mount-dynamic-drives-in-linux/19573.html