Last Updated on December 27, 2010 by Dave Farquhar
I wasn’t in any hurry to switch to Windows 7, but when several places put the Windows 7 family pack on sale for $125 or thereabouts, I figured I’d better get it. The normal price on three upgrades is $100-$110 a pop. And you know how it goes. Once you get something, you really don’t want it to just sit on the shelf. Why let the software collect dust while I wait for 64-bit Firefox to arrive?
So I want to install it off USB. It’s easy, right? Well, it’s easy if you’re running Vista. But the instructions floating around for making bootable Windows 7 installation USB media don’t work if you’re running XP. At least they didn’t work from any of my XP machines.The problem is that Windows XP’s diskpart.exe doesn’t recognize USB drives.
The best workaround I could come up with if you don’t have a Vista or 7 PC to work with is to boot off the Windows 7 DVD, pick your language, click next, click Repair your computer, click the ?Use recovery tools radio button, click next, then click command prompt.
Now you can run diskpart. Put your USB drive in, type diskpart at the command prompt, and type list disks to find your USB drive. Mine was disk 1, so I typed select disk 1. Type clean to erase the partition table. Type create partition primary to make a new partition. Type active to make it bootable. Now do a format fs=fat32 quick or format fs=ntfs quick depending on the filesystem you want. FAT32 will install a little faster but NTFS doesn’t have the 4 GB file limit if you’re going to use the drive for other things. Now you can reboot into XP, immediately copy all the files off the 7 DVD over into the USB drive using Windows Explorer, and you’ve got bootable USB installation media.
Intuitive? No. But easy enough once you know the steps. And if you have a 7 or Vista PC to work with, you can do all the prep, starting from the diskpart step, from a command prompt, without booting off the CD at all. All that’s left then is figuring out what BIOS hocus-pocus it takes to get your PC to boot off USB. Every last one of mine is different, so you’re on your own for that.
It’s worth it though. Installation off a USB flash drive is really fast. The days of building a PC taking all weekend are just about done. And good riddance.
David Farquhar is a computer security professional, entrepreneur, and author. He started his career as a part-time computer technician in 1994, worked his way up to system administrator by 1997, and has specialized in vulnerability management since 2013. He invests in real estate on the side and his hobbies include O gauge trains, baseball cards, and retro computers and video games. A University of Missouri graduate, he holds CISSP and Security+ certifications. He lives in St. Louis with his family.
2 thoughts on “Upgrading from Windows XP to Windows 7 with USB media”
Or you could make life a lot simpler and use a nice freeware product called WinToFlash which is a very easy tool for creating a bootable USB Flash Drive for installing Windows 7/Vista/Server 2008 and I think XP and Server 2003 possibly too.
I fact, I think i’m right in saying that you too suggested this app in one of your much earlier blog posts here. It was because of that posting that allowed me to do some much needed server installs at work that I couldn’t do because having a DVD drive available was not an option at the time.
Indeed, I’ve written about Wintoflash before, and used it for XP. I do think it’s neat that you can do that with Windows 7 without having to use a third-party tool. Which is good if you happen to work for someone who’s strict about what software they let you use. I’ve had some clients like that.
Comments are closed.