Click to See Complete Forum and Search --> : Linux will not recongnize HD
DrewSteele
11-06-2002, 06:13 PM
I am a very new user to Linux, but an old pro to Windows. I am using the new RedHat 8 installation and am enjoying it very much. The problem that I am having is getting RH to recognize my storage HD. I switch between WinXP and RH8 through removeable HDs. WinXP sees the drive fine, but I can't figure out how to access it in RH8. The drive is FAT32 and seems to be working fine otherwise. I have read enough to know that all I probably need to do is mount it, but everything I have read on here is talking about a brand new drive (format, partition, mount) or how to mount a HD running NTFS. This drive has data (MP3's, files, etc.) that I want to use with both OS. Any help that anyone can give me on the subject would be appreciated.
JohnT
11-06-2002, 06:17 PM
Post your "/etc/fstab" file.
Is the drive (s) scsi?
Give more info how many partions is in that disk, filesystem and is that primary slave or what?
DrewSteele
11-06-2002, 06:21 PM
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
The drive that is running Linux is the primary and the data HD is the secondary. Both are IDE.
So it would be hdb1
We need more information. What is the hdb1 filesystem? just one partion in hdb?
DrewSteele
11-06-2002, 06:36 PM
Tell me what you need and I will gladly assist. I am learning as we go. The hdb is FAT32 and is a single partition - hdb0.
Add line this
/dev/hdb1 /HD vfat noauto 0 0
/HD is mount dir
vfat = fat32
noauto don't mount in boot (good if hd is not all time connected) but you have to run mount /dev/hdb1 command after reboot.
DrewSteele
11-06-2002, 06:45 PM
I tried to modify the fstab with gedit, but I couldn't get it to do anything. What program should I use to perform this. From what you have posted so far, I should add the following command:
/dev/hdb0 /HD vfat 0 0
The HD will always be connected and I was forgetting how Linux sees the first partition as 0 in my earlier response.
No it should be
/dev/hdb1 /HD vfat noauto 0 0
Leaving noauto field as blank it mounts that automatically when you boot.
and /HD mount point you can choose that but you must create dir first using
mkdir dirname
You can edit that from KDE or Gnome or using pico or editor or emacs.
Choozo
11-07-2002, 04:25 AM
Don't forget to do all this as 'root'.
DrewSteele
11-07-2002, 04:24 PM
Thanks for all the input from each of you. As Choozo pointed out I needed to do this from the root directory. It only took me an hour to figure this one out. My bad. Everything is up and running fine. Again, thanks for all the help.