====== Ubuntu Live boot over PXE ====== ===== Ubuntu 9.10 Desktop Live PXE / install ===== First, clone the contents of the LiveCD ISO image to the NFS boot environment mount -o loop /srv/ISO-images/Ubuntu/ubuntu-9.10-desktop-i386.iso /mnt/ mkdir -p /srv/boot/live/ubuntu/9.10/i386 cp -a /mnt/* /srv/boot/live/ubuntu/9.10/i386/ cp -a /mnt/.disk /srv/boot/live/ubuntu/9.10/i386/ Note the directory ".disk". If you omit it, all you'll get when trying to boot is a failed boot when running with "quiet splash", or running without them, the prompt: * "Please provide a name for this Disc, such as 'Debian 2.1r1 Disk1'" Next, get the kernel an initrd to the TFTP tree: mkdir -p /var/lib/tftpboot/live/ubuntu/9.10/i386 cp /srv/boot/ubuntu/9.10/i386/casper/{initrd.lz,vmlinuz} /var/lib/tftpboot/live/ubuntu/9.10/i386/ Ubuntu Live-boot leads to very long APPEND lines, as you can see from the entries from my menus/ubuntu.cfg LABEL live MENU LABEL ^1 Try Ubuntu 9.10 i386 Live-boot TEXT HELP Select this on 32bit computers to test Ubuntu 9.10 with no install. ENDTEXT KERNEL live/ubuntu/9.10/i386/vmlinuz APPEND boot=casper netboot=nfs nfsroot=10.0.2.13:/srv/boot/live/ubuntu/9.10/i386 quiet splash initrd=live/ubuntu/9.10/i386/initrd.lz -- LABEL live-install MENU LABEL ^2 Install Ubuntu 9.10 i386 TEXT HELP Select this on 32bit computers to install Ubuntu 9.10 onto your system. ENDTEXT KERNEL live/ubuntu/9.10/i386/vmlinuz APPEND boot=casper netboot=nfs nfsroot=10.0.2.13:/srv/boot/live/ubuntu/9.10/i386 only-ubiquity quiet splash initrd=live/ubuntu/9.10/i386/initrd.lz -- The major magic here is the netboot=nfs and nfsroot=server:/path options. Repeat the above for adm64, replacing i386 for amd64 where appropriate.