GRUB 菜单中不显示 Windows 选项

GRUB 菜单中不显示 Windows 选项

我刚从维修处拿回我的电脑,他们更换了电源。可能这改变了我已经设置的双启动设置。我安装了 Windows 10 和 Ubuntu。当我尝试启动电脑时,grub 菜单中只有 Ubuntu,没有 Windows。尝试使用启动修复来修复它,但没有成功。这是 boot-repair 的链接

我已尝试使用以下update-grub命令编辑custom_40文件:

menuentry "Windows 10" --class windows --class os {
   insmod ntfs
   search --no-floppy --set=root --fs-uuid $your_uuid_here$
   ntldr /bootmgr
}

使用正确的 uuid。Windows 10 作为一个选项出现,但当我输入时,它显示错误:

file '/boot/grub/x86_64-efi/ntfs.mod' not found

file '/boot/grub/x86_64-efi/ntldr.mod' not found
can't find command 'ntldr'

谁能帮我?

答案1

作为由@mook765 推荐我所要做的就是更改启动顺序,将启动选项设置为硬盘启动而不是 Ubuntu。这样 Windows 就可以毫无问题地加载了!

相关内容