Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

ซ่อม Master Boot Record (MBR) บน Windows 10 ให้ Boot ได้อีกครั้ง

Master Boot Record (MBR) หรือ Master Partition Table คือ섹เตอร์แรกของฮาร์ดดิสก์ ที่บอกตำแหน่งของระบบปฏิบัติการและโหลด Windows ให้ทำงาน หาก MBR บ้อน (จากไวรัส, ปิดเครื่องไม่ถูกต้อง, เปลี่ยนแปลงระบบ) Windows จะบูทไม่ขึ้น

วิธีซ่อม MBR บน Windows 10

วิธีที่ 1: Windows Automatic Repair (Startup Repair)

  1. เสียบ DVD/USB ติดตั้ง Windows 10 → Boot จากมัน (กดปุ่มตามโปรมต์)
  2. เลือกภาษา → Repair your computer (มุมซ้ายล่าง)
  3. Troubleshoot → Advanced options → Automatic Repair / Startup Repair
  4. รอซ่อมเสร็จ → Restart

ห้า Automatic Repair ไม่ได้ ให้ลองวิธีถัดไป

วิธีที่ 2: ซ่อม/สร้าง MBR ใหม่ด้วย Command Prompt (แนะนำ)

  1. จากหน้า Choose an option → Troubleshoot → Advanced options → Command Prompt
  2. พิมพ์คำสั่งทีละบรรทัด กด Enter ทุกครั้ง:
    bootrec.exe /FixMbr
    bootrec.exe /FixBoot
    bootrec.exe /RebuildBcd
  3. ควรเจอข้อความ "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 เล็กๆ สำหรับจัดการพาร์ติชัน)

  1. ดาวน์โหลด GParted Live ISO (i686 สำหรับ 32-bit, amd64 สำหรับ 64-bit)
  2. ใช้ UNetbootin เขียน ISO ลง USB/CD/DVD
  3. Boot จากอุปกรณ์นั้น → เลือก GParted Live
  4. เปิด Terminal → sudo fdisk -l (ดูดิสก์) → testdisk → No Log
  5. เลือกดิสก์ที่จะซ่อม → Partition type: Intel/PC
  6. 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 ตามลำดับครับ