I had a question about boot-able devices. Are there libraries that are available to load your software from a usb before the OS loads? Sorry if this is in the wrong section but I am interested in C libraries. Thank You.
Printable View
I had a question about boot-able devices. Are there libraries that are available to load your software from a usb before the OS loads? Sorry if this is in the wrong section but I am interested in C libraries. Thank You.
https://www.google.co.uk/search?q=Bootable+USB
Which OS / Compiler are you writing code on?
Which OS are you trying to boot?
Nevermind. I'm sure I would need an OS to control all hardware before my program could even load. Stupid Question. I apologize. Thanks anyway.
O_o
Nothing would stop you from booting a thin operating system configured to automatically execute a specific program.
I've done exactly that with a "Live Linux" disc configured to setup a GUI environment and run some anti-virus/recovery stuff.
If you are talking about something like modifying the as yet unloaded operating system, we don't discuss that sort of thing at this forum.
Soma
Thank you. I have no interest in modifying the unloaded OS. My interest is basically figuring out what makes a drive readable at startup. If I'm correct the BIOS releases control to the hard drive or any other media that you ask it to. What specifically is the BIOS looking for and can I make my computer run my simple program at startup without loading the OS. The more I think about it the more impossible it seems but I thought I'd ask just in case someone had incite. Maybe what I'm looking for is writing a boot loader. I'm sure that's more advanced than I'm able to deal with at this point in time.
It seems like this would be a good place to start