mounting a partition on boot


Forum: Other Help Topics
Topic: mounting a partition on boot
started by: MR.T

Posted by MR.T on Sep. 28 2005,22:39
I want to mount a FAT32 partition on boot but I cant seem to get it to work.First I tried editing fstab and adding this entry:

dev/hda3 /mnt/hda3 vfat noauto,users,exec,unmask=000,uid=1001,gid=50, 0 0

but that didn't work so I tried editing the /opt/bootlocal.sh file and adding the line:

mount /dev/hda3 /mnt/hda3

that worked but I did not have permission to read the partition...so i tried using the chmod command to edit the permissions but no matter what I do they will not change.I can however view the partition if I am root.

how can I get this to work

Posted by mikshaw on Sep. 29 2005,04:52
Remove either the /dev/hda3 or the /mnt/hda3 part of the command.  If you use the mount command with both the device and mountpoint specified it seems that /etc/fstab is ignored and the device is mounted with the default options.  If you specify only one or the other, such as "mount /dev/hda3", then fstab will be referenced and the listed options will be used.
Posted by MR.T on Sep. 29 2005,23:42
that worked perfectly.

thanks you very much :)

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.