Ubuntu 和 Windows 10 雙重開機 GRUB 顯示 Windows 復原環境載入程序

Ubuntu 和 Windows 10 雙重開機 GRUB 顯示 Windows 復原環境載入程序

我最近安裝了全新的 Windows 10 作業系統。安裝 Windows 10 後,我安裝了 Ubuntu 14.04 以進行雙重啟動。一旦我重新啟動系統,grub 選單就會顯示 Ubuntu,並且在清單末尾有一個「Windows 復原環境載入程式 (/dev/sda1)」。

我無法取得 Windows 10 的選項。

當我選擇 Windows 復原環境時,它可以毫無問題地啟動到 Windows。

我想知道這個問題是否可以解決。我想在我的 grub 上獲得 Windows 10 選項。

我已經嘗試過 update-grub 了。

這是引導修復摘要的連結: http://paste.ubuntu.com/13285386/

fdisk -l 的輸出

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000a5b06

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     1026047      512000    7  HPFS/NTFS/exFAT
/dev/sda2         1026048  1271128063   635051008    7  HPFS/NTFS/exFAT
/dev/sda3      1680728064  1953519615   136395776    7  HPFS/NTFS/exFAT
/dev/sda4      1271130110  1680728063   204798977    5  Extended
Partition 4 does not start on physical sector boundary.
/dev/sda5      1271130112  1290659839     9764864   82  Linux swap / Solaris
/dev/sda6      1290661888  1680728063   195033088   83  Linux

Partition table entries are not in disk order

Disk /dev/sdc: 2063 MB, 2063597568 bytes
226 heads, 39 sectors/track, 457 cylinders, total 4030464 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000efe8f

Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *        2048     4030463     2014208    b  W95 FAT32

答案1

Windows 復原環境只是一個誤導性的名稱

GRUB 偵測機器上安裝的所有開機載入程式。

偵測到的第一個 Windows 開機載入程式指向贏得RE

當您從 GRUB 選擇 Windows 復原環境時 -

....將啟動完整的 Windows 開機環境

答案2

sudo os-prober
sudo update-grub
sudo reboot

答案3

我不知道啟動 Windows 10 是否有比在復原分割區上啟動引導程式的自動產生的配置更好的 grub 配置,但就名稱而言,「Windows 復原環境」直接來自 的輸出os-prober,其中主要是一堆shell腳本。

對於我的老式 BIOS/MBR 配置,相關探針位於/usr/lib/os-probes/mounted/20microsoft.

(我使用的是 Debian 8“jessie”而不是 Ubuntu;檔案路徑對於 Ubuntu 可能不正確。)

作為一種妥協,所以update-grub仍然有用,我手工編輯了探針來表達一些通用的內容:

elif grep -qs "W.i.n.d.o.w.s. .R.e.c.o.v.e.r.y. .E.n.v.i.r.o.n.m.e.n.t" "$2/$boot/$bcd"; then
        long="Windows (bootloader)"

並重新運行sudo update-grub

答案4

我認為您遇到了 Windows 10 雙啟動問題,我建議您製作一個實時 Ubuntu USB 驅動器,然後在實時 Ubuntu 打開終端 ( ++ Ctrl)並輸入以下命令..(要修復 grub,您必須有互聯網聯繫)AltT

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair
boot-repair

相關內容