finished/fixed fai bootdisk image documentation + added lilo.conf file
[hdw-linux/hdw-linux.git] / doc / FAI
diff --git a/doc/FAI b/doc/FAI
index bd29b56..b9d68c5 100644 (file)
--- a/doc/FAI
+++ b/doc/FAI
@@ -162,29 +162,27 @@ for computers old enough to not support pxe but having installed a piece
 of hardware called floppy disk, you may create a bootdisk containing the
 install kernel (the pxe stuff is replaced by the bootdisk).
 
-- compile a customized kernel < 1.4 mb. do not unset needed features!
+- compile a customized kernel <= 1.1 mb. do not unset needed features!
 
        (use ./misc/arch/${hdw_arch}/linux.config as .config + modify)
 
 - copy bzImage to fai/files/boot/vmlinuz_custom/<ip>
 
-- create bootfloppy/image
-
-       easy way: (create the bootdisk)
-
-       mknod /dev/boot255 c 0 255
-       dd if=bzImage of=/dev/floppy/0
-       rdev /dev/floppy/0 /dev/boot255
-
-       lilo way: (create an image)
+- create bootfloppy image
 
        dd if=/dev/zero of=bootdisk.img bs=1024 count=1440
        yes | mke2fs -q -i 40000 -m 0 bootdisk.img
        mkdir -p /mnt/tmp ; mount -o loop bootdisk.img /mnt/tmp
        mkdir -p /mnt/tmp/{boot,etc} ; cp bzImage /mnt/tmp/boot/vmlinuz
+       cp misc/fai/lilo.conf /mnt/tmp/etc/lilo.conf
+       (change boot, disk map and image values)
+       touch /mnt/tmp/boot/map # enough? if not take yours from /boot
+       umount /mnt/tmp
+       (you may store bootdisk.img in the clients config space)
 
-       [to be continued ...]
+       finaly: (create the boot floppy)
 
+       dd if=bootdisk.img of=/dev/floppy/0
 
 troubleshooting
 ---------------