{"id":68,"date":"2008-08-04T23:53:00","date_gmt":"2008-08-04T14:53:00","guid":{"rendered":"http:\/\/www.asfit.net\/blog\/kan\/?p=68"},"modified":"2008-08-04T23:53:00","modified_gmt":"2008-08-04T14:53:00","slug":"ubuntu-pxeboot-install","status":"publish","type":"post","link":"https:\/\/www.asfit.net\/blog\/kan\/?p=68","title":{"rendered":"Ubuntu PXEBoot Install"},"content":{"rendered":"<p># vi \/etc\/default\/tftpd-hpa<br \/>\n#Defaults for tftpd-hpa<br \/>\n#RUN_DAEMON=&#8221;no&#8221;<br \/>\nRUN_DAEMON=&#8221;yes&#8221;<br \/>\nOPTIONS=&#8221;-l -s \/Local\/tftpboot\/ubuntu-hardy\/&#8221;<br \/>\nncftp &#8230;current\/images\/netboot &gt; pwd<br \/>\nftp:\/\/ftp.riken.go.jp\/Linux\/ubuntu\/dists\/hardy\/main\/installer-i386\/current\/images\/netboot\/<br \/>\nThis URL is also valid on this server:<br \/>\nftp:\/\/ftp.riken.go.jp\/Linux\/ubuntu\/dists\/hardy\/main\/installer-i386\/20070308ubuntu40.4\/images\/netboot\/<br \/>\nncftp &#8230;current\/images\/netboot &gt; ls -l<br \/>\ndrwxr-sr-x   3 archive  archive         4096  6\u6708 19 21:48 386<br \/>\n-rw-r&#8211;r&#8211;   1 archive  archive      9559865  6\u6708 19 21:48 boot.img.gz<br \/>\n-rw-r&#8211;r&#8211;   1 archive  archive     10053632  6\u6708 19 21:48 mini.iso<br \/>\n-rw-r&#8211;r&#8211;   1 archive  archive      9543925  6\u6708 19 21:48 netboot.tar.gz<br \/>\nlrwxrwxrwx   1 archive  archive           32  7\u6708 17 15:19 pxelinux.0 -> ubuntu-installer\/i386\/pxelinux.0<br \/>\nlrwxrwxrwx   1 archive  archive           34  7\u6708 17 15:19 pxelinux.cfg -> ubuntu-installer\/i386\/pxelinux.cfg<br \/>\ndrwxr-sr-x   3 archive  archive         4096  6\u6708 19 21:48 ubuntu-installer<br \/>\nncftp &#8230;current\/images\/netboot &gt;<br \/>\n$ ls -l \/Local\/tftpboot\/ubuntu-hardy<br \/>\ntotal 28544<br \/>\ndrwxr-xr-x 4 root root     4096 2008-08-04 13:56 .<br \/>\ndrwxr-xr-x 7 root root     4096 2008-08-04 13:57 ..<br \/>\ndrwxr-xr-x 3 root root     4096 2008-06-20 06:48 386<br \/>\n-rw-r&#8211;r&#8211; 1 root root  9559865 2008-06-20 06:48 boot.img.gz<br \/>\n-rw-r&#8211;r&#8211; 1 root root 10053632 2008-06-20 06:48 mini.iso<br \/>\n-rw-r&#8211;r&#8211; 1 root root  9543925 2008-06-20 06:48 netboot.tar.gz<br \/>\nlrwxrwxrwx 1 root root       32 2008-08-04 13:57 pxelinux.0 -> ubuntu-installer\/i386\/pxelinux.0<br \/>\nlrwxrwxrwx 1 root root       34 2008-08-04 13:57 pxelinux.cfg -> ubuntu-installer\/i386\/pxelinux.cfg<br \/>\ndrwxr-xr-x 3 root root     4096 2008-06-20 06:48 ubuntu-installer<br \/>\n# vi \/etc\/dhcpd.conf<br \/>\noption domain-name-servers 192.168.1.3;<br \/>\ndefault-lease-time 86400;<br \/>\nmax-lease-time 86400;<br \/>\nsubnet 192.168.1.0 netmask 255.255.255.0 {<br \/>\nnext-server 192.168.1.3;<br \/>\noption subnet-mask 255.255.255.0;<br \/>\noption broadcast-address 192.168.1.255;<br \/>\nrange 192.168.1.180 192.168.1.199;<br \/>\noption domain-name-servers 192.168.1.3;<br \/>\noption routers  192.168.1.2;<br \/>\n# Test PC<br \/>\nhost vmpc141 {<br \/>\nhardware ethernet 00:0c:xx:xx:xx:xx;<br \/>\nfixed-address 192.168.1.141;<br \/>\nfilename &#8220;\/pxelinux.0&#8221;;<br \/>\noption host-name &#8220;vmpc141&#8221;;<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p># vi \/etc\/default\/tftpd-hpa #Defaults for tftpd-hpa #RUN_DAEMON=&#8221;no&#8221; RUN_DAEMON=&#8221;yes&#8221; &#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-68","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/posts\/68","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=68"}],"version-history":[{"count":0,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}