[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 192.168.0.255
IP-Config: eth0 guessed nameserver address 192.168.0.218
IP-Config: eth0 complete (from 192.168.0.218):
 address: 192.168.0.90     broadcast: 192.168.0.255    netmask: 255.255.255.0
 gateway: 192.168.0.218    dns0     : 192.168.0.218    dns1   : 0.0.0.0
 rootserver: 192.168.0.218 rootpath:
 filename  :
:: Running Hook [archiso_pxe_nbd]
:: Running Hook [archiso_pxe_curl]
:: Getting info of 'http://192.168.0.218/archlinux-2011.11.21-netinstall-i686.iso'
:: Mounting /run/archiso/pxe_curl (tmpfs) filesystem, size='201326592'
:: Downloading 'http://192.168.0.218/archlinux-2011.11.21-netinstall-i686.iso'
  % 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