I followed the steps shown in http://wiki.osdev.org/Bare_Bones and able to run it successfully on QEMU.
Now I want to run it from a bootable USB.
Now problem is that on the above link it has mentioned how to create .iso image but it is actually creating .bin image.
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
sudo dd if=myos.bin of=/dev/sdb && sync
it says bootable image not found.
How do I create myos.iso? and why doesn't it create an iso image even though it is mentioned to create the .iso in
Code: Select all
grub-mkrescue -o myos.iso isodir