我在 /var/cache/debconf/config.dat 中有以下内容:
Name: grub-efi/install_devices
Template: grub-efi/install_devices
Value: /dev/sda1
Owners: grub-common, grub-efi-amd64, grub-pc
Flags: seen
Variables:
CHOICES:
RAW_CHOICES
Name: grub-efi/install_devices_disks_changed
Template: grub-efi/install_devices_disks_changed
Value: /dev/sda1, /dev/sdb1
Owners: grub-common, grub-efi-amd64,
Flags: seen
Variables:
CHOICES:
RAW_CHOICES
我需要将“install_devices”的值更改为“/dev/sdb1”。最好的方法是什么?我读到过,仅仅编辑config.dat并不是最好的方法。
'dpkg-reconfigure grub-efi-amd64/grub-common' 能修复这个问题吗?但是这不能修复 grub-pc 吗?debconf-set-selections 怎么样?
谢谢。