昨日、Windows と Ubuntu のデュアルブートを試みましたが、ラップトップを再起動したときに、Windows は起動せず、すぐに Ubuntu が実行されました。
その後、誤って Windows ブート マネージャーを削除してしまったことがわかりました。sudo fdisk
ディスクをチェックすると、基本的なデータがまだ表示されていました。また、「その他の場所」に古い Windows データがあるローカル ディスクも表示されていました。Windows の回復を手伝ってください (必要に応じて Ubuntu を削除できます)。
私と同じように多くの人が同じ質問をしていることは知っていますが、昨日から今までこれを解決できません。私の Ubuntu の詳細な構成やディスクを確認したい場合は、お問い合わせください。
編集: 友人の一人が、Windows 10のインストールを識別するためにsudo os-proberを使用し、次にGRUBを更新するにはsudo update-grubを使用するように教えてくれました。os-proberと入力すると、
/dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows ブート マネージャー:Windows:efi
しかし、update-grubを使用すると、ウィンドウが見つかりません。
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-21-generic
Found initrd image: /boot/initrd.img-6.5.0-21-generic
Found linux image: /boot/vmlinuz-6.5.0-18-generic
Found initrd image: /boot/initrd.img-6.5.0-18-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
私もチェックチェックしまし/etc/default/grub
たが、ありませんGRUB_DIASBABLE_OS_PROBER
。