Thread: Bootable USB

  1. #1
    Registered User
    Join Date
    Jun 2014
    Posts
    16

    Bootable USB

    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.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    https://www.google.co.uk/search?q=Bootable+USB

    Which OS / Compiler are you writing code on?
    Which OS are you trying to boot?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Jun 2014
    Posts
    16
    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.

  4. #4
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    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
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  5. #5
    Registered User
    Join Date
    Jun 2014
    Posts
    16
    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.

  6. #6
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    It seems like this would be a good place to start
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. bootable cd
    By howeezy in forum Tech Board
    Replies: 1
    Last Post: 11-01-2005, 07:18 AM
  2. Bootable floppy
    By Guti14 in forum Tech Board
    Replies: 1
    Last Post: 09-02-2004, 06:30 AM
  3. .Bin to bootable?
    By RoD in forum Tech Board
    Replies: 6
    Last Post: 08-31-2004, 10:16 PM
  4. What's in a bootable cd ?
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 02-16-2002, 04:38 PM
  5. Bootable CD's
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 10-17-2001, 12:06 PM

Tags for this Thread