/etc/dhcpd.conf
allow booting;
allow bootp;
next-server 192.168.0.2;host ahostname {
hardware ethernet 22:22:22:22:22:22:22;
fixed-address 192.168.0.1;
filename "pxelinux.0";
}
Where 192.168.0.2 is the host serving TFTP.
...and why do I have to explain 'mount archlinux-2018.08.01-i686.iso /mnt'? :-)
]]>regards,
deep42thought
https://aur.archlinux.org/packages/mkinitcpio-nbd/
https://www.archlinux.org/packages/?nam … -nfs-utils
I would go with the installation CD image and install from there.
]]>NBD is a little bit complex as you need a ramdisk with the proper hooks.
I did some PXE installations lately on very old machines (and machines without a CDROM drive or not being able to USB boot).
If you can boot https://www.plop.at/ on a floppy, you can boot from the USB stick normally from this bootloader.
I installed a tftp-hpa and put the usual TFTP-layout into /srv/tftp:
*.c32
pxelinux.0
pxelinux.bin
vmlinux-linux
archiso.img
and pxelinux.cfg/default with:
label linux
com32 cmd.c32
initrd archiso.img
linux vmlinuz-linux
append debug rw nomodeset ip=:::::eth0:dhcp archisobasedir=arch archiso_http_srv=http://server/archlinux-2018.08.01-i686.iso
The files can be taken from the ISO and put into /srv/tftpd:
boot/i686/vmlinuz and
boot/i686/archiso.img
The ISO can live on an HTTP server.
As long as you have 512 MB RAM, this procedure is fine. Otherwise you have to resort to some tricks like:
https://wiki.archlinux.org/index.php/PXE#Boot (copytoram)
or even create your own ISO image without loading to memory or extracting the installation files to an
NBD-block-device (the lowest configuration I was able to boot and install was a Pentium-S with 64 MB RAM).
If anyone's done PXE with archlinux32 before, assistance would be greatly appreciated
]]>