Tips: How to boot/install Windows 7/Vista from USB Flash/Hard Drive

7 December, 2008
Share/Bookmark

To follow up with my previous post, for those who got their hands on the latest leak build, some of you are looking for blank Dvds or waiting for it to burn at low speed and hopefully it wont fail half way (bad burns). I’m not sure if this was posted before but here’s the solution.

- Get a 4GB USB Drive and plug it in under Vista (i don’t think XP has diskpart)

- Click Start –> type CMD and right click Run as Admin

- Inside cmd, type and enter the followings:

  1. diskpart
  2. type “list disk” and you will see all connected disks and numbers
  3. diskpart-ld

  4. select disk X (X being the number of the usb disk )
  5. clean
  6. create partition primary
  7. select partition 1
  8. active
  9. format fs=fat32
  10. assign
  11. exit

- Open your drive under explorer, copy all files from vista/7 iso to the usb drive.

- in Bios, set to boot from USB and have fun.

Source

For USB Hard drive,follow this tips from istartedsomething:

Boot from USB Hard Drive

Updated Article

http://dotnetwizard.net/hacks/how-to-bootinstall-vista-from-a-usb-flash-drive/

Categories : Vista Stuff Tags :

About Nam

Other posts by Nam

Comments

Very useful. Thanks Nam. ;)

ReplyReply
Commented by Thomas
on December 7, 2008

thank u so much…..
i was wondering if i could copy my (restore DVD) content of my laptop that contains vista home…is it possible? :?:

ReplyReply
Commented by Rafael
on December 10, 2008

i ment to copy the dvd in the usb drive

ReplyReply
Commented by Rafael
on December 10, 2008

I don’t think the restore DVD would works the same but sure you could try. I think Vista’s boot loader is different than others’ boot loader.

Nevertheless, you can find the UPGRADE ANYTIME DVD usually ship with new laptop or download an untouched iso of vista with sp1 and create your USB. When install, remember to choose Vista Home Premium and insert the CD key from the bottom of your laptop for activation. The real problem is the drivers. All you do prior to installation is go to laptop vendor’s site, search for your model, then download all the drivers (wifi, lan, graphic, sound etc.) and place them aside with vista installation files on the usb.

This way you will have a clean Desktop once done reinstalling without 3rd party junks. Hope that help.

ReplyReply
Commented by Nam
on December 12, 2008

I have a doubt how do I know what disk I select because I have 2 hard drives installed an I do not want to accidentally delete something. Thanks.

ReplyReply
Commented by Pacoloco
on December 13, 2008

Hi Pacoloco:

To make sure you do not erase the wrong drive, in cmd, after you type diskpart, type “list disk” to see all available drives. For your case, You should see Disk 0, Disk 1, then Disk 2.

To differentiate them, you’ll have to look at the size of them. Let say I plugged in a USB (6GB), I should see this:

then do select disk (0 or 1 or 2) corresponding to your drive. I think you’re will be 2. Hope this help. :P

ReplyReply
Commented by Nam
on December 14, 2008

Hi Pacoloco:

To make sure you do not erase the wrong drive, in cmd, after you type diskpart, type “list disk” to see all available drives. For your case, You should see Disk 0, Disk 1, then Disk 2.

To differentiate them, you’ll have to look at the size of them. Let say I plugged in a USB (6GB), I should see this:
http://img175.imageshack.us/my.php?image=listdiskdc7.png

Here my usb is disk 1 so I do “select disk 1″.
For you, do select disk (0 or 1 or 2) which ever corresponding to your drive. I think you’re will be 2. Hope this help.

ReplyReply
Commented by Nam
on December 14, 2008

Pls tell me which all files to copy from Vista to USB..?

ReplyReply
Commented by Pop
on December 21, 2008

@ POP:

I think all files.

ReplyReply
Commented by theWizard
on December 22, 2008

it failed for me @ 98% when expanding files during the install. any ideas

ReplyReply
Commented by the baker
on December 29, 2008

