A client requires an ethernet card with BOOT/ROM installed on it to be able to boot/install over a network. Hopefully the BOOT-ROM includes code that makes this possible. But if you don't have such a card then you can nevertheless boot over the network if you use a special boot disk that make the network boot functionality via BOOTP/DHCP available. Such a disk can you make with the package:
steps to make such a disk:TARS/etherboot-4.6.2.tar.gz(http://etherboot.sourceforge.net/)
cd etherboot-4.6.2/src/ make
cat floppyload.bin.pre bin32/tulip.rom > /dev/fd0
We have more to do on server site to make the needed services available. First isomething about the packages that we need. On this place I suppose that the BOOTP/DHCP and NFS servers should be on the same machine.
packages: dhcp
- BOOTP/DHCP daemon to provide IP address allocating
- included in RedHat distribution
tftp
- TFTP daemon to transport tagged network boot images form server to client
- included in RedHat distribution
mknbi
- to make a tagged Network Boot Images
- included in etherboot-4.6.2.tar.gz
- or use this RPM packages RPMS/mknbi-1.0-2.noarch.rpm resp. RPMS/mknbi-1.0-2.src.rpm
portmap
- foundation for NFS service
- included in RedHat distribution
knfsd
- all daemons that are important for NFS service
- included in RedHat distribution
Now follow these steps to make the server working:
export KSINSTROOT=/scratch/mibe/kickstart cd /afs/tucz/global/i386_linux22/install/redhat-6.2/i386/ find > $KSINSTROOT/ks-cd-img-6.2.files cpio -p $KSINSTROOT/ks-cd-img-6.2/ < $KSINSTROOT/ks-cd-img-6.2.files
(root)This command write the tagged Network Boot Image allready into the directory what TFTP use later to provide it to the clients.mknbi-linux $KSINSTROOT/ks-cd-img-6.2/misc/src/trees/boot/vmlinuz \ $KSINSTROOT/ks-cd-img-6.2/misc/src/trees/initrd-network.img \ --append="ks=nfs:192.168.250.254:/scratch/mibe/kickstart/ks-roots/ " \ > /tftpboot/linux-6.2.nbi
from the serverfilename linux.nbi
next-server 192.168.250.254
(root)cd /tftpboot ln -s linux-6.2.nbi linux.nbi
tftp dgram udp wait.120 root /usr/sbin/tcpd in.tftpd [TFTPD root dir]resp.
mtftp dgram udp wait.120 root /usr/sbin/tcpd in.mtftpd [TFTPD root dir]
mkdir $KSINSTROOT/ks-roots/
killall -HUP inetd /etc/rc.d/init.d/dhcpd restart /etc/rc.d/init.d/nfs stop /etc/rc.d/init.d/portmap restart /etc/rc.d/init.d/nfs start
cd $KSINSTROOT/ks-roots/
like for example 192.168.250.1-kickstart, 192.168.250.2-kickstart and so on. So we got the possibility to configure every client individually.<IP-addresse>-kickstart
resp.configs/sample-kickstart
More information about syntax and meaning of kickstart script file you can get from http://www.redhat.com/support/manuals/RHL-6.2-Manual/ref-guide/ch-kickstart2.html RedHat site.configs/192.168.250.3-kickstart
|
|
group applications
from Computer Centre
of Chemnitz University of Technology
Mike Becher 25. Jan 2001, 24. Jan 2001 |