EFI Win10 / Linuxデュアルブート設定 - GRUBを最初のブートオペレーティングシステムとして選択することはできません。

EFI Win10 / Linuxデュアルブート設定 - GRUBを最初のブートオペレーティングシステムとして選択することはできません。

Win10とLinux Mint 21をダブルブートしようとしています。どちらもインストールされていますが、コンピュータはメッセージを表示せずにWindowsから直接起動します。起動時にF12キーを押すと、Windows Bootloaderオプションのみがあり、GRUBはありません。私はSuperGrub2ライブUSBを使用してMintインストールで起動しました。ログインしたら、GRUBのインストールとGRUBのアップデートを実行してください。どちらも正常に完了し、WindowsとLinuxのパーティションが検出されました。ただし、コンピュータはまだWindowsで直接起動します。 Windowsクイックスタートオプションを無効にしました。また、BIOSでSecureBootを無効にしました。 UEFIを使用してください。他に確認できるものはありますか?

アップデート:update-grubを実行すると、次のようになります。

Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-76-generic
Found initrd image: /boot/initrd.img-5.15.0-76-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Found Mac OS X on /dev/sdb3
Adding boot menu entry for UEFI Firmware Settings ...
done

/dev/sdb3 には Mac OS X はありません。 私はAcerノートブックにApple OSをインストールしたことがありません。 WindowsとLinuxのみ。これがファイル構造です。

fdisk -l は以下を表示します:

Disk /dev/sda: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: LITEON CV3-8D256
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: gpt
Disk identifier: F86D106E-8D30-400C-A064-1B8DEEF9D7EB

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    206847    204800   100M EFI System
/dev/sda2     206848    239615     32768    16M Microsoft reserved
/dev/sda3     239616 265106912 264867297 126.3G Microsoft basic data
/dev/sda4  499073024 500115455   1042432   509M Windows recovery environment
/dev/sda5  265107456 499073023 233965568 111.6G Linux filesystem

Partition table entries are not in disk order.
GPT PMBR size mismatch (31955 != 16578559) will be corrected by write.

最後の行が何を意味するのかよくわかりません。これも手がかりかもしれません。

Mint では、/dev/sda1 は /boot/efi にマップされます。

drwx------ 3 root root 1024 Sep  7 22:18 boot
drwx------ 6 root root 1024 Jun 26  2022 EFI
drwx------ 2 root root 1024 Jun 26  2022 System\ Volume\ Information

起動時に空の grub ディレクトリがあります。

EFIで私は見る

drwx------ 2 root root 1024 Jun 26  2022 Boot
drwx------ 4 root root 1024 Jun 26  2022 Microsoft
drwx------ 4 root root 1024 Jun 26  2022 Microsoft.orig
drwx------ 2 root root 1024 Sep  9 12:31 ubuntu

/boot/efi/EFI/Boot の下に以下が表示されます。

-rwx------ 1 root root 960472 Sep  9 12:49 bootx64.efi
-rwx------ 1 root root  88296 Sep  9 12:49 fbx64.efi
-rwx------ 1 root root 860824 Sep  9 12:49 mmx64.efi

/boot/efi/EFI/ubuntuの下

わかります:

-rwx------ 1 root root     108 Sep  9 12:49 BOOTX64.CSV
-rwx------ 1 root root     126 Sep  9 12:49 grub.cfg
-rwx------ 1 root root 2594696 Sep  9 12:49 grubx64.efi
-rwx------ 1 root root  860824 Sep  9 12:49 mmx64.efi
-rwx------ 1 root root  960472 Sep  9 12:49 shimx64.efi

BOOTX64.CSVディスプレイ

shimx64.efi,ubuntu,,This is the boot entry for ubuntu

grub.csvは以下を示しています:

    search.fs_uuid 5f783440-ebdd-4ad9-a536-999816acdde0 root hd0,gpt5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

efibootmgrの出力:

BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0004,2001,0000,2002,2003
Boot0000* Windows Boot Manager
Boot0001* USB HDD: OCZ     DIESEL
Boot0002* Unknown Device: 
Boot0004* ubuntu
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network

ベストアンサー1

おすすめ記事