DIY multiboot?
#3
(04-09-2020, 06:19 PM)ab1jx Wrote: I get that a boot menu (like GRUB) isn't going to work because there's no video until the driver loads.  But what if you load a very minimal Linux partition with the video driver, then write a small boot menu (in C) that boots your choice of OS.  It could be on the eMMC even, the SSD doesn't need to be bootable directly.

Except I don't know what to do in C to boot another partition because I've never done it.  Would I just system() a kernel with a full path and command line options?  Probably not, and what if the kernel isn't Linux, like an OpenBSD one?  system() probably isn't going to like that.


You can kexec into another kernel on another partition and pass an appropriate cmdline to make that kernel mount that partition as root.

In theory, you may be able to kexec an openbsd kernel ... in practise ... maybe not without effort.


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)