Netboot package for grml64 2008_11

Hello,
Is there a netboot package for grml64 2008_11? If not, is there a script to create one?
I may need to use PXE to boot a machine that requires a recent kernel (2.6.26 should be fine) for driver support.
I've used GRML a number of times and it has always solved my problems (e.g., booting issues after making a mistake with a kernel upgrade).
Also, thanks are due to the grml developers for including BRLTTY in the distribution, enabling it to work with my braille display hardware immediately on boot.

* Jason White jason@jasonjgw.net [20081126 01:08]:
Is there a netboot package for grml64 2008_11? If not, is there a script to create one?
Yeah, there's a script:
% grml-tips netboot Create netboot package for grml-terminalserver:
# sh /usr/share/doc/grml-terminalserver/examples/create-netboot
We use that script for creating the official netboot packages as well and we will provide official netboot packages as soon as the stable release is on the way (which is expected to happen with the next few days).
regards, -mika-

On Wed, Nov 26, 2008 at 10:14:01AM +0100, Michael Prokop wrote:
Yeah, there's a script:
% grml-tips netboot Create netboot package for grml-terminalserver:
# sh /usr/share/doc/grml-terminalserver/examples/create-netboot
Thank you for the details.
We use that script for creating the official netboot packages as well and we will provide official netboot packages as soon as the stable release is on the way (which is expected to happen with the next few days).
I'll need it next week, which makes the timing of the release perfect from my point of view.
I have a Debian box here that I plan to use as the tftp and nfs server for booting a laptop via PXE into grml.

Hi list,
% grml-tips netboot Create netboot package for grml-terminalserver:
# sh /usr/share/doc/grml-terminalserver/examples/create-netboot
We use that script for creating the official netboot packages as well and we will provide official netboot packages as soon as the stable release is on the way (which is expected to happen with the next few days).
fine I thought. First of all I extracted a grml-small squashfs. Then I chrooted to the squashfs-root created by unsquashfs to "apt-get install grml-terminalserver".
Now executing the above mentioned script resulted in a minor error because "make" was not installed as a dependancy. Further on it tried to setup the chroot environment as the terminalserver which I never intended ...
Finally I got a grml_netboot_package_grml-small_2008.11-rc1.tar.bz2 containing nothing useful: grml_netboot_package_grml-small_2008.11-rc1/ grml_netboot_package_grml-small_2008.11-rc1/grub.img grml_netboot_package_grml-small_2008.11-rc1/tftpboot/ grml_netboot_package_grml-small_2008.11-rc1/tftpboot/pxelinux.cfg/ grml_netboot_package_grml-small_2008.11-rc1/tftpboot/pxelinux.0 grml_netboot_package_grml-small_2008.11-rc1/grub_enabled_nics
Later I figured out a call "grml-terminalserver-config initrd" which sounded promising but which tried to loopback mount a CPIO archive ?!
- eval 'mount -o loop=/dev/loop3 /tmp/terminalserver_initrd.yzNoiv/minirt26 /etc/grml/terminalserver/mini-root.orig '
++ mount -o loop=/dev/loop3 /tmp/terminalserver_initrd.yzNoiv/minirt26 /etc/grml/terminalserver/mini-root.orig mount: you must specify the filesystem type
As far as I could see the CPIO archive was copied from /cdrom which contained the mounted ISO (loopback from outside the chroot).
Well finally I did not succeed in building an apropriate initrd to use for my existing PXE setup.
Now what did I do wrong? Or did I completely misunderstand the usage of the provided scripts?
Thanks in advance, Markus

Michael Prokop wrote:
- Jason White jason@jasonjgw.net [20081126 01:08]:
Is there a netboot package for grml64 2008_11? If not, is there a script to create one?
Yeah, there's a script:
% grml-tips netboot Create netboot package for grml-terminalserver:
# sh /usr/share/doc/grml-terminalserver/examples/create-netboot
We use that script for creating the official netboot packages as well and we will provide official netboot packages as soon as the stable release is on the way (which is expected to happen with the next few days).
Sorry, we have switched to live-initramfs, thus create-netboot is deprecated (it was for our old initrd).
Boot the grml from which you want to create the netboot package and execute grml-terminalserver.
The pxe initramfs is automatically created and placed under /var/lib/tftpboot.
michael

Is it possible to place grml in a chroot environment on a debian system, then boot into it from another machine using PXE?
The advantage here is that I could make configuration changes, e.g., to have sshd started during the boot process with my public key configured to allow login. I could also add packages and make other configuration changes.
I noticed that there are chroot tar files of grml releases, but distributed as tar files rather than compressed (tar.gz, tar.bz2), making them more bandwidth-consuming to download.
participants (4)
-
Jason White
-
Markus Wigge
-
Michael Gebetsroither
-
Michael Prokop