#!ipxe initrd combined.igz # create with #(cat gentoo.igz; (echo image.squashfs | cpio -H newc -o)) > combined.igz # simplest and fastest boot, but 390M file # or #(cat gentoo.igz; (echo image.squashfs | cpio -H newc -o | xz --check=crc32 -vT0)) > combined.igz # only compress squashfs, but black screen while decompressing, 360M file # or #(xz -d gentoo.igz -c; (echo image.squashfs | cpio -H newc -o)) | xz --check=crc32 -vT0 > combined.igz # recompress everything, black screen while decompressing, 359M file # allow for external keymap setting isset ${keymap} || set keymap dokeymap # allow for external cmdline options isset ${cmdline} || set cmdline vga=791 # cmdline initrd= is needed in efi mode kernel gentoo root=/dev/ram0 init=/linuxrc ${keymap} looptype=squashfs loop=/image.squashfs cdroot initrd=combined.igz ${cmdline} # change dokeymap to keymap=us or other identifier for automated choice, other options available as well # Let's see what we got imgstat boot