Open HesamGit opened 1 year ago
Use Oracle VM Virtualbox. Much easier then Qemu. Machine->New. Give it a name, default settings. Under Machine->Settings point the Storage->Optical Drive to your built ISO. Happy days.
Just because something has GUI that doesn't mean we need to use it. Qemu on native GNU/Linux is way more faster than VirtualBox + probably he/she made mistake setting Qemu or Makefile or some other mistake
I use WSL2 to use docker and the build runs without any error message. However, I cannot load the final iso file since qemu cannot find the boot sector. I checked the hexdump of kernel.bin and it does not contain '55 aa' in whole file as against a simple boot loader. I also added -nographic since WSL2 does not have gui.
If I run qemu with cdrom (sudo qemu-system-x86_64 -cdrom kernel.iso -nographic):
If I run directly binary with qemu (sudo qemu-system-x86_64 kernel.bin -nographic):