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
Pages: (2) </ [1] 2 >/

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

reply to topic new topic new poll
Topic: DSL doesn't mount fstab-partitions at boot., How do I mount partitions at boot?< Next Oldest | Next Newest >
endrebj Offline





Group: Members
Posts: 3
Joined: Nov. 2007
Posted: Dec. 04 2007,14:40 QUOTE

My /etc/fstab looks like this
Code Sample
/dev/hda3 / ext3 defaults,errors=remount-ro  0  1
/dev/hda4 /home/dsl/lagring ext3 defaults 0 0
10.0.0.13:/home/filserver/storlagring/ /home/dsl/mnt/filserver/ nfs rsize=8192,wsize=8192,timeo=14,intr
proc /proc proc defaults  0  0
/dev/fd0 /mnt/auto/floppy vfat defaults,user,noauto,showexec,umask=022  0  0
/dev/cdrom /mnt/auto/cdrom iso9660 defaults,ro,user,noexec,noauto  0  0
/dev/hda1 none swap defaults 0 0
# Added by KNOPPIX
/dev/hda1 none swap defaults 0 0
# Added by KNOPPIX
/dev/hda2 /mnt/hda2 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda3 /mnt/hda3 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda4 /mnt/hda4 ext3 noauto,users,exec 0 0

But none of the partitions I have specified (/dev/hda4, /dev/hda1, NFS-drive) are mounted during the boot. Everyone gets mounted perfectly when I run # mount -a.
And DSL/Knoppix also add the auto-partitions during each boot, even though I remove them each time.

What do I have to do to mount my partitions (/dev/hda4 and the NFS-drive) automatically during boot? Isn't /etc/fstab the right file?
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 04 2007,16:23 QUOTE

By default DSL is deisgned to be nomadic, therefore, not mount 'others' hard drives. Your answer depends on how you 'installed' DSL. DSL does not really promote traditional hard drive installations.
But if that is yours, add nofstab and the fstab will not be rebuilt. If mount -a works for you then use it. Add to the rc.scripts, /etc/init.d/knoppix-autoconfig ( just after the fstab check) or possibly /opt/bootlocal.sh depending on your requirements.
Back to top
Profile PM WEB 
endrebj Offline





Group: Members
Posts: 3
Joined: Nov. 2007
Posted: Dec. 04 2007,21:10 QUOTE

OK. I added nofstab to menu.lst, and mount -a to /opt/bootlocal.sh. It works perfect! Thanks! :)

But it uses about 2 minutes to mount the nfs-share. Do you see anything inefficient in the mount-string? It has always used that long time, also when it was not mounted during boot.
My Ubuntu-machine mounts the same nfs-share in no time.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 04 2007,21:30 QUOTE

Usually a delay like that indicates a nameserver lookup trying to resolve name to ip. Perhaps adding an entry into /etc/hosts?
Back to top
Profile PM WEB 
endrebj Offline





Group: Members
Posts: 3
Joined: Nov. 2007
Posted: Dec. 04 2007,22:16 QUOTE

What should I add to /etc/hosts? Name and adress for the client or server?

I was wrong in the last post. It doesn't use 2 minutes to mount. It uses 5 (!) minutes to mount.
And I get a couple of error messages (but it mounts successfully at the end):
portmap: server localhost not responding, timed out
portmap: server localhost not responding, timed out
lockd_up: makesock failed, error=5
portmap: server localhost not responding, timed out
Back to top
Profile PM 
8 replies since Dec. 04 2007,14:40 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: DSL doesn't mount fstab-partitions at 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