OS-Ubuntu-Grub-开机后引导丢失
OS-Ubuntu-Grub-开机后引导丢失
现象
Ubuntu系统启动后提示:
GNU GRUB version 2.02
Minimal BASH-like line editing is supported.
For the first word.
TAB lists possible command completions.
Anywhere else TAB lists possible device or file completions.
grub>
解决方案
ls:显示分区set:显示当前grub设置
prefix=(hd0,gpt1)/boot/grub/grub.cfgroot=hd0,gpt1
search -f /boot/grub:搜索grub位置set prefix=xx;set root=xx:重置grubset:查看配置insmod normal:载入normal模组normal:激活normal模组update-grubgrub-install /dev/sda:更新grub,写入指定硬盘
本文来自博客园,作者:Theseus‘Ship,转载请注明原文链接:https://www.cnblogs.com/yongchao/p/18854315

浙公网安备 33010602011771号