Jump to content

Creating a Windows Vista/7 USB flashdrive


Krauersaut

Recommended Posts

Since more and more modern computers are able to boot from USB flashdrives, installing Operating Systems with a DVD looks a little outdated. This tutorial will show you how to create a bootable USB flashdrive with a Windows Vista or 7 installation on it. There are of course several ways to create such a flashdrive. However, I prefer the non-graphical way.

 


Open a new command line window by pressing WIN+R and typing in cmd.

 

26492296.png

 


Enter the following commands, pressing return after each command.

  • diskpart

    Opens Windows' integrated disk management tool.

  • list disk

    Lists all storage devices that are currently attached to the computer.

  • select disk X

    Replace X with the number of your flashdrive.

  • list disk

    Check if you selected the correct disk with the last command.

  • clean

    Erases all data on the flashdrive. If your computer is still online, chances are good that you selected the right disk in the last steps. If not, better luck next time.

  • create partition primary

    Creates a new primary partition on the flashdrive.

  • select partition 1

    Selects the recently created partition on the flashdrive.

  • active

    Marks the partition active which is required to be able to boot from it.

  • format fs=fat32 quick

    Formats the flashdrive with the FAT32 filesystem. Make sure you use FAT32 since NTFS isn't supported by most platforms.

  • assign

    Assigns a drive letter for the flashdrive.

  • exit

    Leaves diskpart.

10867177.png

 


Now that we've successfully created our bootable flashdrive, let's copy the setup files to it. Grab your Windows Vista/7 image and either load the physical DVD or your ISO-Image. I prefer SlySoft's Virtual Clone Drive to load ISO-Images. However, you could of course use your favorite tool to do that.

 

To copy the files to your flashdrive, modify and run the following command:

  • xcopy X:\*.* /s/e/f Y:\
54775794.png

 

Alternatively, you could also extract the ISO-Image using WinRAR, 7-Zip or any other extraction tool and copy the files with Windows' GUI.

 


That's it! Plug your USB flashdrive into your computer, boot from it and follow Windows' setup procedure.

 

You might need to modify your BIOS' boot list to be able to boot from the flashdrive. Please see your Mainboard's manual for more information on this.

Edited by Fearless Staff
Link to comment
Share on other sites

Umm more info coming...

The older ASUS and especially AsRock MoBos don't support Win7 boot images, you should load it from Vista installation DVD or install vLite and use the boot.bin file from the extracted files.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.