与Windows 10(UEFI)一起重新安装了18.04。现在,我的系统仅引导至grub2命令行。
我可以通过执行进入两个窗口
chainloader **(hd0,gpt1)**/efi/Microsoft/bootmfgw.efi
和ubuntu通过执行
set prefix=(hd0,gpt6)/boot/grub
set root=**(hd0,gpt6)**
insmod linux
insmod normal
normal
我在启动进入ubuntu后运行了grub-install,进行了几次启动修复,但是没有任何效果。我仍然继续引导至grub命令行。
任何帮助表示赞赏。引导修复pastebin- http: //paste.ubuntu.com/p/64X9XmshBJ
gparted的屏幕截图:
我已经尝试过了,但是没有用:
用grub-efi-amd4安装grub
从实时USB安装GRUB
从实时USB或Ubuntu进行引导修复
全新安装的18.04再次进入grub手册
在sda3上使用Windows 10并安装并启动ubuntu 18.04时
sudo blkid
(read uuid from /dev/sda3, used below as uuid_read_above)
sudo nano /etc/default/grub
(add line to the end of the file:)
GRUB_PRELOAD_MODULES="part_msdos"
sudo update-grub
sudo nano /etc/grub.d/40_custom
(add these lines to the end of the file:)
menuentry "Windows 10" {
insmod ntfs
set root='(hd0,3)'
search --no-floppy --fs-uuid --set uuid_read_above
ntldr /bootmgr
chainloader +1
}
sudo update-grub
sudo grub-install /dev/sda
sudo update-grub
退出并从硬盘启动,应该看到带有“ Windows 10”的菜单
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句