I am following Zesterer's Barebones tutorial (
https://wiki.osdev.org/User:Zesterer/Bare_Bones)and i am now trying to run the .elf file produced using qemu
Whenever i run the command
Code:
qemu-system-i386 -kernel mykernel.elf
i get the error
Code:
qemu-system-i386: Error loading uncompressed kernel without PVH ELF Note
while i thing that i understand why this is happening, i do not know how to fix it, and the suggestions i found online about using the flag
Code:
-machine type=pc-i440fx-3.1
had qemu try to boot from rom indefinitely
how can i solve this problem? thank you in advance