Booting from USB Stick
Most computers don’t have floppy drives anymore these days. But every now and then, I bet you still wish you had one!
A USB stick is a great and far better alternative, but you can’t boot from your stick. And in some cases that is exactly what you need.
After some searching and testing, I now have a bootable USB Stick. I use it to boot into Windows PE and from there you can start a complete OS install, troubleshoot a system, install additional drivers, …
First thing you need: a number of freeware tools.
- Bootpart (http://www.winimage.com/bootpart.htm)
- HP USB Stick Format Tool (http://www.pctipp.ch/downloads/dl/32594.asp)
- Virtual Floppy Driver (http://chitchat.at.infoseek.co.jp/vmware/vfd.html#download)
Step 1: Format a floppy as DOS boot disk
Don’t worry; you don’t need a real physical floppy drive. Instead we will create a virtual floppy using ‘Virtual Floppy Driver’.
Install the Virtual Floppy Driver:
c:\VirtualFlop\vfd.exe install
c:\VirtualFlop\vfd.exe start
c:\VirtualFlop\vfd.exe link a /L
c:\VirtualFlop\vfd.exe open c:\flop.img
When the system asks you to create the file, say yes.
If you check Windows Explorer now, you should see the A: drive. Rightclick drive A: and choose format. Format the floppy as a DOS startup disk.
Step 2: Format your USB stick as a bootable device
Install the HP USB Disk Storage Format Tool. Then run the tool with the following options:
Device: USB Device
File system: FAT 16
Deselect Quick format
Select Create a DOS startup disk using DOS system files located at A: (virtual floppy drive)
Step 3: Copy Windows boot files to the memory stick
This depends on the version of Windows that you would like to boot in of course.
For XP, Windows 2003 and Windows 2000, you need the following boot files:
- Ntldr
- Ntdetect.com
- Boot.ini
For Vista, you need the following files:
- Bcd
- Bootfix.bin
- Bootmgr
Then copy Bootpart to your memory stick and the Windows PE image that you want to boot into.
Step 4: Set your BIOS to boot from USB
Make sure your USB stick is plugged in, restart your computer and enter the BIOS. There move USB device to the top of the boot order list.
On most Dell systems you can simply press F12 during the Dell screen and the list of available boot devices will show up. Select your USB device and press enter.
At this moment you are booting from your USB stick, but since you made a DOS boot stick, you boot in DOS.
To boot in Vista or XP or Windows 2003: at the DOS prompt, go to the bootpart directory and type the following:
C:\Bootpart\bootpart <part_type> boot:c:
where <part_type> is DOS622 – Win95 – Winnt – Vista. This will rewrite the bootsector on the C: drive to boot under the OS that you need.
Reboot your machine, boot from the USB stick again and the Windows boot process will start.
By the way, I am blogging in Word 2007 here. Pretty cool, isn’t it?
Just open a new document, choose new blog entry. Then select your blog provider from the list. You will be asked for your blog credentials and when you are ready you can just publish your blog!
Simple.
I’ll do that now.