Sunday, December 19, 2010

USB Installation of Windows 7

Requirements:
  • 4 GB Pendrive
  • Win 7 Installation DVD (Bootable)
  • A Computer with USB port & DVD drive

First goto command prompt (run as administrator)

Start->type "cmd"

Type "diskpart"
to manipulate disks

now type "list disk"
to check disk information & that to confirm your usb drive is inserted.

"select disk ###"

# = your USB disk number eg. "select disk 5" if 5 is your USB disk number.

make sure your USB disk is select, it will show asterik  "*" on left side of disk, and type "clean" there is any important data inside backup it in safe location before.

type "create partition primary"
type "list partition"
type "select partition 1" where 1 is your USB number
type "active"
type "list volume" - to check pendrive is assigned or not.
type "select volume Ltr" (Ltr = volume letter)

type "format fs=ntfs quick"
type "exit"


Now goto dvd drive 
type "cd f:"  - if DVD drive letter is f. 
f:\>
type "cd boot"

f:\boot>

type "bootsect /nt60 g:" - where g: drive is USB disk (please confirm your usb drive letter)

type "cd \"

f:\>

type "xcopy /e *.* g:"


f:\>xcopy /e *.* g:
 
install.wim largest file takes long time to copy, just be patience on that time...
After copying 874 files it will finish and terminate the command window typing "exit".

Your pendrive is ready to boot.


Source: http://technet.microsoft.com

1 comment: