
On 05/24/2011 04:02 PM, Hans-Joachim Ehlers wrote:
.. It didn't work when the NFS server was a solaris 10 machine, but it worked when it was an opensuse machine.
Just a quick thought. Does solaris exports the NSF shares preferred via NFSv4 ? Might be usefull to limit the export to NFS v2/3
For me that was exactly the problem with my old server. The point is, that in openSUSE 11.4 the NFS default version ist 4! Some (old) servers can't handle that. I solved it as follows: I created the config file /etc/nfsmount.conf at the very beginning of the installation by help of the following driver update "update.pre":
#! /bin/bash
###----------------------------------------------------------------------------- ### create (or modify) /etc/nfsmount.conf
OPTIONSFILE="/etc/nfsmount.conf"
test -f $OPTIONSFILE && {
sed -i "/^# Defaultvers=4/ a\Defaultvers=3" $OPTIONSFILE
} || {
echo "[ NFSMount_Global_Options ]" > $OPTIONSFILE echo "Defaultvers=3" >> $OPTIONSFILE }
###-----------------------------------------------------------------------------
This sets the client NFS default version to 3 (instead of 4) for the installation. Using the same script as "update.post" (just a soft link to "update.pre" within the driver update) does the same for the installed system at the end of the installation. I put both files (or the file and the link) into the following directory structure linux/ suse/ i386-11.4 -> x86_64-11.4 x86_64-11.4/ install/ dud.config install/ update.post -> update.pre update.pre and build a driver update with find linux | cpio -oVH newc > dud.cpio gzip dud.cpio Finally I added the option dud=nfs://<server-ip>//<path>/dud.cpio.gz to my pxe config:
default linux
label linux kernel linux64 append insecure=1 textmode=0 noshell=0 load_ramdisk=1 initrd=initrd64 vga=0x317 insmod=e1000e nfsopts=udp dud=nfs://<server-ip>//<path>/dud.cpio.gzinstall=nfs://... autoyast=nfs://...
Additionally I have to start rpcbind rpc.statd in our pre-script and post-script. Maybe you can also put this into the driver update but I haven't - for historical reasons. That's it. Now the installation over NFS works fine! Hope this helps with the installation from ISO via NFS as well. Special thanks go to Steffen Winterfeldt who had the idea to use a driver update and helped me a lot with the driver update mechanism! You can find more details here: http://ftp.suse.com/pub/people/hvogel/Update-Media-HOWTO/index.html Regards, -- Guenther Haas, Ulm University, Institute TAIT, guenther.haas@gmx.de -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org