[<<][pool][>>][..]
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:

    dhcp-boot=net:boot-azrael,azrael,0.0.0.0
    dhcp-option=net:boot-azrael,17,/opt/diskless/azrael
    dhcp-host=net:boot-azrael,00:18:39:bf:be:6b,192.168.16.56

- 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
  boot.

- 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/




[Reply][About]
[<<][pool][>>][..]