Skip to content
  • Gerardo Pozzi's avatar
    [syslinux-iso] Add PXE support via NBD. · 1320c0ee
    Gerardo Pozzi authored
    
    
    nbd (network block device utilities) package is required.
    This package is in AUR at this moment.
    http://aur.archlinux.org/packages.php?ID=9691
    
    Also added dnsmasq pkg, so the live-medium, appart of support booting from PXE
    also add the capability to acts as server for PXE & NBD.
    
    This is a dirty script to ilustrate how to launch server:
    
    ---- Cut here ----
    
    IP=$1
    ISO=$2
    
    ifconfig eth0 ${IP}
    dnsmasq \
      --enable-tftp \
      --tftp-root=/bootmnt/boot \
      --dhcp-boot=/pxelinux.0,"${IP}" \
      --dhcp-range=${IP%.*}.2,${IP%.*}.254,86400
    nbd-server 9040 ${ISO} -r
    ---- Cut here ----
    
    Signed-off-by: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
    1320c0ee