LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   New to RH9 please help me to mount? a external usb hard drive (https://www.linuxquestions.org/questions/linux-newbie-8/new-to-rh9-please-help-me-to-mount-a-external-usb-hard-drive-242612/)

ginda 10-14-2004 11:46 AM

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?????????

Pcghost 10-14-2004 01:02 PM

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

ginda 10-15-2004 06:14 AM

sorry i am very new to all this
 
what is a mountpoint....

michaelk 10-15-2004 08:16 AM

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.

ginda 10-16-2004 07:33 AM

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

Pcghost 10-20-2004 02:45 PM

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.

michaelk 10-20-2004 03:19 PM

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.

fulanolinux 05-29-2006 07:11 PM

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 07:22 PM.