Red Hat Bugzilla – Bug 144240
Doesn't work for diskless clients
Last modified: 2007-11-30 17:10:57 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
Part of the problem is layed out here :
The program creates a bogus initrd image (missing libraries).
The patches for the the rc.sysinit,netfs,halt don't seem to work.
Creates a bogus kerenel append. no root or NFSROOT most of the time
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Startup system-config-netboot and follow the onscreen instructions
I am having basically the same problem.
I have upgrader to the development version of system-config-netboot
(0.1.12-1). This is better but still fails to install all the files
in the initrd.img.
I have got a lot further by doing the following to the initrd mounted
cp /lib/ld-2.3.4.so /lib/libc-2.3.4.so /lib/libdl-2.3.4.so
ln -sf ld-2.3.4.so d1/lib/ld-linux.so.2
ln -sf libc-2.3.4.so d1/lib/libc.so.6
ln -sf libdl-2.3.4.so d1/lib/libdl.so.2
ln -sf libm-2.3.4.so d1/lib/libm.so.6
cp /usr/lib/libz.so.126.96.36.199 d1/lib
ln -sf libz.so.188.8.131.52 d1/lib/libz.so
ln -sf libz.so.184.108.40.206 d1/lib/libz.so.1
cp /lib/libselinux.so.1 d1/lib
cp /usr/share/hwdata/pcitable d1/usr/share/hwdata/pcitable
cp /etc/modprobe.conf.dist d1/etc/modprobe.conf.dist
cp /etc/modprobe.conf.dist d1/etc/modprobe.conf
The system now at lease boots, but now fails when it attempts to
load the nfs module with the error:
insmod: can't read 'nfs': No such file or directory
The kernel modules are in the initrd image within:
How does the initrd modprobe command work ? Does it have a list of
dependancies ? Does it use /etc/modprobe.conf.dist ?
IIRC you need to put nfs.o and sunrpc.o in the lib directory of the
init image. I was able to get it almost working. The disklessrc script
would run but the box wouldn't init after the pivot.
I think the modprobe in the initrd is just a symlink to busybox and
works the same as insmod. You could put the regular modprobe in the
their at the cost of 100K or so. It fixed some problems for me doing
it that way.
This bug is now fixed with system-config-netboot-0.1.16-1, which
should be in fc3-updates shortly and meanwhile can be downloaded from:
Please try it out and let me know of any issues - thanks.
Thanks for the bug report. This particular bug was fixed and a update package
was published for download. Please feel free to report any further bugs you find.