/dev/urandom
RSS Feed

uRandom

(beta!!!)
Email Address Password
Remember Me

Or Create a (Free) Account.

Sat 17th Nov 21:20 2007: Jumpstart: Linux Server, Solaris 10 Client

Linux can act as a JumpStart server for Solaris. However, for Solaris 10, NFSv4 is used by default, and you have to be very clever to get Linux's NFS4 implementation working with the Solaris implementation. That is to say, I can't get it to work. So I gave up.

The Solaris 10 client being jumpstarted will use NFSv4 by default. The Linux server (even with "nfsd -N 4", AFAICT) will claim to work with NFS4, and it all goes wrong:


WARNING: NFS server initial call to 192.168.1.10 failed: No such file or directory
install entry: 192.168.1.10 192.168.1.10 /jumpstart/s10
root entry: 192.168.1.10 192.168.1.10 /jumpstart/s10/Solaris_10/Tools/Boot
ERROR: Unable to NFS mount 192.168.1.10:/jumpstart/s10
Exiting to shell.


From the /Solaris_10/Tools/Boot/etc/default directory, we can fix this:
jstart:/jumpstart/s10/Solaris_10/Tools/Boot/etc/default# ls -l nfs
lrwxrwxrwx 1 root root 31 2007-11-16 23:53 nfs -> ../../tmp/root/etc/default/nfs
jstart:/jumpstart/s10/Solaris_10/Tools/Boot/etc/default# rm nfs
jstart:/jumpstart/s10/Solaris_10/Tools/Boot/etc/default# cp /tmp/nfs.hacked nfs

So the system being installed will have /etc/default/nfs being a symlink to /tmp/root/etc/default/nfs, which is populated by the installation routine. What we do here, is remove the symlink, and replace it with our own file. nfs.hacked replaces the line:
#NFS_CLIENT_VERSMAX=4
with the line:
NFS_CLIENT_VERSMAX=3
So it will use NFSv3, which will work fine. If and when I get NFSv4 working, I'll post it here!


Comments for 'Jumpstart: Linux Server, Solaris 10 Client'

You could post a comment if you were logged in.

create an account



© Steve Parker 2000 - 2010 unless otherwise noted.