Install windows 7 in pen Drive
Requirements:
§ USB Flash Drive (Minimum 4GB)
§ Windows 7 or Vista installation files.
Follow the below steps to create bootable Windows 7/Vista USB drive using which you can install Windows 7/Windows Vista easily.
1. Plug-in your USB flash drive to USB port.
2. Open Command Prompt with admin rights.
Type cmd in Start menu search box and hit Ctrl+ Shift+ Enter.
Or
Go to Start menu > All programs > Accessories, right click on Command Prompt and select Run as administrator.
3. You need to know about the USB drive a little bit. Type in the following commands in the command prompt:
First type DISKPART and hit enter to see the below message.
Microsoft Windows [Version 6.1.7000]
copyright (c) 2006 Microsoft Corporation. All rights reserved.
D:\Windows\systen32>DISKPART
Microsoft DiskPart version 6.1.7000
copyright (C) 1999—2O08 Microsoft Corporation,
Computer: HOME-PC
DISKPART>
Next type LIST DISK command and note down the Disk number of your USB flash drive. In the below screenshot my Flash Drive Disk no is Disk 1.
4. Next type all the below commands one by one. Here I assume that your disk drive no is “Disk 1”.If you have Disk 2 as your USB flash drive then use Disk 2.Refer the above step to confirm it.
So below are the commands you need to type and execute one by one:
SELECT DISK 1
CLEAN
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT FS=NTFS
(Format process may take few seconds)
ASSIGN
EXIT
Note: - Don’t close the command prompt
Microsoft Windows [Version 6.1.7000]
copyright (c) 2006 Microsoft Corporation. All rights reserved.
D:\Windows\systen32>DISKPART
Microsoft DiskPart version 6.1.7000
copyright (C) 1999—2O08 Microsoft Corporation,
Computer: HOME-PC
DISKPART> LIST DISK
Disk ### Status Size Free Dyn Gpt
--------- -------- ------ ------ --- ---
Disk 0 Online 498 GB 0B
Disk 1 Online 3836 MB 0B
DISKPART> SELECT DISK 1
Disk 1 is now the selected disk.
DISKPART> CLEAN
DiskPart succeeded in cleaning the disk
DISKPART> CREATE PARTITION PRIMARY
DiskPart succeeded in creating the specified partition.
DISKPART> SELECT PARTITION
Partition 1 is now the selected partition.
DISKPART> ACTIVE
DiskPart marked the current partition as active.
DISKPART> FORMAT FS-NTFS
100 present completed
Diskpart successfully formatted the volume.
5. Next insert your Windows7/Vista DVD into the optical drive and check the drive letter of the DVD drive. In this guide I will assume that your DVD drive letter is “D” and USB drive letter is “H” (open my computer to know about it).
6. Maximize the minimized Command Prompt in the 4th step. Type the following command now:
D: CD BOOT and hit enter. Where “D” is your DVD drive letter.
CD BOOT and hit enter to see the below message.
7. Type another command given below to update the USB drive with BOOTMGR compatible code.
BOOTSECT.EXE /NT60 H:
Target volumes will be updated with BOQTMGR compatible bootcode.
H: (\\?\Volume{82fac533—db6c—11dd—bFd2-0019d1a19c48))
Successfully updated NTFS file system bootcode.
Bootcode was successfully updated on all targeted volumes
D:\boot>
Where “H” is your USB drive letter. Once you enter the above command you will see the below message.
8. Copy your Windows 7/Vista DVD contents to the USB flash drive.
9. Your USB drive is ready to boot and install Windows 7/Windows Vista.
Note: If you are not able to boot after following this guide means you haven’t set the BIOS priority to USB. If you got any problem in following this guide feel free to ask questions by leaving comment
No comments:
Post a Comment