How to run operating system on qemu?
- Install qemu
- Make the project using make command
- Run qemu with following command
qemu-system-i386 -fda os-image.bin
If you want run on real hardware?
- Make sure that at least 128 MB of RAM is installed on your computer
- Make the project using make command
- Connect the astorage device to your computer
- Load the operating system to your storage device using the following command
sudo dd if=os-image.bin of=/dev/sdb bs=30000 count=1
If it doen't work try to check all connected devices and replace /dev/sdb with your device
sudo fdisk -l
5.Reboot your computer and select the storage device with os in boot menu