無法將 GRUB 開機載入程式替換為 Windows 10 安裝 USB 中的 Windows 10 開機載入程式

無法將 GRUB 開機載入程式替換為 Windows 10 安裝 USB 中的 Windows 10 開機載入程式

我將 Kali Linux、Ubuntu 和 Windows 7 並排安裝,並使用 GRUB 引導程式來引導它們,直到我升級到 Windows 10。我已經從 Windows 中刪除了 Ubuntu 分割區,但我無法對 Kali 分割區執行此操作。即使我已經刪除了 Ubuntu 分割區,GRUB 開機載入程式仍然有一個條目。我嘗試運行 linux bootrepair 多次但無濟於事。我真的只是想卸載 GRUB 引導程式並將其替換為 Windows 10 引導程式。

所以,我嘗試按照答案的步驟來操作這個線程。但是,當我運行該命令時,bootrec.exe /fixmbr我收到一條錯誤,指出系統找不到指定的檔案。

運行命令bootrec.exe確實顯示了正確的對話,給我命令以及他們應該做什麼。但是,bootrec.exe /fixboot也會給予錯誤,指出系統找不到指定的檔案。

另外,執行命令bootrec.exe /scanosbootrec.exe /rebuildbcd每個命令都會找到 0 個 Windows 安裝

答案1

首次下載啟動程式進入下載目錄。

按 Windows 鍵,鍵入 cmd.exe,然後在結果(命令提示字元)上右鍵單擊 cmd 圖標,以「管理員」身份啟動它,然後選擇以管理員身份執行。

在新的 cmd.exe 視窗中,cd 到您的下載目錄。例如 cd C:\Users\Lalu Patel\Downloads。 _假設您的用戶名是「Lalu Patel」。

然後輸入這個命令。 bootsect.exe /nt60 ALL /force /mbr。重新啟動系統即可看到,Windows 已自動載入,無需 grub。

然後在Windows中

Open the Control Panel (All Items view), and click on the Administrative Tools icon. then close the Control Panel window
Click on Computer Management in Administrative Tools, then close the Administrative Tools window.
In the left pane under Storage, click on Disk Management. see this.
Select the the partition with unknown type. it is the Ubuntu partition. Right Click -> Delete partition.
Now the former Ubuntu partition becomes an unallocated space.
Select the left partition of the new unallocated space.
Right click on the partition -> click on Extend Volume.
Click on the Next button.

Type in how many MB (1 GB = 1024 MB) you want to use from the unallocated space to extend the selected partition (step 5) into, then click on the Next button.see this.

Note: If you want to use all of the unallocated space to extend into, then type in the maximum available space shown for the unallocated space.

Click on the Finish button. You're done.

來源:引導區、磁碟管理

相關內容