/var/nfsboot *(ro,no_root_sqash,sync)
# cp /usr/src/linux/.config /usr/src/linux/.config.save |
Get the configuration file for the CRUX bootkernel from
here.
This file is always named like linux-2.6.6.config.
Or better use the kernel configuration I am using for my nfs bootdisk from
here, which has all the options
below already enabled.
Copy this file into your kernel source tree
# cp linux-2.6.6.config /usr/src/linux-2.6.6/.config |
Goto /usr/src/linux-2.6.6, run 'make menuconfig' and add to the configuration:
Don't use modules, all options must be compiled into the kernel. Build the kernel as usual. Only enable stuff you really need, because the resulting kernel must fit on a single floppy !
# mke2fs /dev/floppy/0 |
Mount your floppy and copy your new bootkernel to this floppy:
# mount -t ext2 /dev/floppy/0 /floppy # cp /usr/src/linux-2.6.6/arch/i386/boot/bzImage /floppy |
Create a config file lilo.conf for lilo on this floppy with the following contents:
boot=/dev/floppy/0
map=/floppy/map
install=text
geometric
compact
prompt
timeout=100
image=/floppy/bzImage
append="nfsroot=sip:/var/nfsboot nfsaddrs=cip:sip:gip:netm:"
label=CRUX-nfs
Don't forget the colons ! For your client ip address you should use one, that will not be needed in the normal operation of your network. Herewith you can use your bootdisk to setup many systems without any changes.
Run lilo to make the floppy bootable:
# lilo -C /floppy/lilo.conf # umount /floppy |
Boot your client with this floppy, proceed with the installation in the normal way and enjoy with CRUX :-)
Last modified: Sat Jan 08 19:37:10 CET 2005 |
|
Copyright © 2004 by Jürgen Daubert |