I installed Windows 7 to a spare harddrive, but now i can’t seem to boot in to vista!

How do i create an option to do so? is there something like a grub menu for windows?

ReplyReply
Commented by Joey
on December 29, 2008

@Joey:
Hey Joey,
Run msconfig by either typing it into the search bar in the start menu or in Run. Now when the window pops up, select the Boot tab. Now in the list box you should be able to see both Vista and Windows 7 as two separate options. Click on Vista and press ‘Set as default’. I had this same problem occur however with two Vistas installed. It kept booting up the one I didn’t want so all I had to do was select the one I wanted through this method. Hope this helps

ReplyReply
Commented by BigDirtyNoob
on January 1, 2009

XP has Diskpart but format fs=fat32 does not exist in it.
Format from explorer instead.

ReplyReply
Commented by Eddy
on January 2, 2009

Yeah, don’t forget list disk! I wonder how many people formatted the wrong disk using this guide?

ReplyReply
Commented by hdjunkie
on March 1, 2009

Yes you are correct 8O make sure to use “list disk” (without quotes) before step 2. The above example is valid for one physical HDD only.

use that command to find the correct disk and then type
select disk X (X being the usb drive)

ReplyReply
Commented by blacknoise
on March 2, 2009

Thank you so much
I have been looking for something like this for a long time
I wanted to clarify something
I have a kingmax 16gb
after i installed windows 7 now i cannot copy files to my pen at 10MB/sec
i can copy at maximum speed of 2MB/sec
i tried reformatting it to fat32 also NTFS
can any one please help me
still my pen reads at 17MB/sec

ReplyReply
Commented by Almand3000
on March 9, 2009

Hahah I definatley just formatted the wrong drive.

That’s what happens when you read the comments last :|

ReplyReply
Commented by Jeff
on March 22, 2009

@Almand3000:
probably some issue with usb drivers and your usb stick…You may want to get the newest windows 7 perhaps 8O

ReplyReply
Commented by blacknoise
on March 22, 2009

@Nam:

You should really put that in the article. I have 3 hdds and I acidentally deleted 300Gb worth of data.

ReplyReply
Commented by Mike777777777
on March 31, 2009

Very usefull and easy to understand guide. :) Thanks!

ReplyReply
Commented by Olle
on March 31, 2009

Too bad it doesn’t work. The USB key isn’t bootable if you follow the instructions above.

Anyone want to take a guess how to make it bootable?

ReplyReply
Commented by RH
on April 26, 2009
Commented by Nathan
on April 28, 2009

hmmm not so sure about the part about adding the vista files will work :?: :?: :?:

ReplyReply
Commented by blacknoise
on April 28, 2009

I didn’t expect it to work. The article is poorly written and contains minimal detail. Why even put one up in the first place? You just wasted a bunch of people’s time.

ReplyReply
Commented by matt
on April 29, 2009
Commented by blacknoise
on April 29, 2009

Didn’t work for me , when i tried too boot from usb it says :

insert a boot device
press CTRL+ALT+DEL

ReplyReply
Commented by Victor
on April 30, 2009

@Victor:

see the new link

ReplyReply
Commented by blacknoise
on April 30, 2009

Thanks!
:P

ReplyReply
Commented by jendabek
on May 6, 2009

I had the problem with the “invalid partition table” on my 3e pc and manige to find an ansar 8) . it’s : NTFS insted of FTA32 it’s not as fast as an fat32 install but it works on my machine.

ReplyReply
Commented by Ketting
on June 3, 2009

Thanks, superb guide. :-P

ReplyReply
Commented by Hassan
on June 12, 2009

Nice tutorial, but mine always showing “missing operating system”. I’m using diskpart utility in windows 7 and want to copy vista installer from bootable .iso (opened using powerISO) to my Kingston thumbdrive 16G. Im sure there is no prblm with ISO file, because it works well in virtual pc. Please help me, my DVD-ROM is already spoil, cant read any vista DVD.. :cry:

ReplyReply
Commented by Ray
on June 15, 2009

