Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: mounting a partition on boot< Next Oldest | Next Newest >
MR.T Offline





Group: Members
Posts: 6
Joined: Sep. 2005
Posted: Sep. 28 2005,22:39 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 29 2005,04:52 QUOTE

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.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
MR.T Offline





Group: Members
Posts: 6
Joined: Sep. 2005
Posted: Sep. 29 2005,23:42 QUOTE

that worked perfectly.

thanks you very much :)
Back to top
Profile PM 
2 replies since Sep. 28 2005,22:39 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: mounting a partition on boot

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code