Comment 110 for bug 1289977

Revision history for this message
Phillip Susi (psusi) wrote :

@Jordi, you appear to have two drives but grub-pc/install_devices only points to one. You probably manually installed grub to the other at some point, and are booting from that drive. It didn't get reinstalled on that drive when grub upgraded. Run sudo dpkg-reconfigure grub-pc and select *both* drives.

@Fengyang: it has nothing to do with the upgrade tool. The upgrade scripts in the grub-pc package handle reinstalling grub, but can only do so if grub-pc/install_devices is set correctly. This only applies to grub-pc, not grub-efi, so if you are using grub-efi, your case is different. Do you only have the one disk you showed in comment #49? Do you have your efi system partition mounted in /boot/efi? Can you attach your /var/log/dist-upgrade/apt-term.log?

@Mathias: grub1 has not been used since ubuntu 9.04, and if you keep upgrading from there, you stay on grub1 rather than migrate to grub2.

@_dan_: the upgrade process does take care of it by using the value in grub-pc/install_device. If it is unset, or not set correctly, it has no way of knowing that isn't what you wanted, and so can not decide to force you to reconfigure it.

@tamale, same question as everyone else: is your grub-pc/install_devices set correctly? If not and you don't think you had any problem installing 13.10 and had to manually install grub, please attach your /var/log/installer/syslog file.

@Cedders, it looks like you have the Windows boot loader chain load grub rather than having it installed directly. This is not a supported configuration. The windows loader does not directly chain load grub from the partition you have it installed to, instead at the time you set it up, it copies the boot sector of the partition to a file and loads that. Thus this file was not updated when grub was, which lead to the error. You should install grub to the MBR instead and have it chain load windows.

@yarn, and @olly_b, like Fengyang, you appear to be using efi, so you should have grub-efi rather than grub-pc installed. Can you run df and make sure that /dev/sda2 is mounted in /boot/efi and attach your /var/log/dist-upgrade/apt-term.log file?