Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hello, how can i access files stored in a usb storage device???
i'm on red hat 9, i already sticked it in the usb port but nothing happens
it is formatted in fat32 (i think) because the files were stored using windows xp
can you help me with this please??, i have to work on this files and haven't a lot of time
Typing in 'dmesg' in a terminal will show you something like
Code:
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: LEXAR Model: JUMPDRIVE SECURE Rev: 2000
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 502880 512-byte hdwr sectors (257 MB)
sda: assuming drive cache: write through
/dev/scsi/host2/bus0/target0/lun0: p1
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0, type 0
USB Mass Storage device found at 2
The line "SCSI device sda: 502880 512-byte hdwr sectors (257 MB)
sda: assuming drive cache: write through" lets you know it is mounted as device /dev/sda, so you can then mount it as /dev/sda1 (1 being the first partition).
As root (su -) type
Code:
mkdir /mnt/usb
mount /dev/sda1 /mnt/usb
Your device is now mounted. If you want to enable write access, using your favorite text editor (I'm using vi in this example) open up /etc/fstab (as root) and add the following line:
Distribution: Red Hat and Novell OES (formerly SUSE), LPI 101 and Net+
Posts: 25
Rep:
Thank you!!! USB Lexar Jumpdrive is now mounted in RedHat Enterprise, too.
This place is great!!! I mean LinuxQuestions.org
I am still 10 mos. new to Linux, but old to networking and information technology.
I have gotten 2 very big painful questions answered here!
Please keep up the great job!!!
Using the info. that "the_clown" posted, I was able to mount and use my USB Lexar Jumpdrive in RedHat Enterprise.
Now I have backed up all my Linux info and config files!
Congrats on solving the problem and thanks for posting back with the solution bship. Likewise, thanks the_clown for providing that advice. Welcome to LQ, both of you! -- J.W.
Hello, I have the same issue with the USB harddrive (using Mandrake 10.0), and I have a thread a couple pages down. My problem is that when I use dmesg, there is no reference to any sda. If you view my post "Autodetect", I placed the dmesg output relevant to USB. Thanks.
Is there a way to programmatically determine what device (/dev/sdxx) a usb drive is mapped to? Specifically, I do not want to rely on dmsg: a script will be doing this, not a human. My question is for Linux 2.6.
Well the physical devices count up from a in the order they are detected, i.e. the order they are plugged in, or if plugged in at boot, the order the kernel sees them. the 1,2,3... just refers to the physical partitions you have on the device. If you have udev installed on your system they are statically mapped until you unplug them. If heard someone tried to do this by parsing the output of dmesg. I don't think he ever got it to work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.