Bootable USB

The engines cannae take it cap'n

Moderator: [RS]Tefty

Bootable USB

Postby [RS]Tefty » Sat Oct 29, 2011 11:04 am

I've had a site bookmarked that runs through the procedure on how to do this for a few years now, and I am doing it today, but I don't want that site to disapear and lose the guide, as its a really good one, so I'm just posting a copy of it here :wink:

Required:
USB Flash Drive (4GB+)
Microsoft OS Disk (Vista / Windows 7)
A computer running Vista / Windows 7


Step 1: Format the Drive
The steps here are to use the command line to format the disk properly using the diskpart utility. [Be warned: this will erase everything on your drive. Be careful.]

Plug in your USB Flash Drive
Open a command prompt as administrator (Right click on Start > All Programs > Accessories > Command Prompt and select “Run as administrator”
Find the drive number of your USB Drive by typing the following into the Command Prompt window:
  • diskpart
  • list disk
The number of your USB drive will listed. You’ll need this for the next step. I’ll assume that the USB flash drive is disk 1.
Format the drive by typing the next instructions into the same window. Replace the number “1” with the number of your disk below.
  • select disk 1/2/3/4/5/6
  • clean
  • create partition primary
  • select partition 1
  • active
  • format fs=NTFS
  • assign
  • exit
When that is done you’ll have a formatted USB flash drive ready to be made bootable.


Step 2: Make the Drive Bootable
Next we’ll use the bootsect utility that comes on the Vista or Windows 7 disk to make the flash drive bootable. In the same command window that you were using in Step 1:

Insert your Windows Vista / 7 DVD into your drive.
Change directory to the DVD’s boot directory where bootsect lives:

  • cd /d e:

Use bootsect to set the USB as a bootable NTFS drive prepared for a Vista/7 image. I’m assuming that your USB flash drive has been labeled disk G:\ by the computer:

  • bootsect /nt60 g:

You can now close the command prompt window, we’re done here.


Step 3: Copy the installation DVD to the USB drive
The easiest way is to use Windows explorer to copy all of the files on your DVD on to the formatted flash drive. After you’ve copied all of the files the disk you are ready to go.
<Rogue>
Image
User avatar
[RS]Tefty
The Boss
 
Posts: 6294
Joined: Fri Jan 27, 2006 12:41 am
Location: Wolves

Re: Bootable USB

Postby [RS]BrainDamaged » Sat Oct 29, 2011 2:12 pm

You don't need to do this any more, as Microsoft released an app to do all the hard work for you. link here I've used it for 99% of installs I have done in the last year when fixing pc's for people.
Image
Yep Thats right Brain Damaged! If you see me on the battlefield you would understand!
User avatar
[RS]BrainDamaged
The Muffin Man
 
Posts: 937
Joined: Thu Apr 01, 2010 11:42 pm
Location: Bath

Re: Bootable USB

Postby [RS]Tefty » Sat Oct 29, 2011 2:32 pm

yeah, but not all .iso files work on it, especially, the "fixed" ones ;)
<Rogue>
Image
User avatar
[RS]Tefty
The Boss
 
Posts: 6294
Joined: Fri Jan 27, 2006 12:41 am
Location: Wolves


Return to Technical

Who is online

Users browsing this forum: No registered users and 1 guest

cron