Linux / Unix‎ > ‎

PXE boot

Install ubuntu via PXEBOOT

sudo apt-get install dhcp3-server tftpd-hpa tftp-hpa
  • /etc/default/dhcp3-server # This is not needed on Ubuntu 8.04 Hardy
  INTERFACES="eth0"
  • /etc/dhcp*/dhcpd.conf
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;

next-server 192.168.76.71;
filename "pxelinux.0";

subnet 192.168.72.0 netmask 255.255.248.0 {
        host pxeclient {
                hardware ethernet                00:09:6B:58:FA:19;
                fixed-address 192.168.76.171;
                option subnet-mask 255.255.248.0;
                option routers 192.168.76.1;
                option domain-name-servers 192.168.76.215, 192.168.76.216;
                option domain-name "parkeon.com";
        }
}
  • /etc/default/tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -s /var/lib/tftpboot"
Comments