Now proceed with the creation of a KVM virtual machine definition for the PXE netboot VM: Tftp> Received 15453177 bytes in 0.3 seconds It's now time for a little download test: s390-tools/netboot/mk-s390image kernel.ubuntu -r initrd.ubuntu pxelinux.0 Now, download the latest xenial installer files (kernel and initrd):Īnd create a pxelinux.0 file out of these kernel and initrd installer files:For the PXE image creation a separate tool is needed from the s390-tools collection: We will now create a pxelinux.0 file that is based on the Ubuntu 16.04.3 (xenial) installer. Now do the needed tftp and bootp modifications:īefore we can perform a PXE netboot, a 'pxelinux.0' netboot image is needed.
HOW TO INSTALL UBUNTU ON A MAC USING N4ETBOOT INSTALL
$ sudo apt -y -qq install tftpd xinetd tftp Now a tftp server is needed for PXE netboot, so let’s install and configure tftp: $ sudo cp qemu-2.10+dfsg/pc-bios/s390-netboot.img /usr/share/qemu/ Pull-lp-source: Downloading qemu version 1:2.10+dfsg-0ubuntu3.1 $ sudo apt -y -qq install ubuntu-dev-tools The just installed packages modify the underlying environment, hence it’s recommended to quickly logout and login again to make the changes take effect. $ sudo apt install -qq -y libvirt-daemon-system qemu-kvm On Ubuntu 17.10 (or higher) just install the default qemu-kvm and related packages with:
$ sudo add-apt-repository cloud-archive:pike The Pike Cloud Archive can be enabled like this: On Ubuntu 16.04.x qemu-kvm from the Pike Ubuntu Cloud Archive (UCA) need to be installed. PXE boot will only work on Ubuntu 16.04 if the qemu-kvm package from the Pike Ubuntu Cloud Archive (UCA) is used. Ubuntu 17.10 comes with a qemu-kvm version that is new enough to act as a KVM host that also allows to PXE netboot KVM virtual machines.Īny potentially different or additional steps for Ubuntu Server 16.04(.x) are marked in italics. This article mainly assumes that an Ubuntu Server 17.10 (artful) is installed in LPAR. This article originally appeared on the Ubuntu On Big Iron blog