Computer >> Hướng Dẫn Máy Tính >  >> Hệ Thống >> Windows 8

Tạo USB boot Windows 8.1 x64 4GB

Dễ dàng cài Windows 7 hoặc Windows 8 từ USB flash drive. Chỉ cần USB 4 GB trở lên, chạy command line quyền admin và chạy vài lệnh.

Mẹo. Đã hướng dẫn tạo UEFI bootable flash drive cho cài Windows 8.

Tuy nhiên, thử với Windows 8.1 Enterprise x64 thì file cài không vừa USB 4 GB. Thiếu chỉ vài trăm MB. Bài viết giải quyết vấn đề này.

Cách cho Windows 8.1 vừa USB 4 GB?

Có USB 4 GB trở lên. File ISO Windows và OS: Windows Vista, 7, 8 (cũng Server 2008+).

Cắm USB vào máy.

Cảnh báo. Tất cả dữ liệu cũ trên USB sẽ bị xóa khi tạo bootable USB.

Nếu có USB 8 GB+, thử dùng tool Microsoft tạo bootable flash drive – Windows 7 USB/DVD download tool. Nếu không tạo được, xem cách dưới.

Chạy cmd.exe admin. Gõ diskpart khởi động Diskpart.
Tạo USB boot Windows 8.1 x64 4GB

Xác định số disk gán cho USB. Gõ list disk xem danh sách.

DISKPART> list disk

Disk ### Status Size Free Dyn Gpt

--- ------ ---- --- --- ---

Disk 0 Online 30 GB 1024 KB

Disk 1 Online 4098 MB 1984 KB

Disk 2 Online 10 GB 1024 KB

Tìm USB theo dung lượng, select để làm việc. Ví dụ Disk 1 → select disk 1. Thực hiện lần lượt:

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 1
Partition 1 is now the selected partition.

DISKPART> active
DiskPart marked the current partition as active.

DISKPART> format fs=ntfs quick compress unit=512
100 percent completed
DiskPart successfully formatted the volume.

DISKPART> assign
DiskPart successfully assigned the drive letter or mount point.

DISKPART> exit
Leaving DiskPart…

Chú ý phần đỏ. Dòng select disk 1 là số USB. Dòng FORMAT FS=NTFS QUICK COMPRESS UNIT=512 khác biệt so với hướng dẫn khác.

COMPRESS có nghĩa nén file NTFS trên USB.

UNIT=512 đặt cluster size 512 bytes. Mặc định 4 KB. Tuy nhiên phân phối Win 8.1 có nhiều file nhỏ, cluster 512 bytes giúp đặt dữ liệu dày đặc hơn.

Nếu USB 8 GB+, KHÔNG nên dùng COMPRESS và UNIT=512 vì copy file chậm hơn.
Tạo USB boot Windows 8.1 x64 4GB

Giải nén file từ ISO Windows 8.1 ra USB. Trên Vista/7 dùng tool thứ 3 (WinRar, 7Zip, Far Manager). Trên Windows 8/8.1, ISO mount như ổ CD/DVD ảo, copy qua File Explorer.

Nếu format USB với COMPRESS, vào USB trong Explorer, chuột phải bootmgr và bootmgr.efi, chọn Other bỏ tích Compress contents to save disk space.
Tạo USB boot Windows 8.1 x64 4GB

Nếu không làm, boot từ USB báo lỗi:

BOOTMGR is compressed
Press Ctrl+Alt+Del to restart

Quay lại command line chạy:

1 2 3 
C:\Windows\system32>f: F:\>cd boot F:\boot>BOOTSECT.EXE/NT60 F:

Trong đó F: là ký tự ổ USB.

Tạo USB boot Windows 8.1 x64 4GB

Xong tạo bootable USB. Restart máy boot từ USB.

Lưu ý. Nếu tạo USB boot Windows x64 nhưng đang chạy Windows x86 (hoặc ngược lại), lệnh BOOTSECT.EXE/NT60 báo lỗi:

This version of f:\boot\bootsect.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.

Lúc đó extract chỉ thư mục boot từ Windows Installation Disk (ISO) chứa file platform tương thích (trường hợp x86) ra C:. Chạy:

1 2 
C:\Windows\system32>cd C:\boot C:\boot>BOOTSECT.EXE/NT60 F: