刪除了 Ubuntu 分割區。現在Windows和Linux都無法啟動,因為找不到GRUB的normal.mod

刪除了 Ubuntu 分割區。現在Windows和Linux都無法啟動,因為找不到GRUB的normal.mod

我安裝了 Windows 10 和 ElementaryOS Freya (Ubuntu 14.04),並且都透過 GRUB 順利啟動。

這就是我的磁碟的設定方式:

/dev/sda
/dev/sda1 ntfs 420MB
/dev/sda2 ntfs 210GB - Windows 10 OS
/dev/sda3 ntfs 167GB - Windows 10 Storage
/dev/sda5 ext4 122GB - Freya

/dev/sdb - small little 24GB disk that my laptop uses normally for recovery, but I repurposed it for other uses
/dev/sdb1 swap 10GB
/dev/sdb2 ntfs 14GB

我想刪除 Freya 併升級到 Loki (Ubuntu 16.04),因此我啟動到 Loki Live 磁碟並使用 GParted 刪除了sda5.然後我使用 Loki 安裝程式sda5作為安裝位置,但在安裝結束時它說:

Executing 'grub-install /dev/sda' failed.
This is a fatal error.

現在,當我嘗試啟動時,我就file '/boot/grub/i386-pc/normal.mod' not found.啟動了。

所以在grub rescue我嘗試:

set root=(hd0,msdos5)
set prefix=(hd0,msdos5)/boot/grub
insmod normal
error: file '/boot/grub/i386-pc/normal.mod' not found.

這不起作用,因為msdos5已格式化。

所以我製作了 Windows 10 恢復磁碟並從它啟動。

我使用啟動修復但失敗了 -Startup Repair couldn't repair your PC.

然後我使用命令提示字元(注意上面關於記憶體不足的內容):

Microsoft Windows (Version 10.0.17134.1)
Not enough memory resources are available to process this command.

X:\windows\system32>BOOTREC /FIXMBR
The operation completed successfully.

X:\windows\system32>BOOTREC /REBUILDBCD
Scanning all disks...
Total identified Windows installations: 1
[1] D:\Windows
Add installation to boot list? Y
The requested system device cannot be found

X:\windows\system32>BOOTREC /FIXBOOT
Access is denied.

還要別的嗎?

呃,我已經在這個問題上待了好幾個小時了。我應該按照使用者 Bil​​lyBigun 所說的去做嗎?https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/windows-10-bootrec-fixboot-access-is-denied/747c4180-7ff3-4bc2-b6cc-81e572d546df

他的指令基本上是格式化EFI分割區...所以基本上格式化sda1(420MB),對吧?

我還可以做些什麼?

相關內容