Hi, I'm new to the whole OS development stuff and I managed to create a simple kernel in assembly and C. I have compiled it and have boot.bin and system.bin. Is there any way that I can boot my operating system using my U3 bootable flash drive?
Any resources and tutorials you find would help!
thanks!
Booting from a U3 USB Flash Drive
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
Re: Booting from a U3 USB Flash Drive
Am I right to assume your flash drive is USB?dcboy wrote:Hi, I'm new to the whole OS development stuff and I managed to create a simple kernel in assembly and C. I have compiled it and have boot.bin and system.bin. Is there any way that I can boot my operating system using my U3 bootable flash drive?
Any resources and tutorials you find would help!
thanks!
Most new systems offer a multitude of USB booting capabilities.. Pretty sure most just emulate a hardrive.
I don't have much information about this.. sorry..
Last edited by Brynet-Inc on Fri Mar 16, 2007 2:29 pm, edited 1 time in total.
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
(Grub would normally replace your "boot" file.. Unless it's a second stage..)dcboy wrote:Thanks guys, it should work
Edit: with grub, how do I load the kernel and the boot file?
But with grub your kernel should support Multiboot..
http://www.gnu.org/software/grub/manual/multiboot/
You may also use a separate boot loader (boot) and chain-load it with grub.. but that sorta negates the entire thing..