# vi /etc/default/tftpd-hpa
#Defaults for tftpd-hpa
#RUN_DAEMON=”no”
RUN_DAEMON=”yes”
OPTIONS=”-l -s /Local/tftpboot/ubuntu-hardy/”
ncftp …current/images/netboot > pwd
ftp://ftp.riken.go.jp/Linux/ubuntu/dists/hardy/main/installer-i386/current/images/netboot/
This URL is also valid on this server:
ftp://ftp.riken.go.jp/Linux/ubuntu/dists/hardy/main/installer-i386/20070308ubuntu40.4/images/netboot/
ncftp …current/images/netboot > ls -l
drwxr-sr-x 3 archive archive 4096 6月 19 21:48 386
-rw-r–r– 1 archive archive 9559865 6月 19 21:48 boot.img.gz
-rw-r–r– 1 archive archive 10053632 6月 19 21:48 mini.iso
-rw-r–r– 1 archive archive 9543925 6月 19 21:48 netboot.tar.gz
lrwxrwxrwx 1 archive archive 32 7月 17 15:19 pxelinux.0 -> ubuntu-installer/i386/pxelinux.0
lrwxrwxrwx 1 archive archive 34 7月 17 15:19 pxelinux.cfg -> ubuntu-installer/i386/pxelinux.cfg
drwxr-sr-x 3 archive archive 4096 6月 19 21:48 ubuntu-installer
ncftp …current/images/netboot >
$ ls -l /Local/tftpboot/ubuntu-hardy
total 28544
drwxr-xr-x 4 root root 4096 2008-08-04 13:56 .
drwxr-xr-x 7 root root 4096 2008-08-04 13:57 ..
drwxr-xr-x 3 root root 4096 2008-06-20 06:48 386
-rw-r–r– 1 root root 9559865 2008-06-20 06:48 boot.img.gz
-rw-r–r– 1 root root 10053632 2008-06-20 06:48 mini.iso
-rw-r–r– 1 root root 9543925 2008-06-20 06:48 netboot.tar.gz
lrwxrwxrwx 1 root root 32 2008-08-04 13:57 pxelinux.0 -> ubuntu-installer/i386/pxelinux.0
lrwxrwxrwx 1 root root 34 2008-08-04 13:57 pxelinux.cfg -> ubuntu-installer/i386/pxelinux.cfg
drwxr-xr-x 3 root root 4096 2008-06-20 06:48 ubuntu-installer
# vi /etc/dhcpd.conf
option domain-name-servers 192.168.1.3;
default-lease-time 86400;
max-lease-time 86400;
subnet 192.168.1.0 netmask 255.255.255.0 {
next-server 192.168.1.3;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
range 192.168.1.180 192.168.1.199;
option domain-name-servers 192.168.1.3;
option routers 192.168.1.2;
# Test PC
host vmpc141 {
hardware ethernet 00:0c:xx:xx:xx:xx;
fixed-address 192.168.1.141;
filename “/pxelinux.0”;
option host-name “vmpc141”;
}