You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my first project using this crate, I've followed the quick start (https://github.com/rust-osdev/bootloader/blob/HEAD/docs/create-disk-image.md) exactly down to the file/folder names. The project generates both uefi.img and bios.img files which QEMU accepts, but after loading the kernel I can see "Third Stage (....)" in the console, but it immediately closes and restarts the kernel. The entry point (using the entry_point!() macro) has a infinite loop and so does the panic handler, which I would assume would leave the kernel "hanging" but instead constantly restarts as if the kernel's code isn't running at all.
The text was updated successfully, but these errors were encountered:
That document doesn't explains how to add something useful to the kernel. Have you really got a kernel?
If you don't have one, the bootloader will automatically enter in panic. And QEMU will handle it rebooting the system.
This is my first project using this crate, I've followed the quick start (https://github.com/rust-osdev/bootloader/blob/HEAD/docs/create-disk-image.md) exactly down to the file/folder names. The project generates both
uefi.img
andbios.img
files which QEMU accepts, but after loading the kernel I can see "Third Stage (....)" in the console, but it immediately closes and restarts the kernel. The entry point (using theentry_point!()
macro) has a infinite loop and so does the panic handler, which I would assume would leave the kernel "hanging" but instead constantly restarts as if the kernel's code isn't running at all.The text was updated successfully, but these errors were encountered: