Master Boot Record (MBR) หรือ Master Partition Table คือ섹เตอร์แรกของฮาร์ดดิสก์ ที่บอกตำแหน่งของระบบปฏิบัติการและโหลด Windows ให้ทำงาน หาก MBR บ้อน (จากไวรัส, ปิดเครื่องไม่ถูกต้อง, เปลี่ยนแปลงระบบ) Windows จะบูทไม่ขึ้น
วิธีซ่อม MBR บน Windows 10
วิธีที่ 1: Windows Automatic Repair (Startup Repair)
- เสียบ DVD/USB ติดตั้ง Windows 10 → Boot จากมัน (กดปุ่มตามโปรมต์)
- เลือกภาษา → Repair your computer (มุมซ้ายล่าง)
- Troubleshoot → Advanced options → Automatic Repair / Startup Repair
- รอซ่อมเสร็จ → Restart
ห้า Automatic Repair ไม่ได้ ให้ลองวิธีถัดไป
วิธีที่ 2: ซ่อม/สร้าง MBR ใหม่ด้วย Command Prompt (แนะนำ)
- จากหน้า Choose an option → Troubleshoot → Advanced options → Command Prompt
- พิมพ์คำสั่งทีละบรรทัด กด Enter ทุกครั้ง:
bootrec.exe /FixMbr bootrec.exe /FixBoot bootrec.exe /RebuildBcd
- ควรเจอข้อความ "The operation completed successfully" ทุกคำสั่ง
หากคำสั่งข้างต้นไม่ได้ผล ให้ลองชุดคำสั่งนี้:
bcdedit /export c:\bcdbackup c: cd boot attrib bcd -s -h -r ren c:\boot\bcd bcd.old bootrec.exe /rebuildbcd
วิธีที่ 3: ใช้ GParted Live (Linux Bootable)
สำหรับกรณีที่ Windows เข้าไม่ได้เลย ใช้ GParted Live (Linux เล็กๆ สำหรับจัดการพาร์ติชัน)
- ดาวน์โหลด GParted Live ISO (i686 สำหรับ 32-bit, amd64 สำหรับ 64-bit)
- ใช้ UNetbootin เขียน ISO ลง USB/CD/DVD
- Boot จากอุปกรณ์นั้น → เลือก GParted Live
- เปิด Terminal →
sudo fdisk -l(ดูดิสก์) →testdisk→ No Log - เลือกดิสก์ที่จะซ่อม → Partition type: Intel/PC
- Analyse → Quick Search → TestDisk จะค้นหาและซ่อม MBR ให้
วิธีที่ 4: Repair Install Windows 10
หากทุกวิธีล้มเหลว แสดงว่า BCD/ข้อมูลบูทหายไป จะต้องทำ Repair Install (Upgrade ในโหมดซ่อมแซม) หรือ Clean Install Windows ใหม่ทั้งหมด
สรุป: เริ่มจาก Automatic Repair → bootrec commands → GParted Live → Repair Install ตามลำดับครับ