Installation guide

PXE installation of XenServer Host
30
to
disable = no
4. Restart the xinetd service, which manages tftp:
# service xinetd restart
5. Make a directory inside /tftpboot called xenserver.
6. Copy the files mboot.c32 and pxelinux.0 from /usr/lib/syslinux to the /tftboot
directory.
7. Copy the files install.img, vmlinuz, and xen.gz from the Base Pack CD (found in the
root of the Base Pack CD, and in its /boot directory respectively), and place them in
/tftpboot/xenserver.
8. Make a directory called pxelinux.cfg inside /tftboot and create a file named de-
fault. The file contents depend on how you want to configure your PXE boot environment.
For example, you might have a configuration file like the following:
Note
The backslashes at the ends of lines in the example PXE configuration files shown
below denote continuation of lines; do not actually include them in your PXE con-
figuration file.
Also note that the three hyphens in the examples are necessary parts of the
mboot.c32 loader syntax, and not including them will cause PXE boot attempts to
fail.
default xenserver
label xenserver
kernel mboot.c32
append path/to/boot/directory/xen.gz watchdog com1=115200,8n1i \
console=com1,tty --- path/to/boot/directory/vmlinuz \
console=tty0 console=ttyS0,115200n8 \
--- path/to/boot/directory/install.img
(where path/to/boot/directory is the directory where you copied install.img, vm-
linuz, and xen.gz files in the previous step). This will start an installation on any machine
that boots from this server. Someone would then need to manually respond to the prompts to
complete the installation. Alternatively, you might have a configuration file like the following:
default xenserver-auto
label xenserver-auto
kernel mboot.c32
append path/to/boot/directory/xen.gz watchdog com1=115200,8n1 \
console=com1,tty --- path/to/boot/directory/vmlinuz \
console=tty0 console=ttyS0,115200n8 \
answerfile=http://pxehost.example.com/4.1.0-answerfile \
install --- path/to/boot/directory/install.img