All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: grub2 and Linux software RAID devices
Date: Thu, 7 Feb 2008 00:54:28 +0100	[thread overview]
Message-ID: <200802070054.29193.okuji@enbug.org> (raw)
In-Reply-To: <pan.2008.02.06.23.18.51@robots.org.uk>

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	other threads:[~2008-02-06 23:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-04 21:36 grub2 and Linux software RAID devices Sam Morris
2008-02-04 22:43 ` Robert Millan
2008-02-05  0:44   ` Sam Morris
2008-02-05  9:38     ` Robert Millan
2008-02-07 20:35       ` Jan Nieuwenhuizen
2008-02-07 21:32         ` Robert Millan
2008-02-05  1:32   ` Sam Morris
2008-02-05  9:35     ` Robert Millan
2008-02-06  0:49       ` Sam Morris
2008-02-06 23:19         ` Sam Morris
2008-02-06 23:54           ` Yoshinori K. Okuji [this message]
2008-02-07 12:45   ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200802070054.29193.okuji@enbug.org \
    --to=okuji@enbug.org \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.