Vinh Lai wrote: > Hi all, > > I am trying to set up netboot and I was able to boot the Diskless Client > (DC) but when the kernel trying to mount it's root-FS (root file system), > it mounted the /boot/client1/root but it wasn't able to mount the (/proc, > /dev, /sbin, /bin /etc ...) and it prompted a message (Unable to > open initial console). I know that I did not set up NFS right on the > server site with (bootptab and exports files) but I don't know how to set > them up properly so any comment or help to correct this problem would be > greatly appriciated, > > Thanks. > > My bootptab and exports files are as follow: > > (in /etc/bootptab) > client1:hd=/boot:vm=auto:ip=130.215.17.105:\ > :ht=ethernet:ha=12345678977a:\ > :bf=bootImage-client1:\ > :rp=/boot/client1/root > > (in /etc/exports) > # > # Export directories for client1 (diskless workstation) > # > > /boot/client1/root *.wpi.edu(rw,link_absolute) > /boot/client1/bin *.wpi.edu(rw,link_absolute) > /boot/client1/sbin *.wpi.edu(rw,link_absolute) > /boot/client1/lib *.wpi.edu(rw,link_absolute) > /boot/client1/usr *.wpi.edu(rw,link_absolute) > /boot/client1/etc *.wpi.edu(rw,link_absolute) > /boot/client1/var *.wpi.edu(rw,link_absolute) > /boot/client1/home *.wpi.edu(rw,link_absolute) > /boot/client1/dev *.wpi.edu(rw,link_absolute) > > Hi Vinh Lai, I think it would be much better if you would place all these files in one root directory like /boot/client/root or you share directly /boot/client and you should use the option no_root_squash, to mount the root file system as root and not as nobody. I tried it in a classroom setup, and all clients shared directories like /usr which takes the most space. Of course there are much more directories you could share without any problems. So the simplest way ist the following: /etc/exorts on NFS-Server /boot/client1/root client1(rw,no_root_squash) /boot/client1/root client2(rw,no_root_squash) /boot/all/usr *.wpi.edu(rw or what you like) Good luck Wolfgang =========================================================================== This Mail was sent to netboot mailing list by: Wolfgang Bergbauer <wolfgang.bergbauer@ibm.net> To get help about this list, send a mail with 'help' as the only string in it's body to majordomo@baghira.han.de. If you have problems with this list, send a mail to netboot-owner@baghira.han.de.
For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.