Ike Panhc has proposed merging ~ikepanhc/ubuntu-manual-tests:netboot-live-amd64 into ubuntu-manual-tests:master.
Commit message: Here is the netboot installation testcase for amd64 live server image. Requested reviews: Ubuntu Testcase Admins (ubuntu-testcase) For more details, see: https://code.launchpad.net/~ikepanhc/ubuntu-manual-tests/+git/ubuntu-manual-tests/+merge/399629 -- Your team Ubuntu Testcase Admins is requested to review the proposed merge of ~ikepanhc/ubuntu-manual-tests:netboot-live-amd64 into ubuntu-manual-tests:master.
diff --git a/testcases/image/1734_Netinstall (amd64 server live) b/testcases/image/1734_Netinstall (amd64 server live) new file mode 100644 index 0000000..bc20a03 --- /dev/null +++ b/testcases/image/1734_Netinstall (amd64 server live) @@ -0,0 +1,37 @@ +This testcase is to run netboot installation on amd64 machines with live images. You need an installed Ubuntu machine in the same network. + +<em>Proceed in your native language if you wish. Instructions will remain in English.</em> + +<release> is the current development codename. +<host> is the IP address of installed Ubuntu machine. +On your installed Ubuntu machine. + +<dl> + <dt>sudo apt install -y tftpd-hpa apache2</dt> + <dt>sudo curl http://cdimage.ubuntu.com/ubuntu-server/daily-live/current/<release>-live-server-amd64.iso -o /var/www/html/test-live-server-amd64.iso</dt> + <dt>sudo mkdir /srv/tftp/grub</dt> + <dt>sudo mount -o loop,ro /var/www/html/test-live-server-amd64.iso /mnt</dt> + <dt>sudo cp /mnt/casper/initrd /srv/tftp</dt> + <dt>sudo cp /mnt/casper/vmlinuz /srv/tftp</dt> + <dt>sudo curl http://archive.ubuntu.com/ubuntu/dists/<release>/main/uefi/grub2-amd64/current/grubnetx64.efi -o /srv/tftp/grubnetx64.efi</dt> + <dt>echo "menuentry \"Netboot from Ubuntu Live image\" {" | sudo tee /srv/tftp/grub/grub.cfg</dt> + <dt>echo " set gfxpayload=keep" | sudo tee -a /srv/tftp/grub/grub.cfg</dt> + <dt>echo " linux /vmlinuz url=http://<host>/test-live-server-amd64.iso only-ubiquity ip=dhcp ---" | sudo tee -a /srv/tftp/grub/grub.cfg</dt> + <dt>echo " initrd /initrd" | sudo tee -a /srv/tftp/grub/grub.cfg</dt> + <dt>echo "}" | sudo tee -a /srv/tftp/grub/grub.cfg</dt> +</dl> + +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 <host>; + 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. + +<strong>If you finish the installation, please <a href="results#add_result">submit</a> a 'passed' result. + If any action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include the bug number when you <a href="results#add_result">submit</a> your result.</strong>
-- Mailing list: https://launchpad.net/~kubuntu-council Post to : [email protected] Unsubscribe : https://launchpad.net/~kubuntu-council More help : https://help.launchpad.net/ListHelp

