X-Git-Url: https://hackdaworld.org/gitweb/?p=hdw-linux%2Fhdw-linux.git;a=blobdiff_plain;f=doc%2FFAI;h=bbceab0df7ef1da883270cda9d0e58e440e08b40;hp=85ccef8696ab035dfe89530e8639cb6d9bd7db8a;hb=bd84a48b18931aa3f2bd2f7db12e0353eb4abd39;hpb=b827aab00491c32a3fc9f8debaad6995d5391d83 diff --git a/doc/FAI b/doc/FAI index 85ccef8..bbceab0 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 @@ -55,8 +56,7 @@ procedure (after using cfdisk, sync to disk file!) - reboot and finaly wathc your target system to get hdw'ed :) - 5) login, build a new kernel. copy new bzImage to /boot/vmlinuz_hdw - and run lilo again. reboot and enjoy! good luck. + 5) optional: login, build a new kernel or do other modifications. fai config files @@ -155,6 +155,36 @@ 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.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 + + 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 + lilo -C /mnt/tmp/etc/lilo.conf + umount /mnt/tmp + (you may store bootdisk.img in the clients config space) + + finaly: (create the boot floppy) + + dd if=bootdisk.img of=/dev/floppy/0 + troubleshooting ---------------