October 9, 2010

Install Win7 From USB Drive


First, you need a 1 GB or more USB drive, and second, you need OS installation files (CD/DVD or .iso image). Start by plugging in the USB drive and then open command prompt (run command prompt as an administrator). Write 'diskpart' and hit Enter. This will open a new command prompt window. In this window, type 'list disk' and then note down disk number of your USB drive (disk 1). Next, run the following commands in sequence:
select disk 1
clean
create partition primary
select partition 1
active
format fs=ntfs
assign
exit

Once you have assigned a drive letter for your USB drive (i: in this case), open a new window for command prompt. Insert Windows DVD in an optical drive or mount an image of the same in a virtual drive (f:), and run the following commands:
f:
cd boot
bootsect.exe /nt60 i:
exit
Copy all files from Windows installation media (DVD) or image on the USB drive (i:). Now you can use this drive to install Windows on any machine. Simply change the boot sequence of the machine you plan to install Windows 7 on to USB and off you go.

0 comments: