Improve friendliness of misconfigured bootloader error
PATCH 1/1 Improve friendliness of misconfigured bootloader error
If a user specifies an improper grub.conf entry for Xen (does not specify a module line or mispells module), Xen outputs the following error:
FATAL ERROR: Require at least one Multiboot module.
The attached patch changes this error to:
FATAL ERROR: dom0 kernel not specified! Check bootloader configuration.
I've had a few people ask for help debugging this problem and usually they have no idea what a multiboot module is so the error is not helpful to them.
Signed-off-by Anthony Liguori <[email protected]>
Regards,
Anthony Liguori
arch/x86/setup.c renamed from arch/x86/setup.c~ +1 -1
@@ -262,7 +262,7 @@/* Check that we have at least one Multiboot module. */ if ( !(mbi->flags &MBI_MODULES ) || (mbi->mods_count ==0 ) ) { -printk ("FATAL ERROR: Require at least one Multiboot module.\n" ); +printk ("FATAL ERROR: dom0 kernel not specified! Check bootloader configuration.\n" );EARLY_FAIL (); }
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel