User Tools

Site Tools


ubuntu_netboot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu_netboot [2009/06/11 05:19] suapapaubuntu_netboot [2013/08/03 05:04] (current) – external edit 127.0.0.1
Line 1: Line 1:
 우분투 서버를 사용해 넷부트로 우분투 설치 방법 우분투 서버를 사용해 넷부트로 우분투 설치 방법
 <code bash> <code bash>
-sudo apt-get install tftpd-hpa tftp-hpa xinetd 
 wget http://archive.ubuntu.com/ubuntu/dists/jaunty/main/installer-i386/current/images/netboot/netboot.tar.gz wget http://archive.ubuntu.com/ubuntu/dists/jaunty/main/installer-i386/current/images/netboot/netboot.tar.gz
-sudo tar -xvzf netboot.tar.gz -C /var/lib/tftpboot/ +sudo tar -xvzf netboot.tar.gz -C /tftpboot/ 
-sudo chown -R nobody:nogroup /var/lib/tftpboot+sudo chown -R nobody:nogroup /tftpboot 
 +sudo chmod -R 777 /tftpboot
 </code> </code>
 +<code bash>
 +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
 +</code>
 +<code bash>
 +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
 +</code>
 +
 +====== 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와 같은 부트 플로피 이미지 다운로드
 +아래 명령어로 부트 이미지 만들기:
 +<code bash>
 +dd if=bin/gpxe.dsk of=/dev/fd0
 +</code>
 +
 ====== references ====== ====== references ======
   *[[https://help.ubuntu.com/community/Installation/Netboot|Installation Netboot]] from ubuntu documentation wiki   *[[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]]   *[[http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pxe/article.html|FreeBSD Jumpstart Guide]]
ubuntu_netboot.1244697566.txt.gz · Last modified: 2013/08/03 05:04 (external edit)