Windows XP has diskpart.exe utility, but it cannot be used to prepare USB for Vista. Reason is dispart under Windows XP sees only one drive and rest object (such as USB’s) as volume. There is no way to delete, clean, etc volumes like that.
I tried all options and none of them work.

ReplyReply
Commented by Mike
on June 27, 2009

does any1 kn0w if it works

ReplyReply
Commented by stelios
on August 22, 2009

@stelios:
Yes it should…check out the updated articles if you want more detailed info..So far the two methods below works without problems

http://dotnetwizard.net/tutorials/installing-windows-7-from-a-usb-drive-newbie-guide/

http://dotnetwizard.net/tutorials/how-to-install-windows-7-using-a-usb-hard-disk/

ReplyReply
Commented by blacknoise
on August 22, 2009

dude, how’s this gonna work w/o a bootsector in the usb device? if only things were so simple…

ReplyReply
Commented by gagagoogoo
on September 9, 2009

marking the partition as active is enough if it is a USB HDD.

ReplyReply
Commented by blacknoise
on September 9, 2009

Hi i run vista 32 bit and want too make a boot usb for windows 7 64bit. do this work ?

ReplyReply
Commented by Kim
on September 9, 2009

Yes it works for some…(I have tried it and it works for me)
Currently there are several posts on how to boot using USB in this site. Some of them are very easy to follow so do a search and select one that feels easy for you.

ReplyReply
Commented by blacknoise
on September 10, 2009

Hi!

Excuse me, but i can’t copy files from dvd, to pendrive.

The error is that windows can’t write to usb bootsect.exe.mui, and ……..tff, etc.

Do you have any ideas?

ReplyReply
Commented by Urbi
on September 29, 2009

@Urbi:
Do you have readonly enabled in your pen drive? Try to copy everything to hard disk and then copy to pen.
Also make sure the dvd disk is readable(no scratches etc)

ReplyReply
Commented by blacknoise
on September 29, 2009

Just did an install of Windows 7, you need to set the first hard drive to the flash drive too for it to proper functionally, at least with a 1000HE

ReplyReply
Commented by Duncan
on October 10, 2009

i have a problem…i have a 4GB USB wich i plugged into my computer and i typed in list disk, and it says there is no fixed disks show…i tryed every USB port i have on my computer and it keeps saying the same thing…can some1 help me?
;o

ReplyReply
Commented by Mick
on October 29, 2009

Theoretically “list disk” should reveal all your disks. Just have a check if your pen drive is formatted… and also check if it has a valid file type and its clean. Some viruses make it unable to be read. And also please tell me does it show up in my computer as a USB storage device? try these things and let me know.

ReplyReply
Commented by Joel
on October 31, 2009

Thanks. This worked great on my Lenovo S12 with a USB HD with Windows 7 ISO.

ReplyReply
Commented by will
on November 3, 2009

Same article can be found on Microsoft site, so this is proper.

ReplyReply
Commented by jp
on November 13, 2009

Worked for me…. Thanks! Making a USB HDD and marking it “active” is the trick. The other trick is if your BIOS can boot from it. If your USB drive doesn’t show up as a hard drive option in the same BIOS list as your system hard drive, this method won’t work. Some earlier BIOS will only boot from a boot sector on USB drives and skip them if it doesn’t find it. Hence, the process stalls with the message no OS or boot device installed.

ReplyReply
Commented by dc
on November 18, 2009

@Nam:

Hi,
Please help !!! Here what I have done:
1.Download Windows 7 iso file,which I put it in isoBuster and extracted.
2.Coz I have listen it is better to make clean instalation,I bought new WD external HDD-Passport Studio 500 Gb and put it all information from my PC to HDD (around 90Gb very important data + windows 7 of course)!
3.I run “cmd” and get in DOS
- “diskpart”
- “list disk”
(coz there were nothing,not disk 1,2,3-i just select disk 1-don`t ask me why,coz i don`t know for myself,coz i am stupid!!!)
- select disk 1
- clean…
After i wrote “clean”,I discconect usb cable,coz I afraid-what does “clean” means!!??
For god sake-i have all informations from last 6 years on my external hard disk…

