As I have not used such a beast myself yet, I can give you only the following tips (courtesy of Christian Leutloff <[email protected]>
):
netboot
packet by Gero Kuhlmann, that provides for bootroms for Linux, and further information. netboot
is available from the local Linux mirror, or as a Debian package (netboot-0.4
).If you have exported the root filesystem with the correct name for the default naming and your NFS server is also the RARP server (which implies that the boxes are on the same subnet.), than you can just boot the kernel by cat
ing it to a disc. (You have to set the root device in the kernel to 0:255.) This assumes, that the root directory on the server is /tftpboot/
IP-Address (this value can be changed when compiling the kernel.)
Give the kernel all needed parameters when booting, and add nfsroot=<server-ip-addr>:</path/to/mount>
where server-ip-addr is the IP-address of your NFS-server, and /path/to/mount is the path to the root directory.
Tips:
lock
'' feature: Simply type in once all the correct parameters and add ``lock
''. Next time when booting let LILO timeout.append=
feature in lilo.conf
.In addition to nfsroot
give a nfsaddrs=<wst-IP>:<srv-IP>:<gw-IP>:<netm-IP>:<hostname>
commandline argument for the kernel. The kernel will setup eth0
with the given parameters:
machine's IP-Address
NFS-server IP-Address
gateway
netmask
machine name