linux – 如何在运行apt-get upgrade后避免GRUB错误 – ubunut

linux – 如何在运行apt-get upgrade后避免GRUB错误 – ubunut,第1张

概述我在EC2上运行ubuntu 14.04 运行apt-get升级后 我被提示屏幕,要求我重新安装GRUB引导装载程序 The GRUB boot loader was previously installed to a disk that is no longer present, or whose unique identifier has changed for some reason. It 我在EC2上运行ubuntu 14.04

运行apt-get升级后

我被提示屏幕,要求我重新安装GRUB引导装载程序

The GRUB boot loader was prevIoUsly installed to a disk that is no longer present,or whose unique IDentifIEr has changed for some reason. It is important to make sure that the installed GRUB core image stays in sync with GRUB modules and grub.cfg. Please check again to make sure that GRUB is written to the appropriate boot devices.

>我如何知道我应该选择哪种设备?
>如果我在我的机器上安装了一些额外的EBS,我应该选择它们怎么办?
>我可以在升级期间避免此提示或提供命令的某些默认值吗?

以下提示是

A new version of /boot/grub/menu.lst is available,but the version installed currently has been locally modifIEd.

install the package maintainer’s version keep the local version currently installed show the differences between the versions show a sIDe-by-sIDe difference between the versions show a 3-way difference between available versions do a 3-way merge between available versions (experimental) start a new shell to examine the situation

同样的问题在这里:

>我怎么知道我应该选择哪一个?
>我可以在升级期间避免此提示或提供命令的某些默认值吗?

谢谢 !!

解决方法 这个 located here目前有一个错误,它也是12.02 LTS为 seen here.Anders Hall错误报告底部列出的步骤适用于14.04 LTS 64位(HVM)AMI(ami-d05e75b8)在US-EAST-1):
$sudo apt-get update$sudo rm /boot/grub/menu.lst$sudo update-grub-legacy-ec2 -y$sudo apt-get dist-upgrade -qq --force-yes$sudo reboot

重启后,14.04.2 LTS升级到14.04.3 LTS和sudo apt-get update&& sudo apt-get upgrade返回0个新包.

总结

以上是内存溢出为你收集整理的linux – 如何在运行apt-get upgrade后避免GRUB错误 – ubunut全部内容,希望文章能够帮你解决linux – 如何在运行apt-get upgrade后避免GRUB错误 – ubunut所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/yw/1043971.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-24
下一篇2022-05-24

发表评论

登录后才能评论

评论列表(0条)

    保存