Now,my WD doesn`t work,everything is ok in “drive manager”,when i conecct usb cable there is the external usb hard drive showed up on the Safely Remove Hardware list right down,but I can not enter into the disk-inside and I am so affraid and desperate and don`t know what to do…
How you can see,I am bigginer,but please tell me what is the best solution for me to do now and to don`t lose my data on WD (if i already didn`t lost :(
Please,please help-with days I don`t know what to do….
My e-mail is via_makedonia yahoo dot com please write me there.
What I have tried:
coneccting my WD with 3 dieferent cables-usb and firewire in dieferent ports.
installing drivers from wd site

When I check Device Manager it shows that the device is installed and working properly but it will not show in “my computer” and I can’t access it.
before the problem,my HDD appeard as drive H:
I wouldn’t be half as frustrated if it hadn’t been working properly before this.Plus-ALL data is on my HDD,and I don`t even know if it is still there :(

I do it this:
2 Step Solution for XP users:
Part 1:
Go to
Control panel -> Performance and Maintenance (cannot be in classic view to see this link) -> Administrator Tools -> Services -> Universal Plug and Play
If Universal Plug and Play is set to manual switch to automatic.
Part 2
Double Click Safely Remove icon on the bottom right-> Select device->click Properties -> click Volumes -> click Populate -> hit OK -> if nothing shows it may need to be formatted

Also i was in DISK MANAGEMENT,but except formating disk,I don`t see solution :(
And formating will erase all data on the disk,isn`t it?! (if i have it,of course).
again nothing :( :(

Thanks in advance !!!!!!

ReplyReply
Commented by Please Help me !
on November 29, 2009

I’ve been trying to install Windows 7 Home Premium on my Samsung NC10. This solution wouldn’t work at first. It would either do nothing at boot time or say “Remove disks or other media. Press any key to restart”. Then I found the solution. I renamed the file BOOTMGR to NTLDR, now it works fine

ReplyReply
Commented by Donnie
on December 3, 2009

@Donnie: Please read the updated article. I have installed Win7 twice using that. Its in the bottom of this article.

ReplyReply
Commented by Joel
on December 9, 2009

im installing windows 7 on my computer and when it gets to the part where it asks you what disk you want to put it on it dosent show anything, not even my hard drive, plz help me

ReplyReply
Commented by manny
on December 18, 2009

im installing windows 7 on my computer and when it gets to the part where it asks you what disk you want to put it on it dosent show anything, not even my hard drive, plz help me

ReplyReply
Commented by manny
on December 18, 2009

@manny:

see if your hard drive is plugged in properly(preferably first SATA port and the power cable firmly plugged in ).
>
Also try to plug it into a machine that already has an os and partition/format your HDD.
>
And last of all check the your Windows copy. Try using a DVD instead of a USB pen.
>
Finally there are several more articles written on this subject on the site. And the author of this post is currently unavailable, so please do a search and use those other methods to put windows 7 on a USB stick

ReplyReply
Commented by blacknoise
on December 18, 2009

@blacknoise: yes ive done all of those its not showing when i go to create partitions

ReplyReply
Commented by manny
on December 19, 2009
Commented by rnet
on December 24, 2009

NICE Tutorials mate!..Works flawlessly, i could manage to boot from USB drive!
Just follow the exact instruction.. =))

ReplyReply
Commented by briaz91
on December 30, 2009

I got stuck at the format part. It seems that there is no format keyword in my version of diskpart (5.1.3565)…

ReplyReply
Commented by squirm
on January 25, 2010

Unfortunately these instructions only work when running on Vista and newer operating systems. I just ran across an app that automates the process of creating a bootable Win7 flash drive, but does it under XP as well.

http://firesage.com/bootsage

ReplyReply
Commented by Sami
on January 29, 2010

RSS feed for comments on this post. TrackBack URI

Leave a comment

(required)

(required)