Grub2とWindows 10のジレンマ

Grub2とWindows 10のジレンマ

関連するWindowsドライバのインストールは次のとおりです。

Disk /dev/sde: 465.8 GiB, 500107862016 bytes, 976773168 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
Disklabel type: dos
Disk identifier: 0xe55015e8

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sde1            2048 975849471 975847424 465.3G  7 HPFS/NTFS/exFAT
/dev/sde2       975849472 976771071    921600   450M 27 Hidden NTFS WinRE

grub2に実際にWindows 10をロードさせる方法は?

次のようなこの回答、私は以下を試しました。

menuentry 'Windows 10' {
  insmod part_gpt
  insmod search_fs_uuid
  insmod ntfs
  insmod chain
  search --fs-uuid --set=root --hint-bios=hd4,msdos1 --hint-efi=hd4,msdos1 --hint-baremetal=ahci4,msdos1 343419363418FC94
  chainloader (${root})/Windows/Boot/EFI/bootmgfw.efi
  boot

ntfs.mod not foundすべてのコマンドに対して引き続きエラーが発生するため、insmod削除してみました。まだ何もありません。

私が/etc/grub.d/40_custom読んだ内容:

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry 'Microsoft Windows 10' {
  set root='(hd4,1)'
  chainloader +1

この操作に失敗しました。開始が検出されませんでした。

  # same header as above.
  search --no-floppy --fs-uuid --set=root '343419363418FC94'
  chainloader /bootmgr
  boot

不明なファイルシステムが原因で失敗し、起動が検出されませんでした。

  # same header as above.
  insmod part_gpt
  insmod search_fs_uuid
  insmod ntfs
  insmod chain    
  search --fs-uuid --set=root --hint-bios=hd4,msdos1 --hint-efi=hd4,msdos1 --hint-baremetal=ahci4,msdos1 343419363418FC94
  chainloader (${root})/Windows/Boot/EFI/bootmgfw.efi
  boot

この操作は、ntfs.modが見つからず、不明なファイルシステムに続いて失敗します。

  search --fs-uuid --set=root --hint-bios=hd4,msdos2 --hint-efi=hd4,msdos2 --hint-baremetal=ahci4,msdos2 6ACAB410CAB3D693
  chainloader (${root})/Recovery/WindowsRE/boot.sdi
  boot

ドライブをマウントして正しいパスであることを確認しましたが、パスが見つからず失敗します。

ベストアンサー1

残念ながら、この問題を解決する唯一の方法は、UEFIモードでWindows 10を再インストールしてから、UEFIモードでFedoraを再インストールすることです。それからいくつかはロード順序を台無しにしました。最後に、両方のシステムが機能するようになりました。

本当に台無しですね… :(

おすすめ記事