machyve / xhyve

xhyve, a lightweight OS X virtualization solution
Other
6.44k stars 354 forks source link

Possible to boot grub2 on ISO? #142

Open jmdots opened 6 years ago

jmdots commented 6 years ago

Hi.

I'm developing a custom non-Linux non-FreeBSD kernel. The tutorial I'm following uses qemu-system-x86_64 -cdrom os.iso where os.iso is a ISO made by the command grub-mkrescue -o os.iso isofiles.

Ideally, I'd be able to boot this ISO in xhyve at MacOS instead of using qemu-system-x86_64 (probably inside a Debian docker container). Is there a way to boot ISO-based grub2 using xhyve today? I see the firmwares are for fbsd and kexec -- but it appears neither is directly applicable to booting bootloaders like Grub2.

Thanks!

Ref: https://os.phil-opp.com/multiboot-kernel/

barajus commented 5 years ago

Hi, any update ? I am also interested :)