Sửa lỗi Windows 10 không boot từ Secondary Mirror Boot Disk (RAID 1 Software)
Vấn đề: Trên Windows 10 mirror boot drive (Software RAID-1), nếu ổ chính hỏng, hệ thống không boot từ ổ mirror thứ hai. BSOD lỗi 0x000000e: "Your PC/Device needs to be repaired. A required device isn't connected or can be accessed."

Phương pháp 1: Sửa từ Disk Management (trong Windows Secondary Plex)
Giả định: Chỉ kết nối ổ mirror thứ hai.
- Màn hình xanh: Nhấn F9 để chọn OS khác.

- Dùng phím mũi tên chọn Windows 10 – secondary plex → Enter.

- Nếu boot thành công vào Windows 10 → tiếp bước 4. Nếu không → sang Phương pháp 2.
- Mở System Configuration: Win + R →
msconfig→ Enter.

- Tab Boot:
a. Chọn Windows 10 – secondary plex (C:\Windows) : Current OS → Set as default.

b. Chọn entry Windows 10 (Windows) → Delete.

- OK → Restart.
- Mở Disk Management: Win + R →
diskmgmt.msc→ Enter.

- Chuột phải Volume Missing → Remove Mirror.

- Chọn Missing disk → Remove Mirror.

- Yes để xác nhận xóa Mirror.
- Lặp lại cho các volume khác.

- Hoàn tất!
Phương pháp 2: Sửa từ Windows Recovery Environment (WinRE)
Yêu cầu: Windows Recovery Media (USB/DVD). Tạo bằng Media Creation Tool.
Bài liên quan: Tạo USB/DVD boot Windows 10.
Bước 1: Break Mirror từ Recovery Environment
- Boot từ Recovery Media.
- Shift + F10 để mở CMD, hoặc Next → Repair your computer → Troubleshoot → Advanced Options → Command Prompt.

- CMD gõ:
diskpart→ Enter. - Tìm volume failed:
list volume

* Ghi chú volume có Status "Failed Rd" (ví dụ Volume 0 và Volume 1).
- Chọn volume failed đầu tiên:
select volume 0 - Xem chi tiết tìm ID ổ thiếu:
detail volume

* Ví dụ: Missing disk là Disk M0.
- Break mirror:
break disk=m0 nokeep

* Thay m0 bằng ID thực tế của ổ thiếu.
- Nếu có nhiều failed volume: lặp lại select volume → detail volume → break disk=m0 nokeep cho từng volume.

- Xóa ổ thiếu:
select disk m0→delete disk

exitthoát DISKPART → Bước 2.
Bước 2: Sửa Boot Configuration Data (BCD)
Hướng dẫn khác nhau cho Legacy (MBR) và UEFI (GPT).
Hệ thống Legacy (MBR):
- Chạy lần lượt:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
* Nếu "Total identified Windows installations = 0", chạy trước:
bcdedit /export C:\bcdbackup
C:
cd boot
attrib bcd -s -h -r
ren C:\boot\bcd bcd.old
- Rebuild BCD:
bootrec /rebuildbcd - Nhấn A (Add installation to boot list) → Enter.

- Chuyển Bước 3.
Hệ thống UEFI (GPT):
- CMD lần lượt:
diskpart
select disk 0
list partition
- Ghi nhớ kích thước (MB) partition System (ví dụ 99 MB).

- Tìm volume number của system partition:
list volume

* System partition = Volume 2 (kích thước 99 MB).
- Gán letter cho System Volume:
select volume 2(thay theo thực tế)
assign letter=Z
exit

- Sửa BCD:
bcdboot C:\windows /s Z: /f UEFI - Chuyển Bước 3.
Bước 3: Set Working Plex làm Default và xóa OS thiếu khỏi BCD
- CMD:
bcdedit /enumxem boot entries. - Ghi nhớ GUID (ID) của OS hoạt động (ví dụ: Windows 10 – secondary plex) → set default:
bcdedit /default {GUID}
Ví dụ: bcdedit /default {7a995fa6-cf2c-11e7-9da1-f1b4c61b71cc}
- Ghi nhớ GUID của OS thiếu → xóa:
bcdedit /delete {GUID}
Ví dụ: bcdedit /delete {7a995fa6-cf2c-11e7-9da1-f1b4c61b71bb}

- Đóng tất cả, rút recovery media → Restart.