This testcase is to run netboot installation on amd64 machines with live images. You need an installed Ubuntu machine in the same network.
Proceed in your native language if you wish. Instructions will remain in English.
RELEASE is the current development codename.
HOST is the IP address of installed Ubuntu machine.
On your installed Ubuntu machine.
- sudo apt install -y tftpd-hpa apache2
- sudo curl http://cdimage.ubuntu.com/ubuntu-server/daily-live/current/RELEASE-live-... -o /var/www/html/test-live-server-amd64.iso
- sudo mkdir /srv/tftp/grub
- sudo mount -o loop,ro /var/www/html/test-live-server-amd64.iso /mnt
- sudo cp /mnt/casper/initrd /srv/tftp
- sudo cp /mnt/casper/vmlinuz /srv/tftp
- sudo curl http://archive.ubuntu.com/ubuntu/dists/RELEASE/main/uefi/grub2-amd64/cur... -o /srv/tftp/grubnetx64.efi
- echo "menuentry \"Netboot from Ubuntu Live image\" {" | sudo tee /srv/tftp/grub/grub.cfg
- echo " set gfxpayload=keep" | sudo tee -a /srv/tftp/grub/grub.cfg
- echo " linux /vmlinuz url=http://HOST/test-live-server-amd64.iso only-ubiquity ip=dhcp ---" | sudo tee -a /srv/tftp/grub/grub.cfg
- echo " initrd /initrd" | sudo tee -a /srv/tftp/grub/grub.cfg
- echo "}" | sudo tee -a /srv/tftp/grub/grub.cfg
You might also need to append machine specific kernel cmdline into grub.cfg. e.g. console=ttyS0,115200n8.
Reconfigure the dhcp server for grubnetx64.efi as filename and next-server as installed Ubuntu machine. e.g.
host testbed {
hardware ethernet 00:00:00:11:22:33;
next-server ;
filename "grubnetx64.efi";
}
Power on your amd64 machine and boot from ethernet. Connect to console output and you shall see grub menu. Press ENTER to load kernel and finish the installation.
If you finish the installation, please submit a 'passed' result.
If any action fails, or produces an unexpected result, please submit a 'failed' result and file a bug. Please be sure to include the bug number when you submit your result.
|