Tue Oct 28 10:13:40 CET 2008

setting up network boot on del

- apt-get install tftpd (for /usr/sbin/in.tftpd)

- check /etc/inetd.conf:

  tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftp

- make dnsmasq pass filename.. on the internal net, this is derived
  from IP address or name.

  from zzz:/tmp/i.conf:


- building a netbootable image

  apt-get install mknbi

    * the old method (2002 version)

        ./mknbi-linux-2002 vmlinuz-2.6.22-3-vserver-686 \
                           netboot  -x \
                           --append="root=/dev/nfs ip=dhcp ro"

    * the new version (Doesn't complain image is too big. If netboot
      loads the image but complains "Unable to load file."
      loadkernel() had an error).

        mkelf-linux --output=netboot vmlinuz-2.6.22-3-vserver-686 \
                    --ip dhcp --append="root=/dev/nfs ro"

  So, the main issue is to not make it "too big", whatever that
  means..  I guess this is mainly about compiling in filesystems.
  This is a show stopper: except for 2.6.22-vserver, nothing would

- Initrd: need to configure BOOT=nfs (or do this automatically)
  Apparently the 2.6.22-vserver images don't have this.

- The filesystem.

  debootstrap lenny xenomai-root/