Code: Select all
qemu-system-i386 -cdrom myos.iso
I created the iso with grub-mkrescue following the tutorial:Booting from DVD/CD...
Boot failed: Could not read from CDROM (code 0009)
Code: Select all
mkdir -p isodir
mkdir -p isodir/boot
cp myos.bin isodir/boot/myos.bin
mkdir -p isodir/boot/grub
cp grub.cfg isodir/boot/grub/grub.cfg
grub-mkrescue -o myos.iso isodir
Code: Select all
grub-install --version
grub-install.real (GRUB) 2.02~beta2-9ubuntu1
Code: Select all
qemu-system-i386 -kernel myos.bin