QEMU is hanging on "Booting from floppy"

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
dvyjones
Posts: 2
Joined: Wed Apr 16, 2008 10:21 am

QEMU is hanging on "Booting from floppy"

Post by dvyjones »

I began creating the OS by configuring GRUB, everything worked, except when i selected "DvyOS" from the GRUB list, I got "File not found" error (which I expected, since the kernel file wasn't put on the floppy). When I started QEMU with the boot.bin file on the floppy, QEMU hangs on "Booting from Floppy".

The boot.bin is a nasm compile of the code in "Babystep1" on the wiki, and the floppy is a loopback device.

Any idea what could be wrong?
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

it does just that: nothing
Babystep tutorial wrote:You may notice that the floppy motor doesn't turn off and you can't reboot with Ctrl-Alt-Del.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
dvyjones
Posts: 2
Joined: Wed Apr 16, 2008 10:21 am

Post by dvyjones »

I went on to step 2 (Babystep2) which should print some text, but still nothing happens...
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Post by 01000101 »

it seems like your kernel is getting booted correctly.

The "booting from floppy" should be there, as it means that the file was found and it is up to your kernel to clear the screen post-grub. Also, in PMode, the floppy motor needs to be progmatically turned off while in 32-bit PMode.
Post Reply