From: hackbard Date: Sun, 12 Dec 2004 17:53:00 +0000 (+0000) Subject: added some bootdisk documentation X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb20850196d10946025b08e4f2e2f79ca2115fc8;p=hdw-linux%2Fhdw-linux.git added some bootdisk documentation --- diff --git a/doc/CHANGELOG b/doc/CHANGELOG index a7fdaf9..06947a7 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -1,3 +1,7 @@ +*) 2004-12-12 + +- added some bootdisk/fai documentation + *) 2004-12-08 - finished minimal fai concepts diff --git a/doc/FAI b/doc/FAI index dbe09c2..bd29b56 100644 --- a/doc/FAI +++ b/doc/FAI @@ -16,9 +16,9 @@ files: procedure --------- - 1) install mnimal nfsroot binaries + 1) install minimal nfsroot binaries - vi Config [enter default as a target, specify arch*] + vi Config [specify arch* variables] note: default target is enough. you dont need to specify fai-server. we are just going to install the nfsroot which will automate @@ -47,7 +47,8 @@ procedure 3) adapt configs in ./fai (see chapter "fai config files") 4) pxeboot your install candidates. this is actually not fully - automated. + automated. have a look athe bootdisk section if your client does + not support pxeboot. - type "fai" on pxeboot prompt - after first bootup, use cfdisk to partition your harddisk @@ -154,6 +155,37 @@ there are several files you need to hack. here we go: note: restart all the mentioned services. +bootdisk +-------- + +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! + + (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) + + 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 + + [to be continued ...] + + troubleshooting ---------------