
最近、新しい Windows 10 OS をインストールしました。Windows 10 をインストールしたら、デュアル ブート用に Ubuntu 14.04 をインストールしました。システムを再起動すると、grub メニューに Ubuntu が表示され、リストの最後に「Windows 回復環境ローダー (/dev/sda1)」が表示されます。
Windows 10 のオプションを取得できません。
Windows 回復環境を選択すると、問題なく Windows が起動します。
これが解決できるかどうか知りたいです。GRUB で Windows 10 オプションを取得したいと思います。
すでにupdate-grubを試しました。
bootrepair の概要へのリンクは次のとおりです: 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
主にシェル スクリプトのスタックである の出力から直接取得されます。
私の古い BIOS/MBR 構成の場合、関連するプローブは にあります/usr/lib/os-probes/mounted/20microsoft
。
(私は Ubuntu ではなく Debian 8 "jessie" を使用しています。ファイル パスは 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 を修復するにはAlt、Tインターネット接続が必要です)
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair
boot-repair