Thứ Sáu, 12 tháng 9, 2014

How to install Windows 7 in UEFI Mode with a USB

http://www.sevenforums.com/installation-setup/321097-how-install-windows-7-uefi-mode-usb.html

Hey guys, I've never seen a full guide to installing Windows 7 in UEFI mode before anywhere, trust me I've looked. But I managed to pull it off a few days ago. So I thought I'd share it with you guys

What you'll need:
A Windows 7 64 bit ISO (doesn't matter what edition and can be an All in One disk.)
Virtual Clone Drive (To Extract ISO Contents)
8GB+ USB Stick
A UEFI BIOS
7-Zip
A Computer already running Windows

Steps:
1) Install Virtual Clone Drive Link Here and also install 7 zip Link here

2) Make a flat copy of your windows 7 x64 ISO, which mean just extract the contents of the ISO into a folder. First you'll want to mount the Disk Image, by right clicking and mount to Drive E: for example.
Mounting Image Example

Next open the disk drive you mounted it to, and copy the contents to a place you'll remember. (This will take a while)
When it's done it should look something like this

(BCT: hai bước này chỉ để làm sao COPY được nội dung đĩa cài Windows 7 vào một thư mục để xử lý – có thể dùng bất kỳ cách nào – nếu đã có tệp iSO thì có thể dùng 7zip hoặc Winzip giải nén thẳng vào một thư mục chứ không cần phải dùng đến phần mềm Virtual Clone Drive)



3) Format your USB Stick. (BCT: không cần thiết – vì sẽ dùng diskpart để định dạng ở bước sau)
Just go to computer, right click it and press format. Make sure you change file system to FAT32. This is so you can boot from it.
Settings for formatting

4) Now here's the hard part. Preparing the flat copy for UEFI.

Go to the EFI folder, make a new folder in there called "boot".
Now go into the "Microsoft" folder which is in the EFI foler. Then boot, and copy the contents.
What it should look like


Put that into your boot folder you just made.


(BCT: tạo một thư mục BOOT trong thư mục efi, copy tất cả các tệp trong thư mục efi\microsoft\boot  vào thư mục vừa tạo efi\BOOT)


Now that's done. Go to the Sources folder which is in the root Here!


Scroll down to boot.wim, and right click, 7 zip and open archive.
Now go into the folder called "1" Example Image

(BCT: dùng 7zip mở tệp sources\boot.wim)


Go to Windows > Boot > EFI
Scroll down till you see bootmgfw.efi and extract this to your desktop (click on it first, then press extract button at the top)

Now cut that file you extracted to your desktop, and put it into EFI > boot.
Where to put the file


Once you've done that, just rename it to bootx64.

5) Now you've prepare the flat copy for booting from UEFI. It's now time to prepare your USB. This is relatively simple but pay attention YOU COULD ERASE A DISK BY ACCIDENT. So unplug everything you can, but the usb to be sure.

Open a CMD Prompt. Start > Accessories right click command prompt and run as admin.
Now type "Diskpart"
Diskpart Example



Now type "list disk"
List Disk Example



CAUTION: When selecting a disk, make sure it's your USB. Look at the size of the disk.

Now type "select disk and then the number of your USB. For example mine is "Disk 2"

Next, type "clean" and this will format the drive.

Now type "convert gpt" and this will make it into GUID Partiton Table (if you don't know what this is google it xD)

Next type "create partition primary"

And then type "format fs=fat32 quick"

Then type "assign"

And now type " list volume" and it should list your USB and state it's drive letter.


6) Copy all the contents from the Flat copy you prepared earlier.
Example Here


Congratulations you have created a bootable Windows 7 UEFI USB!

Next I'm going to teach you how to install it in UEFI Mode.

1) Boot from your USB. There will be a certain button in which you can boot with such as F11, just look for a boot menu key. If there is not one, see if you can go to the boot tab in your UEFI BIOS and select a boot from there, or make the USB first priority.
2)Once you've got it to boot, select your language, currency and time region also your keyboard layout.
3) Click, next and click install now!
4)Choose a version, if you have an All in One disk.
5) Accept the license terms
6)Click Custom (Advanced)
7) Now from here press SHIFT + F10 to bring up a Command prompt window.
8) Type "diskpart" into the Command Prompt
9) Type "list disk"
10)Look for the size of your Hard Drive, and then type "select disk 0" for example, this maybe different for you, just look at the size of the different disk, one should be your USB and one should be your Hard Drive.

(BCT: cách này phải format toàn bộ đĩa cứng – không hiểu có thể chọn clean một parttition muốn cài windows để thực hiện các bước này hay không? – select disk x – select parttition x – chưa có điều kiện để test)


11) Next type "clean"
12) Type "convert gpt"
13) Close Command Prompt, and click Drive Options (Advanced)
14) Click "New"

Example Screenshot
15) It should come up with your disk size and hit apply.
16) A prompt will up asking you if you will allow windows to create system partitions, click OK. It should create another 2 along with your primary partition.
Partitions Example
17) Click Next and begin install your Windows 7 Copy. You will not need to do anything now just sit back and relax!

Ways you can check if you've done it properly are:
1)Them two partitions were created (System and MSR)
2) Go to computer and right click your C:/ drive. Click the hardware tab. Click your Hard Drive and click properties at the bottom.
Example Here
Now go to volumes and hit populate (you will need to turn off UAC otherwise it will not work) click the volume (it will be the only thing in the box)
Picture for volumes
Now you will notice that the Hard Drive has a partition style of GUID (GPT) which mean you've done it!

Thanks for reading this guide, hope it helped you. Took me around 1:30 mins to type this out. So yeah, hope you enjoyed this!

Không có nhận xét nào:

Đăng nhận xét

(Chơi cho vui) AIRDROP CHAINGE FINANCE - dự án xây dựng ứng dụng ngân hàng số cho mọi người

 Không hiểu lắm về cái này, tuy nhiên thấy quảng cáo khá nhiều, lại chỉ cung cấp vài thông tin cá nhân (mà mấy ông lớn như facebook với goog...