Bootable USB via opdrachtprompt (View, Win7, Win8)

If your computer has the possiblity to boot from a USB stick, it can be useful to install through this way one of the above versions of Windows. Many notebooks do not have a CD drive more, install via USB than the outcome.

What do we need?

  • 1 USB-stick (For Vista and Windows 7 : 4GB, for Windows 8: 8GB)
  • Your computer must be able to boot from USB
  • a DVD with the Windows files or an ISO that can run virtual

We can start.

To begin, we must call the command prompt as administrator, once it is open, you can start the first command namely diskpart. Diskpart is an often overlooked tool, which especially can be very useful in setting up systems.

It is an essential command that is started from the CMD prompt. DiskPart succeeds Fdisk. First appeared in Windows XP. Diskpart has the following functions:

  • Partitioning Drives
  • Formatting disks
  • Initializing a disk
  • Resizing volumes
  • RAID set
  • Working with Virtual Disks VHDs
    (Windows only 7/8 en Windows Server 2008 R2)
  • Create bootable USB stick

So we type in our opdrachtpromp diskpart and press enter.

1

I use a USB drive that is 16GB big, the next command list disk. With this command we call a list of connected devices.

So type list disk en enter.

2

In my example, you see 3 Discs, Disk 2 is my USB stick. I select this select the command disc 2 in typing. Before the disc can be different, you select the correct disk.

So type select disk followed by your writing.

3

In my case, disk 2 now the selected disk, this we try to make clean by the command clean using. type in the command prompt clean en enter.

4

Now we will create the first partition: type create primary partition and enter connect typed the command select partition 1 en enter en type active in order to activate this.

7

Once you have completed it's time to format the partition these commands in the NTFS format, type the following command at the command prompt: format fs=ntfs

Once this task it can certainly take a few minutes for this run was completed.

8

When formatting is complete, type assign, by using this command your USB stick will get a letter assigned. u kan not exit type so that we leave the diskpart. place your Windows DVD in the drive or mount an ISO file to your virtual drive. We then again a command prompt with administrator rights and we select to open the letter of the DVD drive. In my case this F:

All you do is type in the letter that is connected to your DVD drive followed by a colon:

9

Now we go to the boot sector - the part of a drive that can be launched during computer startup - copy of the DVD to the USB drive. Typing the following command at the command prompt, followed by enter: cd boot followed by the command: bootsect.exe /nt60 g: g here is the drive letter of the USB stick that is assigned previously.

10

The final step of this operation is actually the most simple: the only thing you need to do, is to copy the installation files from the Windows DVD to the USB drive. Make sure you copy all the files and folders from the installation DVD of Windows, forgetting a file can ensure that the computer can not boot from the USB stick. Open Windows Explorer and navigate to the DVD drive containing the installation DVD. Then select all the files from the DVD and copy it in its entirety to the USB stick.

2 comments

Leave a Reply

Your email address will not be published. Required fields are marked *