Page 1 of 1
Virtualbox works but real hardware doesn't
Posted: Tue Feb 19, 2013 7:37 pm
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?
Re: Virtualbox works but real hardware doesn't
Posted: Wed Feb 20, 2013 1:23 am
by Kazinsal
How the heck are you booting your kernel in VirtualBox without a bootloader? O_o
Re: Virtualbox works but real hardware doesn't
Posted: Wed Feb 20, 2013 6:41 am
by feare56
I use magiciso and set the bootable to my kernel.bin
Re: Virtualbox works but real hardware doesn't
Posted: Wed Feb 20, 2013 7:02 am
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.
Re: Virtualbox works but real hardware doesn't
Posted: Wed Feb 20, 2013 4:00 pm
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?
Re: Virtualbox works but real hardware doesn't
Posted: Thu Feb 21, 2013 1:58 am
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.
Re: Virtualbox works but real hardware doesn't
Posted: Thu Feb 21, 2013 11:14 am
by feare56
ok thank you