HD Install :: DSL doesn't mount fstab-partitions at boot.



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?

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.

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.

Usually a delay like that indicates a nameserver lookup trying to resolve name to ip. Perhaps adding an entry into /etc/hosts?
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

Next Page...
original here.