Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-14-2004, 11:46 AM
|
#1
|
Member
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323
Rep:
|
New to RH9 please help me to mount? a external usb hard drive
Im new to RH9 and do not know how to mount this usb hard drive...get a message popping up saying check...etc/fstab or etc/mstab?????????
|
|
|
10-14-2004, 01:02 PM
|
#2
|
Senior Member
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820
Rep:
|
If it is the only USB device, it should be /dev/sda or /dev/sda1. Pick a mount point and type
mount /dev/sda /mnt/<mountpoint> -t vfat
|
|
|
10-15-2004, 06:14 AM
|
#3
|
Member
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323
Original Poster
Rep:
|
sorry i am very new to all this
what is a mountpoint....
|
|
|
10-15-2004, 08:16 AM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,642
|
A mount point is a directory that is used to attach the filesystem to the file tree. If you noticed unlike windows there are not seperate "drives" for the CDROM, floppy drive. (No c: or d  . Everything is under /.
You need to create a directory using the mkdir command. In a console window.
mkdir /mnt/usb ( or whatever you want)
Add an entry in the /etc/fstab file, assuming it is formatted as a FAT32.
/dev/sda1 /mnt/sda1 vfat umask=000,users 0 0
This also assumes this is the only USB, Firewire or SCSI storage device on you system.
|
|
|
10-16-2004, 07:33 AM
|
#5
|
Member
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323
Original Poster
Rep:
|
I tried this and i get an error
Could not mount device
the reported error was:
mount: /dev/sda1 is not a valid block device
|
|
|
10-20-2004, 02:45 PM
|
#6
|
Senior Member
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820
Rep:
|
Use the RedHat Hardware browser to check the devices name. It may be /dev/sda0 or something along those lines. Then repeat the command above with the correct name.
|
|
|
10-20-2004, 03:19 PM
|
#7
|
Moderator
Registered: Aug 2002
Posts: 26,642
|
Check the output of the console command dmesg. Look for messages relating to the drive. Post any errors. Also post the output of the console commands lsmod.
|
|
|
05-29-2006, 07:11 PM
|
#8
|
LQ Newbie
Registered: May 2006
Posts: 5
Rep:
|
New to RH9 please help me to mount? a external usb hard drive
Hello all,
In my case I had to recompile the kernel in order to add scsi device support (scsi cdrom support), which adds module sr_mod (check with modprobe -l or lsmod if you already have it), since usb devices are accessed via scsi devices.
After that (make xconfig, make modeles_install) , reboot and mounted /dev/scd0 on /mdeia/dvdrecorder (or any other mount point).
mount -t iso9660 /dev/scd0 <mountpoint>
In some cases, depending on the number of usb devices attached, the device id may differ from scd0, being another number. In such case, use lsusb (figure out bus and device ids), /proc/scsi files, /var/log/messages.
regards,
F.
|
|
|
All times are GMT -5. The time now is 08:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|