Tasks[edit | edit source]
PXE Boot[edit | edit source]
This guide will setup Ubuntu 10.10 PXE live cd boot using NFS.
1. Setup your standard PXE server (tftp + dhcp) such that your files are under
/tftpboot. Under CentOS, this is accomplished by
# yum install tftp tftp-server xinetd syslinux
tftp/tftp-serveris for the tftp server which is required to boot off PXE
xinetdis the super server which launches the tftp server when requested
syslinuxcontains pxelinux.0. This can also be found on some linux distribution images
2. Download the Ubuntu 10.10 iso.
3. Either mount the iso and extract the files to
/tftpboot/images/ubuntu1010 or mount the iso directly to
mount -o loop ubuntu-10.10-desktop-i386.iso /mnt cp -a /mnt/. /tftpboot/images/ubuntu1010 umount /mnt
4. Add the following entry to your
label 2 kernel /images/ubuntu1010/casper/vmlinuz append root=/dev/nfs boot=casper netboot=nfs nfsroot=10.1.1.6:/tftpboot/images/ubuntu1010 initrd=/images/ubuntu1010/casper/initrd.lz quiet splash --
5. Add the following entry to your
/tftpboot/images/ubuntu1010– the location which is to be shared via NFS
10.1.1.0/24– the IPs which are allowed to access this share. Change this to match your network IPs.
6. Start/restart your NFS server
7. Your PXE boot should now work. When greeted with your pxe screen, enter
2 (or whatever was set as your label in the pxe config file), and ubuntu should should begin booting.