diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2013-February/022446.html')
-rw-r--r-- | zarb-ml/mageia-dev/2013-February/022446.html | 137 |
1 files changed, 137 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-February/022446.html b/zarb-ml/mageia-dev/2013-February/022446.html new file mode 100644 index 000000000..0edb4d8a1 --- /dev/null +++ b/zarb-ml/mageia-dev/2013-February/022446.html @@ -0,0 +1,137 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Grub2 vs. Grub Legacy in M3 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Grub2%20vs.%20Grub%20Legacy%20in%20M3&In-Reply-To=%3C511019C1.8090800%40zen.co.uk%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="022441.html"> + <LINK REL="Next" HREF="022455.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Grub2 vs. Grub Legacy in M3</H1> + <B>Barry Jackson</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Grub2%20vs.%20Grub%20Legacy%20in%20M3&In-Reply-To=%3C511019C1.8090800%40zen.co.uk%3E" + TITLE="[Mageia-dev] Grub2 vs. Grub Legacy in M3">zen25000 at zen.co.uk + </A><BR> + <I>Mon Feb 4 21:27:45 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="022441.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3 +</A></li> + <LI>Next message: <A HREF="022455.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#22446">[ date ]</a> + <a href="thread.html#22446">[ thread ]</a> + <a href="subject.html#22446">[ subject ]</a> + <a href="author.html#22446">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 04/02/13 19:18, Felix Miata wrote: +><i> On 2013-02-04 14:27 (GMT) Barry Jackson composed: +</I>><i> +</I>>><i> Felix Miata wrote: +</I>><i> +</I>>>><i> Nice in theory, but the root device is off by -1. Default menu.lst +</I>>>><i> cmdline includes root=LABEL=22cauldrn instead of UUID or device name, +</I>>>><i> which is apparently disregarded by grub 2. +</I>><i> +</I>>><i> Maybe a limitation of legacy_kernel. +</I>>><i> Normally to use labels in grub2 the 'search' command is used without any +</I>>><i> reference to the device assignment. +</I>>><i> Like:- +</I>><i> +</I>>><i> menuentry 'Mageia-2 multiboot' { +</I>>><i> search --no-floppy --label --set=root mageia-2 +</I>>><i> multiboot /boot/grub2/i386-pc/core.img +</I>>><i> } +</I>><i> +</I>>>><i> menuentry 'Cauldron defkernel' { +</I>>>><i> legacy_kernel '(hd0,22)/boot/vmlinuz' '(hd0,21)/boot/vmlinuz' +</I>>>><i> 'root=LABEL=22cauldrn' 'splash=verbose' 'noresume' 'video=1152x864' +</I>>>><i> 'vga=794' '3' '' +</I>>>><i> legacy_initrd '(hd0,22)/boot/initrd' '(hd0,21)/boot/initrd' +</I>>>><i> } +</I>><i> +</I>>>><i> It works when I s/hd0,21/hd0,22/g. +</I>><i> +</I>>><i> That syntax is apparently correct, as legacy_kernel needs to know what +</I>>><i> the original legacy command was. +</I>>><i> I have tested here in a clean mga3 installation and it works for me. +</I>><i> +</I>>><i> Please re-test and if it fails again please attach the original menu.lst +</I>>><i> and the resulting grub.cfg along with any error messages. +</I>><i> +</I>><i> It's entirely unclear what "re-test" here means, unless maybe by +</I>><i> incorporating your immediately preceding thread response. Current +</I>><i> behavior of Grub2 menu overall and first grub.cfg stanza is acceptable +</I>><i> having used/using the following: +</I>><i> +</I>><i> <A HREF="http://fm.no-ip.com/Tmp/Linux/Mdv/menu.lst.04-cldrn-gx27b.txt">http://fm.no-ip.com/Tmp/Linux/Mdv/menu.lst.04-cldrn-gx27b.txt</A> +</I>><i> +</I>><i> <A HREF="http://fm.no-ip.com/Tmp/Linux/Mdv/etc-default-grub-cldrn-gx27b.txt">http://fm.no-ip.com/Tmp/Linux/Mdv/etc-default-grub-cldrn-gx27b.txt</A> +</I>><i> +</I>><i> <A HREF="http://fm.no-ip.com/Tmp/Linux/Mdv/grub.cfg.06-cldrn-gx27b.txt">http://fm.no-ip.com/Tmp/Linux/Mdv/grub.cfg.06-cldrn-gx27b.txt</A> +</I>><i> +</I>><i> Only error message I recall is about vga= from Grub2 before first +</I>><i> kernel/init messages appear. +</I> +I was referring to re-testing the use of grub2-menulst2cfg again, since +it works perfectly here. + +If you truly get errors from the grub.cfg produced by it then I would +like to report this upstream. I suspect there is something slightly +unusual in your menu.lst that it can't handle, so we will need both +menu.lst and the output .cfg, plus any error messages that may be useful. + +Since your comments earlier I have decided to split out the theme into a +separate package, so that a minimal installation using grub2 will not +pull in the font, image etc. + +I have pushed a new version that Suggests: os-prober in the meantime. + +So, in future an install of grub2 with --no-suggests will be without a +theme or os-prober, and perform as per the modifications I suggested above. + +Thanks for your constructive comments Felix, + +Barry + + +</PRE> + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="022441.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3 +</A></li> + <LI>Next message: <A HREF="022455.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#22446">[ date ]</a> + <a href="thread.html#22446">[ thread ]</a> + <a href="subject.html#22446">[ subject ]</a> + <a href="author.html#22446">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |