<div class="gmail_quote">Hello,<br>I am upgrading FAI to lenny and using packages fai-server,<div>
linux-image-2.6.26-1-amd64, busybox and initramfs-tools <br>to create nfsroot. On the server I use nfs-user-server <br>with --re-export for cross-mounting AFS to NFS.<br>
<br></div>
The problem is in busybox and initramfs-tools. The busybox <br>from lenny does not support NFS (I must recompile the <br>package with CONFIG_FEATURE_MOUNT_NFS=y) <br>and manually install to nfsroot. The initramfs-tools do not <br>
support mounting NFS with 'mount -t nfs', only with 'nfsmount'.<br>I changed the /usr/share/initramfs-tools/scripts/live file in nfsroot <br>(replacing 'nfsmount' with 'mount -t > nfs' and reordering params).<br>
<br>Them I created a new initrd:<div>
chroot /var/lib/fai/nfsroot/<br>
mount none /proc -t proc<br>
rm /boot/initrd*<br>
update-initramfs -c -k all<br>
umount /proc<br>
exit<br>
cp /var/lib/fai/nfsroot/boot/initrd* <tftp_server><br>
<br></div>
The support for FAI in lenny is not perfect; are there any other <br>solutions that do not require you to recompile or change standard packages?<br>
<br>
Regards Michal Svamberg<br>
<br>
</div>