Help! My operating system won't boot from BIOS

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
andrewthompson555
Member
Member
Posts: 27
Joined: Thu Oct 13, 2016 2:07 pm

Help! My operating system won't boot from BIOS

Post by andrewthompson555 »

Hello

I just created my operating system. It works on QEMU but when I use Rufus to put the IMG file onto a USB and boot from BIOS, it just skips it. It's got a BIOS parameter block. The code successfully compiled and I'm using Windows PE (Preinstalled Environment) or repair disc for Windows 7. Sad really.

What might be happening? It shows USB HDD in the BIOS. Many things worked before.
heat
Member
Member
Posts: 103
Joined: Sat Mar 28, 2015 11:23 am
Libera.chat IRC: heat

Re: Help! My operating system won't boot from BIOS

Post by heat »

andrewthompson555 wrote:Hello

I just created my operating system. It works on QEMU but when I use Rufus to put the IMG file onto a USB and boot from BIOS, it just skips it. It's got a BIOS parameter block. The code successfully compiled and I'm using Windows PE (Preinstalled Environment) or repair disc for Windows 7. Sad really.

What might be happening? It shows USB HDD in the BIOS. Many things worked before.
Are you sure you're not just using UEFI with secure boot enabled? Anyways, check your USB drive for the magic bytes at the standard offset.
If some of you people keep insisting on having backwards compatibitity with the stone age, we'll have stone tools forever.
My Hobby OS: https://github.com/heatd/Onyx
andrewthompson555
Member
Member
Posts: 27
Joined: Thu Oct 13, 2016 2:07 pm

Re: Help! My operating system won't boot from BIOS

Post by andrewthompson555 »

This is an old PC. It is Acer Aspire One. There's no settings for secure boot. I tried using the F12 boot manager. It says USB FDD: SMI DISK or something like that. I press it and it ever goes to my Ubuntu (I used Windows 7 repair disc to make my OS!!! :P). When I try the other one as it sometimes duplicates, it just loads and loads and loads forever.

It works on QEMU. I tried using fat_imgen which creates FAT12 bootable floppy images and WinImage but none of that works. Please help. It compiled well.
Post Reply