Not a member yet? Why not Sign up today
Create an account  

HOWTO: Create a bootable USB key (For flashing BIOS, firmware, etc)

#1
Need to flash your BIOS but don't have a floppy drive handy? Don't waste a blank CD/DVD on attempts to make a bootable MS-DOS DVD, use my method instead!

----------------------------------


HOW TO: [B]Create a bootable MS-DOS USB key[/B]


This post explains how to:
  • Create a bootable (MS-DOS) USB key
  • Copy necessary flashing files to the USB key
  • Boot to the USB key


You will need:
  • Access to a PC with Installed operating system: Windows 2000, Windows XP (32-bit or 64-bit), Windows 2003 (32-bit or 64-bit), or Windows Vista (32-bit or 64-bit)
  • A USB storage device of some kind. Common examples are: USB thumb drive, USB MP3 Player, USB memory card reader w/ memory card, etc
  • HP USB Drive Key Software[CLICK TO DOWNLOAD]
  • DOS Boot Disk Files [CLICK TO DOWNLOAD]

NOTE: The files above are hosted on my personal server, and are meant for the [H]ardForums & BadassGeeks only.




Making a [B]bootable DOS USB Key[/B]

1. Extract and then install the HP USB Drive Key program you downloaded earlier.

2. Extract the DOS boot files somewhere, anywhere. Just remember where you extracted them. For the purposes of this howto let's say we extracted them to C:\bootme\

3. Now you need to run the HP Drive Key program by clicking the icon in your Start -> Programs menu. VISTA USERS: You need to start the HP Drive Key Program as an administrator by RIGHT CLICKING the icon and selecting "Run as Administrator" from the context menu.

[Image: bootkey_1.png]


4. Insert a USB storage device of your choosing and wait for it to be recognized by Windows and the HP Drive Key utility. (once recognized it will appear in the first pulldown menu). For our howto I'm using my favorite busted-ass solid state 256MB MP3 player, but it could be anything with any memory size really. Just remember that anything currently on the USB drive will be sent to data heaven, so make sure to copy anything you don't want to lose from it before continuing. Here is the old and busted MP3 player I'm using as my USB key:
[Image: bootkey_9.jpg]



5. Choose FAT as the filesystem. Set the volume label to anything you want, doesn't matter. Under "Format Options" check the box next to "Quick Format" and "Create a DOS startup disk" . Choose the button next to "Using DOS system files located at:" and click the little browse button "..." next to the blank and navigate to C:\bootme (or wherever you extracted the DOS boot files earlier). Click OK.

Now click "Start" and the HP Drive Key utility will turn your USB device into a bootable DOS disk! (It will popup a window asking you to confirm!)

[Image: bootkey_2.png]
[Image: bootkey_3.png]
[Image: bootkey_4.png]

So let's check out what's on our USB drive now:
[Image: bootkey_5.png]

Well now, what you have here is a bootable USB drive with the few basic files needed to start a basic DOS session. When selected as a boot device this baby will boot your PC to a classic DOS prompt perfect for flashing that motherboard BIOS, updating firmware on your CD/DVD drive, or even flashing your video card BIOS!

So later in this howto I want to flash my motherboard's BIOS and I have the files I need already downloaded. I just drag them from my download location to the USB flash drive (in my case drive G: ).




Booting to DOS with your new [B]bootable USB key[/B]

OK so let's get going:

1. Insert your bootable USB key and reboot your machine. With any luck (ie the correct BIOS settings) after the POST screen you will see your DOS prompt:
[Image: bootkey_6.jpg]


If you don't see a DOS prompt and instead your PC boots directly to Windows again, you may need to enter your motherboard's boot device selection menu. Most AWARD and AMI BIOS for current motherboards have an on-the-fly boot selection menu that you can get to via hotkey at the POST screen. For most AWARD BIOS based systems you press the ESC key at the POST screen. For most AMI (American Megatrends) BIOS based systems it's another hotkey like F8 or F11. On my motherboard the magic hotkey is F11, so let's try that.

Here's my POST screen - quick press F11!
[Image: bootkey_7.jpg]

Pressing F11:
[Image: bootkey_8.jpg]

Well lookie there, a nice menu to select my boot device. Cool eh? 95% of people don't even know they can actually do this. [Image: biggrin.gif]
[Image: bootkey_10.jpg]

So I make sure the USB key is highlighted in the menu and press enter, and I get:
[Image: bootkey_6.jpg]


But on the rare odd motherboard, there is no on-the-fly boot menu. Instead you must enter the BIOS and look for a setting that controls boot order. Here's an example of those settings on my motherboard - see how the USB device is set first?
[Image: bootkey_11.jpg]



