우분투 서버를 사용해 넷부트로 우분투 설치 방법
wget http://archive.ubuntu.com/ubuntu/dists/jaunty/main/installer-i386/current/images/netboot/netboot.tar.gz
sudo tar -xvzf netboot.tar.gz -C /tftpboot/
sudo chown -R nobody:nogroup /tftpboot
sudo chmod -R 777 /tftpboot
sudo apt-get install xinetd tftp-hpa tftpd-hpa
Create /etc/xinetd.d/tftp and put this entry:
service tftp
{
disable = no
socket_type = dgram
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -v -s /tftpboot
}
sudo /etc/init.d/xinetd start
sudo vi /etc/dnsmasq.conf
dhcp-range=192.168.0.2,192.168.0.30,12h
dhcp-boot=pxelinux.0,192.168.0.1
dhcp-option=3,192.168.0.1
dhcp-option=6,192.168.0.1
#dhcp-boot=pxelinux.0,suapa-srv,192.168.0.1
sudo /etc/init.d/dnsmasq restart
====== make PXE bootable floopy ======
*[[http://etherboot.org/wiki/removable|gPXE]]
*[[http://rom-o-matic.net/gpxe/gpxe-git/gpxe.git/contrib/rom-o-matic/|ROM-o-matic.net]]에서 자신의 NIC의 family와 같은 부트 플로피 이미지 다운로드
아래 명령어로 부트 이미지 만들기:
dd if=bin/gpxe.dsk of=/dev/fd0
====== references ======
*[[https://help.ubuntu.com/community/Installation/Netboot|Installation Netboot]] from ubuntu documentation wiki
*[[http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pxe/article.html|FreeBSD Jumpstart Guide]]