Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows 8

วิธีสร้าง 4GB Windows 8.1 x64 Bootable USB Flash Drive

การติดตั้ง Windows 7 หรือ Windows 8 จาก USB Flash Drive ทำได้ง่าย คุณแค่ต้องหา USB Flash Drive 4 GB ขึ้นไป เริ่ม Command Line ด้วย Administrator Privileges และรันคำสั่งหลายคำสั่ง

Tip เราเคยแสดงวิธี Create UEFI Bootable Flash Drive สำหรับ Windows 8 Installation แล้ว

อย่างไรก็ตาม หลังจากลอง Operation นี้กับ Windows 8.1 Enterprise x64 พบว่า Installation Files ไม่พอดีกับ 4 GB Flash Drive ขาดแค่ราว 100 Megabytes วันนี้เราจะแสดงวิธีแก้ปัญหานี้

How to fit Windows 8.1 distribution to a 4 GB USB flash drive?

คุณมี USB Flash Drive 4 GB หรือมากกว่า ISO File พร้อม Windows Distribution และ Operating System Windows Vista, Windows 7 หรือ Windows 8 (รวม Windows Server 2008 หรือสูงกว่า)

เสียบ USB Drive เข้า Computer

Warning ข้อมูลเก่าทั้งหมดบน USB Stick จะถูกลบในกระบวนการสร้าง Bootable USB Drive

ก่อนอื่น หากคุณมี USB Flash Drive 8 GB หรือมากกว่า คุณลองใช้ Microsoft Tool เพื่อสร้าง Bootable Flash Drive – Windows 7 USB/DVD Download Tool หากคุณไม่สามารถสร้าง Bootable Flash Drive ด้วย Tool นี้ได้ ให้ดูด้านล่างว่าทำอย่างไร

รัน cmd.exe เป็น Administrator ในหน้าต่างนี้ ใส่คำสั่ง diskpart เพื่อเริ่ม Diskpart Tool

วิธีสร้าง 4GB Windows 8.1 x64 Bootable USB Flash Drive

ตอนนี้คุณต้องหาว่า USB Flash Drive ถูก Assign หมายเลขอะไร ใส่ list disk และดูรายการ Available Disks

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

หา USB Flash Drive จาก Disk Size และ Select มันเพื่อทำงานต่อ ในกรณีของผมคือ Disk 1 ดังนั้นรันคำสั่ง select disk 1 ตอนนี้ทำตาม Steps นี้ทีละขั้น:

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…

โปรดสังเกตข้อความที่ Highlight สีแดง ในบรรทัด select disk 1 คือหมายเลขของ USB Flash Drive ในกรณีที่สอง ในคำสั่ง FORMAT FS=NTFS QUICK COMPRESS UNIT=512 คือความแตกต่างจาก Manual อื่นๆ เกี่ยวกับการสร้าง Bootable USB Flash Drives

COMPRESS หมายถึง Compression จะถูก Apply ให้ NTFS Files บน USB Drive

UNIT=512 ตั้งค่า Cluster Size เป็น 512 Bytes Default Cluster Size คือ 4 KB อย่างไรก็ตาม มี Small Files เยอะมากใน Distribution ของ Win 8.1 ดังนั้นเราจะทำให้ Data Placement แน่นขึ้น

หากคุณมี USB Flash Drive ขนาด 8 GB หรือมากกว่า คุณควรไม่ระบุ Parameters COMPRESS และ UNIT=512 เพราะมันใช้เวลานานกว่าในการ Copy Files ไป USB Flash Drive เมื่อใช้พวกมัน

วิธีสร้าง 4GB Windows 8.1 x64 Bootable USB Flash Drive

ตอนนี้คุณต้อง Extract Files จาก ISO Images ของ Windows 8.1 Distribution ไปยัง USB Flash Drive ของคุณ ใน Windows Vista และ Windows 7 คุณจะต้องใช้ Third-party Utilities เช่น WinRar, 7Zip, Far Manager ฯลฯ เพื่อ Extract Files

ใน Windows 8 และ 8.1 ISO Files ถูก Mount เป็น Virtual CD/DVD Drives และ Files สามารถ Copy ได้โดยใช้ Windows Explorer

หากคุณ Format USB Flash Drive ด้วย COMPRESS คุณต้อง Move ไปที่มันใน Windows Explorer Right-click bootmgr และ bootmgr.efi เลือก Other และ Uncheck Compress contents to save disk space

วิธีสร้าง 4GB Windows 8.1 x64 Bootable USB Flash Drive

หากไม่ทำเช่นนี้ ขณะ Boot จาก Flash Drive คุณจะเห็น Error:

BOOTMGR is compressed
Press Ctrl+Alt+Del to restart

ตอนนี้ กลับไปที่ Command Line และรัน:

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

Where F: คือ Drive Letter ของ USB Drive ของคุณ

วิธีสร้าง 4GB Windows 8.1 x64 Bootable USB Flash Drive

ตอนนี้นั่นคือทั้งหมดเกี่ยวกับการสร้าง Bootable USB Flash Drive คุณสามารถ Restart Computer/Laptop และ Boot จาก USB Drive ได้

Note หากคุณสร้าง Bootable USB Flash Drive ด้วย Windows x64 แต่ทำงานใน Windows x86 และในทางกลับกัน คำสั่ง BOOTSECT.EXE/NT60 จะคืน Error:

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.

ตอนนั้นคุณต้อง Extract เฉพาะ Folder boot จาก Windows Installation Disk (ISO) ที่มี Files สำหรับ Platform เดียวกับที่คุณกำลังรันอยู่ (ในกรณีของเราคือ x86) ไปที่ Drive C: รันคำสั่งต่อไปนี้:

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