On Mon, Aug 11, 2008 at 01:42:16PM +0200, Felix Zielcke wrote:
> GRUB shouldn't fail to rescue mode, if an unsupport RAID (in this case
> 6) is used on disks which GRUB doestn't even need to access.

I think the right solution for this would be to handle the errors in the
upper layer instead of removing them.

In this case, grub_raid_scan_device() is called from GRUB_MOD_INIT(raid),
which doesn't handle them, and then when they're handled the only option
is to abort normal mode.

GRUB_MOD_INIT(raid) could handle them just fine, with something like:

  grub_print_error ();
  grub_errno = GRUB_ERR_NONE;

if an error was found.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to