Virtualbox works but real hardware doesn't

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
feare56
Member
Member
Posts: 97
Joined: Sun Dec 23, 2012 5:48 pm

Virtualbox works but real hardware doesn't

Post by feare56 »

I was having trouble getting my os to work on my real hardware. As of now i dont have a bootloader, i don't know if i want to roll my own or use GRUB. The os works perfectly in virtualbox though. Do i need to get a bootloader in order to boot up my os on real hardware?
User avatar
Kazinsal
Member
Member
Posts: 559
Joined: Wed Jul 13, 2011 7:38 pm
Libera.chat IRC: Kazinsal
Location: Vancouver
Contact:

Re: Virtualbox works but real hardware doesn't

Post by Kazinsal »

How the heck are you booting your kernel in VirtualBox without a bootloader? O_o
feare56
Member
Member
Posts: 97
Joined: Sun Dec 23, 2012 5:48 pm

Re: Virtualbox works but real hardware doesn't

Post by feare56 »

I use magiciso and set the bootable to my kernel.bin
egos
Member
Member
Posts: 612
Joined: Fri Nov 16, 2007 1:59 pm

Re: Virtualbox works but real hardware doesn't

Post by egos »

In real hardware too large ISO boot loader can not be supported. Use ISO boot loader with size 2/4 Kb and provide common boot order: stage 1 boot loader -> kernel/stage 2 boot loader.
If you have seen bad English in my words, tell me what's wrong, please.
feare56
Member
Member
Posts: 97
Joined: Sun Dec 23, 2012 5:48 pm

Re: Virtualbox works but real hardware doesn't

Post by feare56 »

Ok thank you. I have tried to find a bootloader that will work to install it with the os on windows 8 but I can't find one that will run on it do I need linux to get the bootloader?
egos
Member
Member
Posts: 612
Joined: Fri Nov 16, 2007 1:59 pm

Re: Virtualbox works but real hardware doesn't

Post by egos »

You can take any free boot loader. My boot loaders (except testing now experimental MBR boot loader Alter 3) are closed. You can take Yoda's boot loaders (see OS Boot Tools). They are free for non-commercial use. I learn NTFS and plan to write NTFS boot loader from scratch. Its basic version will be free. But I don't know when I have done it. And I put the comments only in our national osdev forum, not here.
If you have seen bad English in my words, tell me what's wrong, please.
feare56
Member
Member
Posts: 97
Joined: Sun Dec 23, 2012 5:48 pm

Re: Virtualbox works but real hardware doesn't

Post by feare56 »

ok thank you
Post Reply