我在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个新包.