User Tools

Site Tools


ubuntu_netboot

우분투 서버를 사용해 넷부트로 우분투 설치 방법

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

  • ROM-o-matic.net에서 자신의 NIC의 family와 같은 부트 플로피 이미지 다운로드

아래 명령어로 부트 이미지 만들기:

dd if=bin/gpxe.dsk of=/dev/fd0

references

ubuntu_netboot.txt · Last modified: 2013/08/03 05:04 (external edit)