LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 10-14-2004, 11:46 AM   #1
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Rep: Reputation: 31
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?????????
 
Old 10-14-2004, 01:02 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
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
 
Old 10-15-2004, 06:14 AM   #3
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Original Poster
Rep: Reputation: 31
sorry i am very new to all this

what is a mountpoint....
 
Old 10-15-2004, 08:16 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,764

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
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.
 
Old 10-16-2004, 07:33 AM   #5
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Original Poster
Rep: Reputation: 31
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
 
Old 10-20-2004, 02:45 PM   #6
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
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.
 
Old 10-20-2004, 03:19 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,764

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
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.
 
Old 05-29-2006, 07:11 PM   #8
fulanolinux
LQ Newbie
 
Registered: May 2006
Posts: 5

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount points on usb devices (dig. camera, zip drive, external hard disk) Impaler Linux - Hardware 3 05-29-2006 11:08 PM
How to mount external USB hard drive? zyzyis Linux - Newbie 6 02-01-2006 09:37 PM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Can't mount external hard drive...HELP! Stevetgn Linux - Hardware 4 10-18-2005 07:38 PM
External USB 2 Hard drive installation of RH9 apfeljung Linux - Newbie 0 08-12-2003 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration