You are not logged in.

#1 2021-09-10 17:26:08

debilausaure
Member
Registered: 2021-09-10
Posts: 1

Unable to boot unmodified version of the archiso through PXE

Hi everyone,

so I tried to set up a PXE server today to serve the archiso to machines on my network.
I followed the instructions provided by the arch wiki : https://wiki.archlinux.org/title/Preboo … nvironment.

I used dnsmasq and darkhttpd as recommended by the wiki. The instructions were quite straightforward until it came to sending the rootfs and kernel options to the client (I mean the configuration files that allows the client to select between receiving the files by HTTP, NFS or NBD).

Indeed, the URLs written in

/syslinux/archiso_pxe-linux.cfg

do not ignore the prefix_path sent by the dhcp server and the path for the files for the client is thus something like :

[archiso_mnt]/syslinux/arch/boot/x86_64/vmlinuz-linux

while it should be something along those lines :

[archiso_mnt]/arch/boot/x86_64/vmlinuz-linux

I found on the syslinux wiki that this is expected behaviour, and that even if you do not force a prefix path, syslinux will default to the path to lpxelinux.0.
https://wiki.syslinux.org/wiki/index.ph … _directory

So, I got it working by adding "::" to the path of initramfs and vmlinuz-linux files inside

/syslinux/archiso_pxe-linux.cfg

as documented here :
https://wiki.syslinux.org/wiki/index.ph … ame_syntax


I believe it is an error on my end because I believe people shouldn't have to modify the iso to make it work, but I didn't manage to get it working without it.
What did I miss ? Has someone dealt with this issue before ?

Last edited by debilausaure (2021-09-13 08:53:09)

Offline

Board footer

Powered by FluxBB