Bug#544157: [grub-pc] shouldn't try to upgrade from GRUB 1 to GRUB 2 again if it did it before

Martin Steigerwald Martin at lichtvoll.de
Sat Aug 29 12:27:02 UTC 2009


Am Samstag 29 August 2009 schrieben Sie:
> Am Samstag, den 29.08.2009, 12:51 +0200 schrieb Martin Steigerwald:
> > Am Samstag 29 August 2009 schrieben Sie:
> > > The grub-pc.config script only extracts once the kopt parameter
> > > from it and saves it in /etc/default/grub.
> >
> > And thats the only parameter that was messed up after downgrading
> > grub-pc from sid to squeeze. /etc/default/grub then contained kopt
> > from menu.lst again.
>
> Hm grub-pc.config before I changed it checked if grub-pc/linux_cmdline
> returns "fillme" and only then extracts the kopt value.
> So that should only happen if you have purged the package and then
> reinstalled it but not if you just downgraded with apt/dpkg.

Well I didn't purge the package before. 

> > > And if you choose to chainload grub2 then the update-grub from
> > > grub-legacy is run with a special variable set, so that it
> > > generates a menu entry for GRUB 2.
> >
> > No, I let it replace GRUB 1 completely. I was surprised that it even
> > asked me that again, since I have been using GRUB 2 exclusively
> > before. I have / on a ext4 since about a week or two so I wouldn't
> > want to switch back to GRUB 1 anyway.
>
> The chainload question is (at least in the sid version) only asked if
> stage2 and menu.lst exists and core.img not.

/boot/grub/menu.lst and /boot/grub/stage1 were still floating around. But 
core.img should have been there too, since I used GRUB 2 from sid before. 
After this incidence I renamed menu.lst.

> > > In the sid version I changed the handling of the Linux kernel
> > > parameters, it could be that this doestn't work cleanly with a
> > > downgrade but this isn't fixable.
> >
> > Well when its just a problem with an interim testing/unstable version
> > that stable users won't see that might not be a big problem. But if
> > someone experiences a problem on upgrading grub-pc from lenny to
> > squeeze when its stable and gets that problem own downgrade that
> > wouldn't be that convenient. OTOH AFAIR package downgrades aren't
> > supported officially.
>
> Yes they aren't. You can't upgrade from oldstable to stable and then
> downgrade again to oldstable.

So you close that bug? I am okay with that. I am more interested that the 
grub-pc that will enter squeeze is going to be rock stable. When I think 
over it, I do not care about some interim versions between Lenny and 
Squeeze that much.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090829/61a5a087/attachment.pgp>


More information about the Pkg-grub-devel mailing list