x86-bare-metal-examples icon indicating copy to clipboard operation
x86-bare-metal-examples copied to clipboard

Multiboot fails on Mac hardware

Open casperes1996 opened this issue 4 years ago • 2 comments

Thank you for this fantastic repo.

The multi-boot Hello World sub project, when dd'ed to a USB flash drive cannot boot properly on macOS. I get a GRUB Rescue menu that seems unable to load the actual /boot elf file. This Mac has an Ubuntu 20.10 installation that uses GRUB successfully, though Ubuntu is installed to an external disk and GRUB is on the internal so it's a tad weirdly set up but works for booting both Ubuntu and macOS, but I cannot get the multi-boot Hello World example to boot. Any ideas? Works fine in QEMU.

Also have my own boot loader written for Master Boot Record and BIOS based booting which my Mac also doesn't like, but I suspect that's because some of the assumptions I make require it to be on an IDE device. But maybe not, it shows "No bootable disk could be found" which is not a message from my boot loader, so it may never even execute a single instruction of mine.

casperes1996 avatar Mar 05 '21 03:03 casperes1996

Sorry, I don't know this. Let me know if you find something out.

cirosantilli avatar Mar 05 '21 09:03 cirosantilli

Alright; If anyone else winds up reading this who might know or figure it out, do let me know. I will see if I can figure out what might be going on Cheers -Casper S. Institute for Computer Science @ Aarhus University

On 5 Mar 2021, at 10.11 AM, cirosantilli [email protected] wrote:

Sorry, I don't know this. Let me know if you find something out.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cirosantilli/x86-bare-metal-examples/issues/16#issuecomment-791280777, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHMUPVZZKBUN7UOUROQBE6TTCCN35ANCNFSM4YUNZHRQ.

casperes1996 avatar Mar 05 '21 14:03 casperes1996