Skip to main content
标签ad报错:该广告ID(9)不存在。
  主页 > Linux

Ubuntu引导丢失修复

2023-08-01 浏览:
标签ad报错:该广告ID(7)不存在。

Ubuntu开机出现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.
原因是引导丢了,需要修复boot,方法如下:

1.用安装ubuntu的U盘进入免安装的在线ubuntu

进入后联网,在“软件和更新”中切换软件源

2.安装boot repair

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install boot-repair

3.启动boot repair

boot-repair
打开后,点击recommanded repair(中文的是推荐修复)按钮。接下来按照提示修复即可,中途需要复制一些命令在终端运行,结束后,重启电脑。


此方法同样适用于重装windows后引导菜单丢失
参考:https://blog.csdn.net/weixin_43878078/article/details/108940936