OK so by now you've booted to your DOS formatted USB key and have a nice basic DOS prompt waiting for your input:
[Image: bootkey_6.jpg]





AN EXAMPLE: Using your [B]bootable USB key to flash (update) your motherboard's BIOS[/B]

So what can you do with your new bootable USB key? Well you now have a handy way to flash your motherboard's BIOS without having to install and use one of those 'ancient' floppy drives. A USB memory key is a hell of a lot more reliable than a floppy diskette anyway.

So as an example let's flash the BIOS on my motherboard, an MSI P6N SLI Platinum. Please keep in mind that the routine and utilities for BIOS flashing will vary by motherboard manufacturer. In my case we are using a recent version of the AMI BIOS flash utility (AFUD408.EXE) and the latest beta BIOS for my P6N SLI Platinum. Those of you with award BIOS will need the Award BIOS flash utility (usually AWDFLASH.EXE) and of course the updated BIOS binary file for your motherboard.

YOU MUST OBTAIN THE APPROPRIATE BIOS UPDATE FILE AND UTILITY FOR YOUR MOTHERBOARD - WHAT YOU SEE BELOW IS AN EXAMPLE PROCEDURE ONLY

Oh did I mention that if you flash the wrong BIOS you could render your motherboard inoperable? Yup, it's about time for a bold print WARNING, so listen up:

WARNING
Flashing your BIOS can be DANGEROUS! If you don't know what you are doing you can render your PC useless, fuck up your neighbors cable reception, cause your wife to start her period early, let the dogs out, or cause a rip in the space-time continuum. I cannot and will not be held responsible if you break your shit. Understand? Comprende? Capiche? [Image: smile.gif]


At this point you should have made your USB drive bootable, figured out how to boot to it, and copied the files you need to update your BIOS. On with my example...

So let's boot to our DOS bootable USB key again:
[Image: bootkey_6.jpg]



So let's refresh our memory, whats on this disc again? Type "DIR" and press enter to get a list of files on the drive:
[Image: bootkey_12.jpg]


Oh yeah that's right. So here you see:

AFUD408.EXE - The BIOS update utility for my motherboard
A7350NMS.134 - The actual BIOS update file for my motherboard. In your case this might end in .BIN or .ROM. In my case it ends in 134 because it's BIOS version 1.34 and.... well.... that's how MSI named the file.

So now I'm going to update the BIOS on my motherboard using the commands specific to the flash utility I'm using. My command:

AFUD408.EXE A7350NMS.134 /P /B /C

Starts the AMI BIOS Update utility and tells it to program the BIOS on my board with the data in the file A7350NMS.134, and afterwards to clear the CMOS settings. (I'll have to re-enter them when I reboot after the BIOS update). Here is an example of how a sucessful BIOS update might look:
[Image: bootkey_13.jpg]


So now all that's left to do is reboot and re-enter all my BIOS settings. You'll have to do that on your own since that's a little out os the scope of this howto, and plus I'm tired of typing. [Image: smile.gif]


Feel free to ask questions, make comments, etc. I'll do my best to answer anything I can. [Image: smile.gif]
Reply

#2
Note that this is a reconstructed post using Google's cache from our website before the great database disaster. You'll notice missing images and missing linked files, but I'm working on restoring them.

I had no idea how popular the original thread was, but apparently since I posted the original howto over a year ago it's been linked to from all over!
Reply

#3
Nox Wrote:Note that this is a reconstructed post using Google's cache from our website before the great database disaster. You'll notice missing images and missing linked files, but I'm working on restoring them.

I had no idea how popular the original thread was, but apparently since I posted the original howto over a year ago it's been linked to from all over!

It's good to see that this very helpful thread is back again! Wink
Reply

#4
Thanks to elsuirad I've got all of the images now and will be putting them online tomorrow, thereby restoring this howto completely! Smile
Reply

#5
Nox Wrote:I had no idea how popular the original thread was, but apparently since I posted the original howto over a year ago it's been linked to from all over!

Show-off.

















Big Grin
imageshack sucks
Reply

#6
Smile Smile Smile





:p
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Tomato Linksys Firmware thefish 2 7,153 03-02-2010, 04:00 PM
Last Post: thefish
  VIDEO HOWTO: Setting up a FreeNAS Box! TheGeekRedneck 0 4,021 02-08-2010, 12:23 AM
Last Post: TheGeekRedneck
  VIDEO HOWTO: Install Windows Vista / 7 from a USB flash drive TheGeekRedneck 7 8,453 02-05-2010, 08:12 PM
Last Post: TheGeekRedneck
  VIDEO HOWTO: Installing or replacing your video card TheGeekRedneck 2 5,365 01-21-2010, 10:43 AM
Last Post: TheGeekRedneck

Forum Jump:


Users browsing this thread:
1 Guest(s)