Grub2 won't update after upgrade to Nadia

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help

Grub2 won't update after upgrade to Nadia

Postby hallergard on Thu Nov 22, 2012 3:05 pm

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.
hallergard
Level 1
Level 1
 
Posts: 27
Joined: Wed Aug 01, 2012 4:11 am

Linux Mint is funded by ads and donations.
 

Re: Grub2 won't update after upgrade to Nadia

Postby srs5694 on Thu Nov 22, 2012 6:17 pm

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.
srs5694
Level 6
Level 6
 
Posts: 1020
Joined: Mon Feb 27, 2012 1:42 pm

Re: Grub2 won't update after upgrade to Nadia

Postby zerozero on Thu Nov 22, 2012 7:41 pm

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
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Re: Grub2 won't update after upgrade to Nadia

Postby hallergard on Fri Nov 23, 2012 4:23 am

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
hallergard
Level 1
Level 1
 
Posts: 27
Joined: Wed Aug 01, 2012 4:11 am

Re: Grub2 won't update after upgrade to Nadia

Postby hallergard on Fri Nov 23, 2012 6:00 am

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.
hallergard
Level 1
Level 1
 
Posts: 27
Joined: Wed Aug 01, 2012 4:11 am


Return to Installation & Boot

Who is online

Users browsing this forum: alexgator, vl1969 and 28 guests