[syslinux] kexec to syslinux

H. Peter Anvin hpa at zytor.com
Tue Feb 14 10:58:03 PST 2017


On 02/08/17 06:33, Jorge Almeida via Syslinux wrote:
> Is it possible to kexec to the syslinux interface, thus bypassing the
> hw initialization?
> What would be the kexec command?
> 
> kexec -l ??? --append=???   --initrd=???
> 

It is theoretically possible but is likely to break on many systems.

To boot it from a raw disk (the normal operation for Syslinux) would
require a small amount of software which currently doesn't exist, but
you can test it using a disk image and using MEMDISK:

kexec -l memdisk --initrd=disk.img --real-mode

If this actually works and is useful it would be a quick hack to add the
missing piece.

This will not work on UEFI platforms; there is no way to revert to UEFI
boot mode without a system reset.

	-hpa





More information about the Syslinux mailing list