Thursday, August 19, 2010

Installing Windows 7 From USB

Installing windows versions like xp, vista, se7en from a usb has been a big search term in the google the last few years. The reason is that the most modern laptops comes withought a CD/DVD drive..not all..
It ads oil to the fire, when you come to know that booting from USB is much much faster than CD/DVD..So lets give it a try…
For the hackersorigin ppl i have made an exclusive video in youtube..

http://www.youtube.com/raghuldev

You can do it for any versions of Windows..here we are dealing with Win7

1. Grab a iso of a Windows 7 Release (google is your friend)

2. If you are under vista you can use diskpart method, if you are under xp you wil need a bootsect.exe file and paragon partition manager.

Direct upgrade without any usb:
If you are under vista you can upgrade but be careful because if you use a different version (e.g: vista basic and your project is to upgrade to windows 7 ultimate ) it will NOT work

Under Vista:
Mount the dvd iso image or insert the dvd into the drive..

goto: START >
type


cmd

right click and choose run as administrator (clearly shown in the video)

in the command prompt type:

diskpart

A new window should appear, enter the following commands:

list disk (it will show you the disks attached to your computer, make sure you see your usb in there by checking the amount of space it has)

then yppe in the following commands…

select disk 2 (if 1 is your usb of course otherwise give the right number)

clean
create partition primary
select partition 1
active
format fs=fat32

when the formatting is complete type in

exit

That’s done your usb is ready and bootable, now we have to copy the files from image drive or CD/DVD to USB!!!

in the cmd again excute this command format:

xcopy sourcedrive:\*.*/s/e/f destinationdrive:\

in my case i did it as:

xcopy I:\*.* /s/e/f k:\

This will take some time to complete,once done, start over your computer and set in bios to start from usb

That’s it enjoy your install

Under xp:
Download an iso of windows 7 and extract it usig winrar

For easy use we will extract the content of the iso to C:\W7

Get paragon partition manager (again google is your friend)
Format the usb and make a primary partition and make it active, don’t forget to apply all the changes in paragon so its done right.

use this bootsect, download it extract it somewhere in C:\

go into start then run and enter: cmd

go where bootsect.exe is and type:
bootsect.exe /NT60 X:
(where X is your usb drive letter, replace it with yours)

once that done you should see a message that bootcode has been installed successfully in the target drive.

in the cmd again excute this command:

Code:
xcopy C:\W7\*.* /s/e/f X:\
(Where X is your usb key, replace it with yours)

This Post Is Written By
http://www.hackersorigin.com

No comments: