DIY multiboot?
#10
(04-11-2020, 09:37 AM)ab1jx Wrote: Well, a Raspberry doesn't have kexec, i can tell you that. Smile  I need to fire up my PBP and look for it.  A Raspberry 3B is my everyday machine lately.  Nope, on the PBP I can't find kexec, by apropos or locate, or in Synaptic.  Should I try github?

kexec(8) is a wrapper around the kexec kernel functions kexec_load (2) and kexec_file_load (2). You already found the man-pages on your machines. As you stated you want to write a C program then that's all you need. That is a great learning experience. kexec (8) is a simple command-line tool saving you a lot of time, though. On debian kexec (8) is part of the kexec-tools package. I don't know about github, but assume you will find the project website, or at least the source code, somewhere in the Internet as well

~$ apt-file search /sbin/kexec
kexec-tools: /sbin/kexec

The possibilities are endless: instead of re-implementing kboot, you can also try to make it or petiteboot work on your machine. You can also check out manawyrm's mysterious twitter link and learn about tsys's bootloader.

(04-11-2020, 09:37 AM)ab1jx Wrote: But really, you could boot from the standard eMMC then run whatever scripts to boot a partition on the SSD. (seems like)

Yes, if you mean with script a call to kexec (8).


Messages In This Thread
DIY multiboot? - by ab1jx - 04-09-2020, 06:19 PM
RE: DIY multiboot? - by IoSer - 04-09-2020, 09:35 PM
RE: DIY multiboot? - by Der Geist der Maschine - 04-09-2020, 11:01 PM
RE: DIY multiboot? - by ab1jx - 04-10-2020, 11:33 AM
RE: DIY multiboot? - by Der Geist der Maschine - 04-10-2020, 12:02 PM
DIY multiboot? - by Wizzard - 04-11-2020, 07:14 AM
RE: DIY multiboot? - by manawyrm - 04-11-2020, 08:12 AM
RE: DIY multiboot? - by ab1jx - 04-11-2020, 09:37 AM
RE: DIY multiboot? - by Der Geist der Maschine - 04-11-2020, 01:04 PM
RE: DIY multiboot? - by IoSer - 04-11-2020, 10:58 AM
RE: DIY multiboot? - by ab1jx - 04-11-2020, 07:30 PM
RE: DIY multiboot? - by Wizzard - 04-14-2020, 12:43 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)