FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 09-28-2012, 01:24 PM
Tom H
Default grub2.00-7 from experimental

On Fri, Sep 28, 2012 at 7:26 AM, Martin Steigerwald <Martin@lichtvoll.de> wrote:
> Am Donnerstag, 27. September 2012 schrieb Valery Mamonov:
>> Downgrading grub packages to 1.99-23 from unstable did the trick, as I
>> thought.
>> System boots and works fine.
> Ok, good.
> Would be interesting to know what the error was.
> In case you spare any free time, IŽd look in the shell script update-grub
> or grub-mkconfig for the occurence of a part of the error message and look
> whats going on there.

(FYI, update-grub just calls grub-mkconfig)

I've just looked at Debian's grub2 source and there's a Debian
grub-mkconfig patch, "mkconfig_mid_upgrade.patch":

Description: Bail out if trying to run grub-mkconfig during upgrade to 2.00
Since files in /etc/grub.d/ are conffiles, they are not put in place until
grub-common is configured, meaning that they may be out of sync with the
parts of grub-mkconfig that reside in /usr/. In GRUB 1.99,
/etc/grub.d/00_header contained a reference to ${GRUB_PREFIX}/video.lst.
This and other code from 1.99 breaks with 2.00's grub-mkconfig. Deferring
this to when grub-PLATFORM.postinst eventually runs is safe and avoids this
Author: Colin Watson <cjwatson@ubuntu.com>
Forwarded: no
Last-Update: 2012-09-13

Index: b/util/grub-mkconfig.in
================================================== =================
--- a/util/grub-mkconfig.in
+++ b/util/grub-mkconfig.in
@@ -99,6 +99,13 @@

+if fgrep -qs '${GRUB_PREFIX}/video.lst' "${grub_mkconfig_dir}/00_header"; then
+ echo "GRUB >= 2.00 has been unpacked but not yet configured." >&2
+ echo "grub-mkconfig will not work until the upgrade is complete." >&2
+ echo "It should run later as part of configuring the new GRUB packages." >&2
+ exit 0
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAOdo=SwDjvsk0PUgR48dOvkTuwpCyenhG-1jwpqdKxRM44PPZw@mail.gmail.com

Thread Tools

All times are GMT. The time now is 05:34 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org