Bug#345931: If the problem is that the user doesn't know he won't be able to reboot...

Marc Fargas telenieko at gmail.com
Fri Sep 15 07:38:19 UTC 2006


I'm not sure about that. there's a chance that some people want thise
behaviour (I mean, do not touch the stage files) and raising an ERROR
would leave them with no option. If you want your stage files updated
use grub-install. If not use grub, setup() and pay attention to the
warning message.

A warning is much less intrusive than an error. If one likes that
behaviour and sees a warning will simply ignore it. If he/she gets an
error, it can't be ignored. I would only raise a warning by checking
the version on stage files or simply every time setup() is called.

Cheers,
Marc.

On 9/14/06, Jason Thomas <jason at debian.org> wrote:
> option C, we create a way to extract the version information from every
> grub file. So that the grub shell can check that its version matches
> the stage files and if not generate an ERROR message.
>
> On Wed, Sep 13, 2006 at 11:05:38AM +0200, Marc Fargas wrote:
> > Steve Langasek <vorlon at debian.org> writes:
> > >Surely this is still a bug in the grub shell for failing to notice that it
> > >had rendered the system unbootable?
> >
> > Grub shell is supposed to be used by "experienced" users, and if the
> > big problem is that setup() doesn't copy those files to /boot/ there
> > are two lines of action:
> > a) On a call to setup() output a nice warning message that clearly
> > says that the files MUST be manually copied by the user encouragin the
> > use of grub-install
> > b) On a call to setup() take care of copying the files.
> >
> > I'd vote for option a, with that warning in place the bug would be ok,
> > right? I've never touched inside grub but I can try to patch it if you
> > select A, and less maybe for B ;) [so, is option A ok for closing the
> > bug? at least the user knows that he/she won't boot again... hehe]
> >
> > Cheers,
> > Marc.
> >
> > --
> > The probability of failure of a (computer) system is exponentially
> > proportional to the physical distance between it and the one who could
> > fix it. -- Martin F. Krafft
> >
> >
> > --
> > The probability of failure of a (computer) system is exponentially
> > proportional to the physical distance between it and the one who could
> > fix it. -- Martin F. Krafft
> >
> >
> > _______________________________________________
> > Pkg-grub-devel mailing list
> > Pkg-grub-devel at lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel
>


-- 
The probability of failure of a (computer) system is exponentially
proportional to the physical distance between it and the one who could
fix it. -- Martin F. Krafft




More information about the Pkg-grub-devel mailing list