TFTP Boot directory
When the TFTP server is started it will create by default a
directory called /tftpboot. Important files
should be copied into this directory:
- network bootstrap program (pxelinux.0): I found this file in
/usr/share/syslinux/ and copied it to /tftpboot.
- kernel (linux): I found this in the SuSe installation
directory boot/loader (full path in this case is
/export/ellesmere/suse/SU930_001/boot/loader) and copied it to
/tftpboot.
- initial RAM disk (initrd): I found in the same directory as
kernal and also copied to /tftpboot.
- Create the directory pxelinux.cfg in /tftpboot where the
condiguration file will be placed, see below
Configuration file
A configuration file is looked for in the pxelinux.cfg
directory. It start by looking for a file with the same name as the
client's IP address but in hexadecimal form. If it doesn't find that
it looks for same name minus the last character and so on until there
aren't any characters left. It then looks for default and so far my
configuration file has always been called
/tftpboot/pxelinux.cfg/default.
Currently is looks like
default linux
label linux
append rw load_ramdisk=1 initrd=initrd
autoyast=nfs://134.225.100.178/var/lib/autoinstall/repository/node.xml
install=nfs://134.225.100.178/export/ellesmere/suse/SU930_001
kernel /linux
where the `install' line should be on the same line as `autoyast='
(is broken here so the page isn't very wide). The elements are:
- default linux: not sure
- label linux: indentifies that the commands that follow apply to
linux system. I think we could use to same files and have a different
label for other systems we might want to boot.
- append rw load_ramdisk=1: not sure
- initrd=: gives the name of the initial RAM disk
- autoyast=: gives the address of the remote control file and the
method of getting to it, here this is using NFS.
- install=: identifies where the SuSe installation is and that
we're using NFS to get to it.
- kernel: name of the kernel