Page 1 of 1

Grub2 won't update after upgrade to Nadia

Posted: Thu Nov 22, 2012 3:05 pm
by hallergard
Just upgraded with APT from Mint 13 to 14, successfully, once I restored the absent /etc/resolve.conf. Only little problem is that I have to update grub.conf manually - which I suppose I can live with - though it is a bit annoying.

Running update-grub echos "Generating grub.cfg ..." only - no kernels found or anything. And nothing is changed, except a new file grub.cfg.new is generated, containing only some of the /etc/grub.d/00_header.

Did have some problems during the upgrade with grub-pc not installing - so I removed it to stop being bugged about it. Could that have had any influence? Don't think I am affected by UEFI or efi as my desktop is a couple of years old.

Re: Grub2 won't update after upgrade to Nadia

Posted: Thu Nov 22, 2012 6:17 pm
by srs5694
The grub-pc package is GRUB, so if you removed it, it's no surprise that you're having problems. In fact, the only surprise is that anything GRUB-related works! (Maybe there's a separate GRUB support package, though.) Re-install grub-pc and work through any troubles you have doing so and your problems should go away.

Re: Grub2 won't update after upgrade to Nadia

Posted: Thu Nov 22, 2012 7:41 pm
by zerozero
hallergard wrote:Just upgraded with APT from Mint 13 to 14,
Mint doesn't recommend in-place upgrades, they are too risky and most of the time the final result is a broken system.
see this http://community.linuxmint.com/tutorial/view/2

Re: Grub2 won't update after upgrade to Nadia

Posted: Fri Nov 23, 2012 4:23 am
by hallergard
Thanks srs5694. Could not install grub-pc as the package grub-gfxpayload-lists could not be found. Downloaded it directly from the server, and now the installation progressed until I got stuck in a terminal called "package configuration" with a text message called "configuring grub-pc". Finally realized that ESC took me to choosing to where install - /dev/sdb3 in my case. Then it seems to proceed normally for a while, but get this towards the end:

Code: Select all

Setting up grub-pc (2.00-7ubuntu11) ...
/usr/sbin/grub-bios-setup: warning: Filesystem `ext2' doesn't support embedding.
/usr/sbin/grub-bios-setup: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
Installation finished. No error reported.
Generating grub.cfg ...
dpkg: error processing grub-pc (--install):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of grub-gfxpayload-lists:
 grub-gfxpayload-lists depends on grub-pc (>= 1.99~20101210-1ubuntu2); however:
  Package grub-pc is not configured yet.
dpkg: error processing grub-gfxpayload-lists (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 grub-pc
 grub-gfxpayload-lists
Could it be that my problems stems from using ext3 file system??
Tried my ususal command "sudo grub-install --force --root-directory=/mnt/ /dev/sdb3" which seemed to work as normally. But "update-grub" still would not update grub.cfg properly

Re: Grub2 won't update after upgrade to Nadia

Posted: Fri Nov 23, 2012 6:00 am
by hallergard
So I did a complete removal of all grub* and then reinstalled them. This progressed normally and I could see that grub.cfg was updated as it should be. Then I exchanged some of the files in /etc/grub.d/ but then "update-grub" did not work any more. After some trial and error I found that my old 05_debian_theme was the culprit. So I suppose that if I edit the new 05_debian_theme it will be okay.