ecomaikgolf / alma

toy kernel written in C++ for x86-64 machines with the mere purpose of learning OS development
8 stars 1 forks source link

Get qemu to load ISO image #2

Closed ecomaikgolf closed 3 years ago

ecomaikgolf commented 3 years ago

For now I can load simple .efi images but I'll have to boot from ISO images

ecomaikgolf commented 3 years ago

Things to look at:

ecomaikgolf commented 3 years ago

Managed to boot from iso file using mtools

2021-05-05-005552_316x155_scrot

ecomaikgolf commented 3 years ago

Able to boot a .efi that reads from a file in the .iso

2021-05-05-010813_247x218_scrot

ecomaikgolf commented 3 years ago

Create image

Boot with qemu

qemu-system-x86_64 -bios ./bios.bin -net none -drive file=disk.img