[Etherboot-users] Re: [syslinux] pxelinux.0

Steve Glines sglines at is-cs.com
Wed May 26 07:20:47 PDT 2004


Thanks HPA and Timothy Legge for the help. Got it finally. The problem 
was tftpd - It pays to read HPA's documentation. The Debian package for 
tftpd-hpa didn't create a tftpd user or group. The default directory put 
into inetd.conf wasn't where I put the stuff AND after reading the 
etherboot docs I had used mknbi on the vmlinuz file. The combined 
mistakes hosed the process.

So here's what worked:

1. create a vanilla etherboot using Rom-o-matic.
2. Set up dhcp to look like this:
   allow bootp;
   allow booting;
   ddns-updates on;
   option time-servers 10.0.3.1;
   option domain-name "is-cs.com";
   option routers 10.0.3.1;
   ddns-update-style ad-hoc;
   subnet 10.0.3.0 netmask 255.255.255.0 {
         range dynamic-bootp 10.0.3.200 10.0.3.254;
         group {
                 next-server 10.0.3.20;
                 filename "pxelinux.0";
         # Bootstrap machine
         host Bootstrap {
                 ddns-updates on;
                 fixed-address 10.0.3.201;
                 hardware ethernet 00:50:FC:34:70:F2;
                 }
         }
   }
3. create user and group tftpd (home directory /home/tftpboot )
3. Instaled tftpd-hpa on my Debian system via
    "apt-get install tftpd-hpa"
4. edit /etc/inet.d.conf to read:
    tftp dgram  udp  wait  root  /usr/sbin/in.tftpd  in.tftpd -s 
       	/home/tftpboot -r blksize
5. created a syslinux environment by taking a kernel from an linux 
system hardware identical to the target system. The initrd image a 
combination of busybox (compiled on the same system the kernel was taken 
from) with a subset of modules taken, again, from the running system. 
(hint you can create something something close by creating a recovery 
disk - mkbootdisk - and adding busybox to it)

Cheers
-- 
Steve Glines
voice: 978-952-6340         www.is-cs.com
   fax: 978-952-8524         145 Foster Street
  cell: 617-549-7274         Littleton MA 01460

I'm a complex person. I have a real and an imaginary part.




More information about the Syslinux mailing list