How to automount windows drives in FC6?
Hi all,
I have installed FC6 in my PC along with winxp. I want to share my windows drives. The drives are D drive(hda5) and E drive(hda6). It works fine if I try the regular mount command as: Code:
mkdir /mnt/WinXP_D Code:
/mnt/WinXP_D /dev/hda5 vfat rw,auto,user,sync 0 0 What could be wrong? I had tried similar thing in RH8 and it had worked? Kindly guide. |
Change the auto line to noauto, then fstab will not attempt to mount it automatically at boot. That way you can try doing it manually from a terminal and you can see the output messages. When there's an entry in fstab, mounting is as simple as typing 'mount /dev/hd5' or 'mount /mnt/WinXP_D'. Once you've diagnosed the problem you can put it back.
(Edit after reading again) D'oh! I just noticed your problem. You have the device and mount point options reversed. /dev/hda5 should come first. Finally, FAT drives usually should have a few extra options such as umask for setting the permissions level and uid/gid for setting the user and group. Read the vfat section in 'man mount' for more, and/or do a search of the site. |
It should read
Code:
/dev/hda5 /mnt/WinXP_D vfat rw,auto,user,umask=0000,sync 0 0 |
Thanks David and Shrikant. I implemented your suggestion. The problem is solved.
Thanks again. |
All times are GMT -5. The time now is 06:48 PM. |