2

Many times the value of the "install_devices" debconf setting in the grub-pc package is wrong for various reasons. Sometimes it's because Ubuntu's installer selected a different install device than the BIOS boots from, sometimes it's because the user manually selected that grub's boot sector should be installed to a partition (which is wrong, it should always go in the MBR), etc.

What is the officially supported way to change this debconf setting, preferably showing the user the helpful selection screen that used be given by sudo dpkg-reconfigure grub-pc (but which is no longer shown by this command in Ubuntu 12.04)?

2 Answers 2

4

sudo dpkg-reconfigure grub-pc is the officially-supported way, and it still works fine for me. Are you on a non-BIOS system or something? Perhaps sudo DEBCONF_DEBUG=developer dpkg-reconfigure grub-pc might be illuminating.

1
  • I talked with Colin Watson via IRC and he determined that the problem is that I'm running a development version of grub which breaks one of the assumptions made by sudo dpkg-reconfigure grub-pc, specifically the scripts currently check for a /boot/grub/core.img (which is correct for grub 1.99, the version of grub packaged in grub-pc) whereas grub 2.0 beta5 uses the path /boot/grub/i386-pc/core.img. In other words the real problem was my assumption that the problem I was seeing was universal, when in fact it was my own fault :) May 12, 2012 at 20:58
2

What is the officially supported way to change this debconf setting, preferably showing the user the helpful selection screen that used be given by sudo dpkg-reconfigure grub-pc

It works just fine in Precise (12.04). Here's what I got running it:

enter image description here enter image description here enter image description here enter image description here five

1
  • Unfortunately in 18.04 the configuration ends after the 2nd screenshot... there is no option to select the install device. Feb 23, 2020 at 20:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .