[syslinux] pxelinux fails to load miniroot completly

Geert Stappers stappers at stappers.nl
Mon Feb 25 23:34:00 PST 2008


Op 25-02-2008 om 14:21 schreef H. Peter Anvin:
> 
> I'll try to reproduce this in simulation and see if I can figure out 
> what's going on.

For all those who also what to reproduce it
[1]

  wget http://download.uib.de/debian/dists/etch/opsi3.2/binary-i386/opsi-linux-bootimage_20080207-1_all.deb
  mkdir opsi
  cd opsi
  ar x ../opsi-linux-bootimage_20080207-1_all.deb
  tar xzf data.tar.gz

and

  ls tftpboot/linux

will show you the place of the kernel and the initrd



Cheers
Geert Stappers

[1] The test data files are provided in .deb package,
    where that is a nice idea, it is (security wise) not a good idea.
    "unpacking" with `dpkg -i` means also executing postinstall
    scripts[2] as root. unpacking with `dpkg -x` avoids the exec part,
    but one must still have the 'dpkg' program installed[3].
    The program 'ar' is part of "binutils", easily available to all
    platforms.
    Providing files in a .tar.gz is preferred ...
[2] I didn't see a postinst in the above .deb
[3] Default on Debian and Debian devariates, not on other GNU/Linux distros




More information about the Syslinux mailing list