运行更新管理器后,会弹出一个 debconf 窗口(标题为“配置 grub-pc”),要求我选择适合GRUB install devices
我的系统的选项。我最近没有对 grub 或文件系统进行任何更改,而且我不记得上次进行更改时选择了哪些选项。
我怎么知道要选择什么?我假设错误的答案可能会导致我的系统无法启动。
这是 debconf 对话框:
这是选择“帮助”时显示的窗口和文本:
Per Make apt-get (or aptitude) run with -y 但不提示替换配置文件?
我做了以下事情:
ec2run ami-3c994355 --region us-east-1 -n 1 -t m1.large -z us-east-1d
Run Code Online (Sandbox Code Playgroud)
在机器上:
sudo apt-get update
sudo apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade
Run Code Online (Sandbox Code Playgroud)
我仍然收到提示,询问我想使用哪个配置文件。这些是出现在提示之前的行:
Setting up grub-pc (1.99-21ubuntu3.1) ...
Run Code Online (Sandbox Code Playgroud)
然后:
????????????????????????????????????????????????????????? Configuring grub-pc ?????????????????????????????????????????????????????????
? A new version of configuration file /etc/default/grub is available, but the version installed currently has been locally modified. ?
? ?
? What do you want to do about modified configuration file grub? ?
? ? …
Run Code Online (Sandbox Code Playgroud)