I found this during upgrading our Zimbra server from Ubuntu 8.04 LTS to 10.04 LTS with
root@zimbra:~# dpkg -l | grep grub-pc
ii grub-pc 1.98-1ubuntu10[...]
So this bug is not fixed completely, one year after release of a long term support edition of Ubuntu and almost one year after reporting it. This makes me wonder, cause I assumed that Ubuntu LTS 10.04 was supposed to be a stabler branch of Ubuntu.
root@zimbra:~# echo get grub-pc/install_devices | debconf-communicate
0
install_devices is not set, debconf *should* ask.
Set the value - adapt device name as needed for your setup.
root@zimbra:~# echo set grub-pc/install_devices /dev/sda | debconf-communicate
0 value set
Verify that it is set:
root@zimbra:~# echo get grub-pc/install_devices | debconf-communicate
0 /dev/sda
root@zimbra:~# dpkg-reconfigure grub-pc
[...]
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-31-server
Found initrd image: /boot/initrd.img-2.6.32-31-server
Found linux image: /boot/vmlinuz-2.6.24-29-server
Found initrd image: /boot/initrd.img-2.6.24-29-server
Found memtest86+ image: /boot/memtest86+.bin
done
Of course, grub-install /dev/sda should do the same job manually.
I never seen something like this in any version of debian stable.
I found this during upgrading our Zimbra server from Ubuntu 8.04 LTS to 10.04 LTS with
root@zimbra:~# dpkg -l | grep grub-pc
ii grub-pc 1.98-1ubuntu10[...]
So this bug is not fixed completely, one year after release of a long term support edition of Ubuntu and almost one year after reporting it. This makes me wonder, cause I assumed that Ubuntu LTS 10.04 was supposed to be a stabler branch of Ubuntu.
Manual work around I applied:
root@zimbra:~# debconf-show grub-pc pc/kopt_ extracted: true kfreebsd_ cmdline: install_ devices: pc/postrm_ purge_boot_ grub: false pc/disk_ description: cmdline: install_ devices_ empty: true kfreebsd_ cmdline_ default: quiet pc/partition_ description: pc/install_ devices_ failed: false pc/install_ devices_ disks_changed: cmdline_ default: quiet splash chainload_ from_menu. lst: true pc/hidden_ timeout: true
grub-
grub2/
* grub-pc/
grub-
grub-
* grub2/linux_
* grub-pc/
grub2/
grub-
grub-
grub-
* grub2/linux_
* grub-pc/
grub-
grub-pc/timeout: 3
root@zimbra:~# echo get grub-pc/ install_ devices | debconf-communicate
0
install_devices is not set, debconf *should* ask.
Set the value - adapt device name as needed for your setup.
root@zimbra:~# echo set grub-pc/ install_ devices /dev/sda | debconf-communicate
0 value set
Verify that it is set:
root@zimbra:~# echo get grub-pc/ install_ devices | debconf-communicate
0 /dev/sda
root@zimbra:~# dpkg-reconfigure grub-pc 2.6.32- 31-server img-2.6. 32-31-server 2.6.24- 29-server img-2.6. 24-29-server +.bin
[...]
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
done
Of course, grub-install /dev/sda should do the same job manually.
I never seen something like this in any version of debian stable.