grub-devel
[Top][All Lists]
Advanced

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

Re: grub2 and Linux software RAID devices


From: Yoshinori K. Okuji
Subject: Re: grub2 and Linux software RAID devices
Date: Thu, 7 Feb 2008 00:54:28 +0100
User-agent: KMail/1.9.4

On Thursday 07 February 2008 00:19, Sam Morris wrote:
> On Wed, 06 Feb 2008 00:49:24 +0000, Sam Morris wrote:
> > Then the screen blanks, and the next thing printed is:
> >
> >  Welcome to GRUB!
> >
> >  Entering into rescue mode...
> >  grub rescue>
> >
> > Whereupon I can enter 'insmod normal' and then 'normal' to get to the
> > regular boot menu.
>
> I modified the grub_load_normal_mode function in kern/main.c to print out
> the value of grub_errno after calling 'grub_dl_load ("normal")'. The
> result was 11, which corresponds to GRUB_ERR_OUT_OF_RANGE.
>
> I think it would be a good idea to modify the code to print out a
> description of the error at this point, or at least to display the error
> number, so that users know why they are being booted into the rescue
> shell.

Clever idea. I think it is crucial to add this kind of code more and more to 
GRUB, because the user often doesn't want to patch and recompile and 
reinstall, again and again.

Okuji




reply via email to

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