grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: backwards compatibility in grub.cfg


From: Robert Millan
Subject: Re: backwards compatibility in grub.cfg
Date: Sat, 31 May 2008 11:38:05 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, May 30, 2008 at 06:23:52PM -0400, Pavel Roskin wrote:
> On Fri, 2008-05-30 at 23:20 +0200, Robert Millan wrote:
> > Hi,
> > 
> > I'm adding this to the Debian package.  We need this for backwards
> > compatibility in case the new update-grub is used in combination with an
> > older install of GRUB in /boot/grub (which will surely happen a lot).
> > 
> > I'm wondering if it makes sense to commit this in official GRUB too.
> 
> I think it's a good idea.  Suppose that UUID changes for whatever
> reason.  Then it would be a fallback.
> 
> Maybe we could put a conditional into grub.cfg:
> 
> if !search --fs-uuid ...
>   set root=...
> fi
> 
> Just make sure that the old GRUB will actually grok it.

Yeah, that would be the "nice" way to do it, but it doesn't work.  And the
funny thing is, that if we fix it and start using it, it defeats the point of
backwards compatibility :-)

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]