Kexecboot: Linux-As-a-Bootloader implementation based on kexec
github.com
github.com
Edit: https://www.plop.at/en/plopkexec/download.html might be a better alternative!
https://www.kernel.org/doc/html/latest/admin-guide/efi-stub....
EFI eliminates the need for such trickery though, and who doesn't have EFI these days?
VM's hosted on VMware ESX with the default settings comes to mind.
[0] - https://www.kernel.org/doc/html/latest/admin-guide/efi-stub.... [1] - https://github.com/torvalds/linux/blob/master/Documentation/...
I used to build custom Linux kernels for rescue floppies that had no boot loader and a bundled rescue initramfs at an ISP back in the late 90s. They booted very quickly despite being 3.5" floppy disks, it was kind of epic for the time.
http://tldp.org/HOWTO/Linux-i386-Boot-Code-HOWTO/bootsect.ht...
Edit: It looks like 2.6.23 is when it vanished as part of the arch/i386/* -> arch/x86/* migration:
Present @ 2.6.22:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
Gone in 2.6.23:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
-- Jay7x