Created
July 8, 2013 11:00
-
-
Save zjfroot/5947900 to your computer and use it in GitHub Desktop.
netboot and install ubuntu precise 12.04 LTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On server: | |
Install bootp, tftpd-hpa and tftp | |
edit /etc/bootptab to | |
client:\ | |
ha="00:1C:23:3C:9E:32":\ | |
ip=192.168.12.144:\ | |
gw=192.168.12.1:\ | |
sm=255.255.255.0:\ | |
td=/: hd=/: bf=pxelinux.0 | |
Edit /etc/default/tftpd-hpa to | |
# /etc/default/tftpd-hpa | |
TFTP_USERNAME="tftp" | |
TFTP_DIRECTORY="/var/lib/tftpboot" | |
TFTP_ADDRESS="0.0.0.0:69" | |
TFTP_OPTIONS="--secure" | |
Download netboot installer tarfile (netboot.tar.gz) from http://archive.ubuntu.com/ubuntu/dists/precise/main/installer-i386/current/images/netboot/netboot.tar.gz | |
Extract it to /var/lib/tftpboot | |
Run tftpd: | |
sudo service tftpd-hpa start | |
Run bootp: | |
sudo /usr/sbin/bootpd -d 4 -c /var/lib/tftpboot/ | |
On Client: | |
Boot from NIC with PXE | |
Follow the installation guide. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment