[arch-releng] [RFC] Improvements in PXE boot (add HTTP/FTP support)

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Sun Nov 20 23:03:06 EST 2011

Tested and worked fine both HTTP/FTP on differents servers. Feedback is welcomed!

There is no resolver on initramfs so only IP is supported (at least for now).

Note 1: This work is in a branch that uses mount from util-linux (mkinitcpio-git)
Note 2: Due some issue in mkinitcpio in add_binary() you need curl installed in build enviroment.

:: Running Hook [archiso_pxe_common]
IP-Config: eth0 hardware address 52:54:00:12:34:57 mtu 1500
IP-Config: eth0 guessed broadcast address
IP-Config: eth0 guessed nameserver address
IP-Config: eth0 complete (from
 address:     broadcast:    netmask:
 gateway:    dns0     :    dns1   :
 rootserver: rootpath:
 filename  :
:: Running Hook [archiso_pxe_nbd]
:: Running Hook [archiso_pxe_curl]
:: Getting info of ''
:: Mounting /run/archiso/pxe_curl (tmpfs) filesystem, size='201326592'
:: Downloading ''
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  192M  100  192M    0     0   141M      0  0:00:01  0:00:01 --:--:--  141M
:: Mounting '/dev/disk/by-label/ARCH_201111' to '/run/archiso/bootmnt'
:: Device '/dev/disk/by-label/ARCH_201111' mounted successfully.

More information about the arch-releng mailing list