Chapter 4. Actually booting the kernel on diskless hosts

Table of Contents
Not-really diskless booting with grub
Doing real diskless booting

Here, the actual method for booting the kernel is explained.

Not-really diskless booting with grub

It is possible to use grub from floppy disk to load up the kernel. Refer to grub manual for details, since the way to configure grub seems to change every so often. It is necessary to recompile grub from source, enabling the network boot option, and write the image to floppy disk.


$ ./configure --enable-eepro100 && make
$ dd if=stage1/stage1 of=image
$ dd if=stage2/stage2 of=image bs=512 seek=1
$ dd if=image of=/dev/fd0 ; sync	
      

Test the disk with the following commands in the grub prompt (if the server is at 192.168.1.1):


rarp     
kernel (nd)/boot/netboot init=/bin/sh root=/dev/nfs nfsroot=192.168.1.1:/