【发布时间】:2018-07-05 07:43:25
【问题描述】:
我在 Amazon AWS EC2 上运行 ubuntu 16.04,并且刚刚运行 sudo apt-get dist-upgrade 以更新 控制台 中的建议包.
在此期间,我在menu.lst的包配置中提示A new version of /boot/grub/menu.lst is available, but the version installed currently has been locally modified.
我们没有进行任何更改,因此我假设这是 Amazon AWS EC2 的设置。
我应该如何进行?
Line by line differences between versions
--- /run/grub/menu.lst root.root 0644 2018-01-25 22:33:02
+++ /tmp/fileeCfBYY root.root 0600 2018-01-25 22:33:02
@@ -3,11 +3,9 @@
title Ubuntu 16.04.3 LTS, kernel 4.4.0-97-generic
root (hd0)
kernel /boot/vmlinuz-4.4.0-97-generic root=LABEL=cloudimg-rootfs ro console=hvc0
-initrd /boot/initrd.img-4.4.0-97-generic
title Ubuntu 16.04.3 LTS, kernel 4.4.0-97-generic (recovery mode)
root (hd0)
kernel /boot/vmlinuz-4.4.0-97-generic root=LABEL=cloudimg-rootfs ro single
-initrd /boot/initrd.img-4.4.0-97-generic
### END DEBIAN AUTOMAGIC KERNELS LIST
【问题讨论】:
-
如果你还没有安装任何自定义的,只需选择“包维护者的版本”。
标签: amazon-web-services ubuntu amazon-ec2