【问题标题】:Locally modified /boot/grub/menu.lst on update ubuntu 16.04 with AWS EC2在使用 AWS EC2 更新 ubuntu 16.04 时本地修改 /boot/grub/menu.lst
【发布时间】: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


【解决方案1】:

文件权限已更改

旧:root.root 0644 新:root.root 0600

按照建议,我会选择“包维护者的版本”

【讨论】:

  • 谢谢。选择它并没有影响我能看到的任何东西,一切正常运行,世界仍然存在。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2018-06-03
  • 1970-01-01
  • 2019-08-15
  • 2019-06-01
  • 2021-01-10
  • 2017-05-02
  • 2017-10-26
相关资源
最近更新 更多