Should the ISO support acting as a PXE server?
There are multiple ways to PXE boot the Arch Linux installation environment. Those that relate to archiso (and releng profile specifically) are:
- Using the ISO to acquire
vmlinuz-linux
,intel-ucode.img
,amd-ucode.img
,archiso.img
,airootfs.sfs
andairootfs.sfs.sig
which would the be used with a existing PXE server. Alternatively, these files can be downloaded individually from a mirror, or not acquired manually at all when using Netboot. To support this method the initramfs (and thus also the live environment) requires curl for archiso_pxe_http (also required for Netboot), nbd for archiso_pxe_nbd and nfs-utils for archiso_pxe_nfs. -
Using the ISO as a PXE server. In addition to the packages listed above, this method additionally requires dnsmasq and darkhttpd in the live environment. To run a PXE server in the live environment, you need to manually construct a
dnsmasq
command or configuration file and start the service (HTTP, NFS or NBD) which will serveairootfs.sfs
andairootfs.sfs.sig
.
I question the usefulness of using the ISO as a PXE server. Constructing dnsmasq configuration in the live environment is tedious, since there are no templates in the live environment.
Its only use case is to allow booting the live environment on a system that cannot be booted in any another way than PXE, while serving the ISO contents from another system that can't be used to set up a custom PXE server. I can definitely see the convenience of not being required to install and set up a PXE server on a system that potentially does not even run Linux, but how often do all these requirements collide?