04-10-2020, 12:02 PM
(04-10-2020, 11:33 AM)ab1jx Wrote: OK, I see
Code:apropos kexec
kexec_file_load (2) - load a new kernel for later execution
kexec_load (2) - load a new kernel for later execution
pkexec (1) - Execute a command as another user
systemd-kexec.service (8) - System shutdown logic
Thanks, didn't know there was such a thing. I seem to always install at least twice before I get things the way I want them.
Use kexec (8). Perhaps run your mini-linux from a initrd, only.
If you don't want to reinvent the wheel then read https://www.landley.net/kdocs/ols/2006/o...-27-38.pdf - I did not read it, but the title "kboot—A Boot Loader Based on Kexec" seems promising.