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: Sam Morris
Subject: Re: grub2 and Linux software RAID devices
Date: Wed, 6 Feb 2008 23:19:07 +0000 (UTC)
User-agent: Pan/0.132 (Waxed in Black)

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.

-- 
Sam Morris
http://robots.org.uk/
 
PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078





reply via email to

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