"Hill, Andrew" wrote:
>
> I need a little help!
> I wanted to gain access to my windows drives, hda1 and hda5/6, as a
> normal user. I asked for advice and received some which suggested adding
> a new user group and allowing this group access to the hda1/5/6. I did
> this using linuxconf, this resulted in adding the new group and adding
> the permissions to access the drives. That worked, however, when I
> rebooted I am told that the fstab file is invalid or non-functional. But
> it worked after the first change. I am new to Linux, therefore as an old
> windows user I backed up the fstab file to fstab2, in the same
> directory, /etc. Can I re-invoke this fstab2 file, edit the fstab new or
> what ? Suggestions.
>
> Dr Andrew J Hill
> Department of Anaesthesia
> Royal Sussex County Hospital
> Brighton
> BN2 5BE
> 01273 609060
add this (you have to be root):
/dev/hda1 /mnt/windows auto user,noauto,rw
Make sure you load the vfat file system support into the kernel as well
(you have to be root for this as well).
modprobe -a vfat.o
you can also use insmod, but I always just used modprobe.
To make it add support for vfat at bootup, cd to /etc/rc.d. Then add
the modprobe -a vfat.o line to the end of the rc.local file.
If you do a man on fstab, modprobe, and insmod, you will get a list of
options for the commands and an explanation of the fields for the files.
Remember to make backups of all system configuration files before you
mess with them.
Dan