From c17dab6d48fa86560654c2dc1e44a2a0375dc24e Mon Sep 17 00:00:00 2001 From: hackbard Date: Sun, 12 Dec 2004 18:56:27 +0000 Subject: [PATCH] finished/fixed fai bootdisk image documentation + added lilo.conf file --- doc/CHANGELOG | 1 + doc/FAI | 20 +++++++++----------- misc/fai/lilo.conf | 19 +++++++++++++++++++ 3 files changed, 29 insertions(+), 11 deletions(-) create mode 100644 misc/fai/lilo.conf diff --git a/doc/CHANGELOG b/doc/CHANGELOG index 86444d7..5391668 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -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 bd29b56..b9d68c5 100644 --- 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/ -- 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 index 0000000..e10b219 --- /dev/null +++ b/misc/fai/lilo.conf @@ -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 + -- 2.20.1