]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
finished/fixed fai bootdisk image documentation + added lilo.conf file
authorhackbard <hackbard>
Sun, 12 Dec 2004 18:56:27 +0000 (18:56 +0000)
committerhackbard <hackbard>
Sun, 12 Dec 2004 18:56:27 +0000 (18:56 +0000)
doc/CHANGELOG
doc/FAI
misc/fai/lilo.conf [new file with mode: 0644]

index 86444d783766d33e55116623cb1b1c8eeb8b3749..53916682080850455cbf6e4073d37c6f4ed0507d 100644 (file)
@@ -1,5 +1,6 @@
 *) 2004-12-12
 
+- finished/fixed bootdisk image, added misc/fai/lilo.conf
 - add swap to fstab file in fai method
 - xorg update (doc install fails)
 - thunderbird update (still failing)
diff --git a/doc/FAI b/doc/FAI
index bd29b56267585873bee258cbf85de8a3d113744a..b9d68c5a222bbed84e1b2a652eae1ac8b32e0d39 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
 ---------------
diff --git a/misc/fai/lilo.conf b/misc/fai/lilo.conf
new file mode 100644 (file)
index 0000000..e10b219
--- /dev/null
@@ -0,0 +1,19 @@
+disk=/dev/loop0
+bios=0x00
+cylinders=80
+heads=2
+sectors=18
+
+boot=/usr/src/hdw-linux/bootdisk.img
+map=/mnt/tmp/boot/map
+timeout=200
+prompt
+compact
+read-only
+
+default=fai
+
+image=/mnt/tmp/boot/vmlinuz
+       append="ip=dhcp root=/dev/nfs"
+       label=fai
+