Page 1 of 1
Booting from a U3 USB Flash Drive
Posted: Fri Mar 16, 2007 10:54 am
by dcboy
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!
Re: Booting from a U3 USB Flash Drive
Posted: Fri Mar 16, 2007 1:56 pm
by Brynet-Inc
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!
Am I right to assume your flash drive is USB?
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..
Posted: Fri Mar 16, 2007 2:06 pm
by Alboin
Posted: Fri Mar 16, 2007 2:44 pm
by ehird
By the way, anyone know how to use grub on an msdos partition? The installation goes all weird inside qemu.
Posted: Fri Mar 16, 2007 4:05 pm
by dcboy
Thanks guys, it should work
Edit: with grub, how do I load the kernel and the boot file?
Posted: Fri Mar 16, 2007 4:56 pm
by Brynet-Inc
dcboy wrote:Thanks guys, it should work
Edit: with grub, how do I load the kernel and the boot file?
(
Grub would normally replace your "boot" file.. Unless it's a second stage..)
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..