summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-February/022430.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2013-February/022430.html')
-rw-r--r--zarb-ml/mageia-dev/2013-February/022430.html245
1 files changed, 245 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-February/022430.html b/zarb-ml/mageia-dev/2013-February/022430.html
new file mode 100644
index 000000000..82a23de90
--- /dev/null
+++ b/zarb-ml/mageia-dev/2013-February/022430.html
@@ -0,0 +1,245 @@
+<!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=%3C510FA853.7000907%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="022408.html">
+ <LINK REL="Next" HREF="022447.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=%3C510FA853.7000907%40zen.co.uk%3E"
+ TITLE="[Mageia-dev] Grub2 vs. Grub Legacy in M3">zen25000 at zen.co.uk
+ </A><BR>
+ <I>Mon Feb 4 13:23:47 CET 2013</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="022408.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
+</A></li>
+ <LI>Next message: <A HREF="022447.html">[Mageia-dev] musical session locations (was: Grub2 vs. Grub Leg...)
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#22430">[ date ]</a>
+ <a href="thread.html#22430">[ thread ]</a>
+ <a href="subject.html#22430">[ subject ]</a>
+ <a href="author.html#22430">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 03/02/13 18:05, Felix Miata wrote:
+&gt;<i> On 2013-02-02 10:08 (GMT) Barry Jackson composed:
+</I>&gt;<i>
+</I>&gt;&gt;<i> Felix Miata wrote:
+</I>&gt;<i>
+</I>&gt;&gt;&gt;<i> Good start:
+</I>&gt;&gt;&gt;<i> 1-/boot/grub2/i386-pc/core.img in a Grub Legacy stanza succeeds
+</I>&gt;<i>
+</I>&gt;&gt;&gt;<i> Not good from then on:
+</I>&gt;&gt;&gt;<i> 1-Grub2 error message due to not finding some png file
+</I>&gt;<i>
+</I>&gt;&gt;<i> You removed the png by using --no-suggests
+</I>&gt;<i>
+</I>&gt;<i> One cannot remove what is not present. What I did was block installation
+</I>&gt;<i> of packages that the grub2 package does not declare to be required.
+</I>&gt;<i> Grub2 should not be configured to show user an error resulting from its
+</I>&gt;<i> own installation misconfiguration. That looks like a bug.
+</I>&gt;<i>
+</I>&gt;&gt;&gt;<i> 2-25 item Grub 2.00 menu (grub.cfg:
+</I>&gt;&gt;&gt;<i> <A HREF="http://fm.no-ip.com/Tmp/Linux/Mdv/grub.cfg.gx27b-cauldron3-1.txt">http://fm.no-ip.com/Tmp/Linux/Mdv/grub.cfg.gx27b-cauldron3-1.txt</A> ).
+</I>&gt;&gt;&gt;<i> After selecting a selection from a master bootloader, there's no good
+</I>&gt;&gt;&gt;<i> reason to see similar selections as in the previous menu unrelated to
+</I>&gt;&gt;&gt;<i> the chosen selection. IOW, when not a master bootloader (i.e.
+</I>&gt;&gt;&gt;<i> &quot;chainloaded&quot; via core.img, only Mageia entries attributable to selected
+</I>&gt;&gt;&gt;<i> filesystem hosting core.img should be in this menu.
+</I>&gt;<i>
+</I>&gt;&gt;<i> If that is what you want then:-
+</I>&gt;&gt;<i> # urpme os-prober
+</I>&gt;<i>
+</I>&gt;<i> Why was it installed when I did 'urpmi --no-suggests grub2' if it's not
+</I>&gt;<i> required?
+</I>&gt;<i>
+</I>&gt;<i> # urpme os-prober
+</I>&gt;<i> To satisfy dependencies, the following 2 packages will be removed...
+</I>&gt;<i> grub2-yada
+</I>&gt;<i> os-prober-yada...
+</I>&gt;<i>
+</I>
+Right, sorry - I agree - I never really envisaged anyone not wanting
+os-prober installed, however it should really be a Suggests - I will
+change that.
+
+However I should have pointed out that it can be disabled in
+/etc/defaults/grub with
+
+GRUB_DISABLE_OS_PROBER=true
+
+&gt;&gt;&gt;<i> 3-Grub2 menu uses same awful spindly-looking font responsible in large
+</I>&gt;&gt;&gt;<i> part for my distaste for *buntu
+</I>&gt;<i>
+</I>&gt;&gt;<i> Yes could be a lot better, but it's mainly a choice based on licensing,
+</I>&gt;&gt;<i> probably will be improved in the future.
+</I>&gt;<i>
+</I>&gt;<i> What's wrong with nice legible BIOS native fonts?
+</I>
+Try commenting out the line in /etc/defaults/grub
+
+#GRUB_THEME=...
+
+and also temporarily rename /boot/grub2/fonts
+
+Run &quot;grub2-mkconfig -o /boot/grub2/grub.cfg&quot;
+after changing anything in /etc/deafult/grub before rebooting.
+
+
+Is that better for you?
+
+&gt;<i>
+</I>&gt;&gt;&gt;<i> 4-default menu selection for Cauldron causes this cmdline:
+</I>&gt;<i>
+</I>&gt;&gt;&gt;<i> BOOT_IMAGE=/boot/vmlinuz-prv
+</I>&gt;&gt;&gt;<i> root=UUID=bbe8a402-5fb1-4247-b372-5bb6cff4e18c ro splash
+</I>&gt;<i>
+</I>&gt;&gt;&gt;<i> which is nothing like the default Grub Legacy menu stanza's cmdline
+</I>&gt;&gt;&gt;<i> result:
+</I>&gt;<i>
+</I>&gt;&gt;&gt;<i> root=LABEL=22cauldrn splash=verbose noresume video=1152x864
+</I>&gt;&gt;&gt;<i> vga=794 3
+</I>&gt;<i>
+</I>&gt;&gt;&gt;<i> obviously caused by Grub2 installation disregarding content of
+</I>&gt;&gt;&gt;<i> pre-existing menu.lst ....
+</I>&gt;<i>
+</I>&gt;&gt;<i> grub2 does not pay any attention to legacy menu.lst - it's a totally
+</I>&gt;&gt;<i> different, unrelated bootloader.
+</I>&gt;<i>
+</I>&gt;&gt;<i> If you want grub2 to use an existing legacy menu.lst then you can use
+</I>&gt;&gt;<i> grub2-menulst2cfg tool to create a grub.cfg from menu.lst.
+</I>&gt;<i>
+</I>&gt;&gt;<i> Usage: grub2-menulst2cfg [INFILE [OUTFILE]]
+</I>&gt;<i>
+</I>&gt;<i> Nice in theory, but the root device is off by -1. Default menu.lst
+</I>&gt;<i> cmdline includes root=LABEL=22cauldrn instead of UUID or device name,
+</I>&gt;<i> which is apparently disregarded by grub 2.
+</I>&gt;<i>
+</I>&gt;<i> menuentry 'Cauldron defkernel' {
+</I>&gt;<i> legacy_kernel '(hd0,22)/boot/vmlinuz' '(hd0,21)/boot/vmlinuz'
+</I>&gt;<i> 'root=LABEL=22cauldrn' 'splash=verbose' 'noresume' 'video=1152x864'
+</I>&gt;<i> 'vga=794' '3' ''
+</I>&gt;<i> legacy_initrd '(hd0,22)/boot/initrd' '(hd0,21)/boot/initrd'
+</I>&gt;<i> }
+</I>&gt;<i>
+</I>&gt;<i> It works when I s/hd0,21/hd0,22/g.
+</I>&gt;<i>
+</I>That looks like an upstream bug - I will investigate.
+
+&gt;&gt;&gt;<i> 5-semi-legible blue on black graphical progress bar instead of normal
+</I>&gt;&gt;&gt;<i> complement of startup messages when splash=verbose
+</I>&gt;<i>
+</I>&gt;&gt;<i> The font colours were chosen to complement the background image which
+</I>&gt;&gt;<i> you chose not to install.
+</I>&gt;<i>
+</I>&gt;<i> I saw no fonts in that progress bar. I asked for no progress bar.
+</I>&gt;<i>
+</I>
+OK remove the theme as above and set:
+
+GRUB_CMDLINE_LINUX=&quot;3&quot;
+
+... for runlevel 3 and just remove the &quot;splash&quot; on that line for verbose
+output.
+
+&gt;&gt;&gt;<i> 6-post ESC, startup messages are inappropriately tiny
+</I>&gt;<i>
+</I>&gt;&gt;<i> Sounds like the same issue I used to have when I was using nvidia
+</I>&gt;&gt;<i> graphics with nouveau.
+</I>&gt;&gt;<i> Using intel I don't see this.
+</I>&gt;<i>
+</I>&gt;<i> # lspci | grep VGA
+</I>&gt;<i> 00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated
+</I>&gt;<i> Graphics Controller (rev 02)
+</I>&gt;<i>
+</I>
+Hmm - dunno then - I do see a drop in size which appears to happen after
+grub2 has handed over to the kernel.
+
+&gt;&gt;&gt;<i> 7-tty text is too tiny to use (same as startup messages; screen's
+</I>&gt;&gt;&gt;<i> preferred mode 1600x1200 used instead of legible mode 1152x864)
+</I>&gt;<i>
+</I>&gt;&gt;<i> Probably configurable in /etc/defaults/grub but off hand I don't know
+</I>&gt;&gt;<i> the variable name - should be in the maunual somewhere.
+</I>
+I'm suspecting this is not a grub2 issue but I may be wrong.
+&gt;<i>
+</I>&gt;<i> grub2-menulst2cfg picked up the ones that work in Grub Legacy (vga=
+</I>&gt;<i> ((<A HREF="http://www.kernel.org/doc/Documentation/kernel-parameters.txt">http://www.kernel.org/doc/Documentation/kernel-parameters.txt</A>)) &amp;
+</I>&gt;<i> video= ((<A HREF="http://www.kernel.org/doc/Documentation/fb/modedb.txt">http://www.kernel.org/doc/Documentation/fb/modedb.txt</A>))), which
+</I>&gt;<i> are kernel parameters. They do the same thing loaded via Grub2 as when
+</I>&gt;<i> loaded via Grub Legacy.
+</I>&gt;<i>
+</I>&gt;&gt;&gt;<i> 8-KDM is on tty2, the location I reserve for certain class of recurring
+</I>&gt;&gt;&gt;<i> activities, instead of where expected on tty7
+</I>&gt;<i>
+</I>&gt;&gt;<i> Dunno - I have never seen this.
+</I>&gt;<i>
+</I>&gt;<i> Booting with 3 on cmdline and later doing startx or init 5?
+</I>
+I think that startx and init are deprecated in favour of proper systemd
+commands now.
+
+&gt;<i> On current
+</I>&gt;<i> boot I used 3 on cmdline, logged in on tty2 &amp; tty3, did startx on tty3,
+</I>&gt;<i> and found X is running on tty3. On exiting the X session I did init 5.
+</I>&gt;<i> That put KDM on tty1. On openSUSE &amp; Fedora the problem is essentially
+</I>&gt;<i> the same, e.g.: <A HREF="https://bugzilla.novell.com/show_bug.cgi?id=768788">https://bugzilla.novell.com/show_bug.cgi?id=768788</A>
+</I>&gt;<i>
+</I>
+I don't think this is grub2 related.
+Graphical desktop should default to tty1 now, however I have seen an
+issue where it moves to tty7 after stopping and re-starting
+prefdm.service. I have not checked this recently.
+
+&gt;&gt;&gt;<i> 9-preferred initial runlevel as evidenced by menu.lst cmdline options
+</I>&gt;&gt;&gt;<i> was not specified
+</I>&gt;<i>
+</I>&gt;&gt;<i> Again menu.lst is nothing to do with grub2
+</I>&gt;<i>
+</I>&gt;<i> Maybe grub2-menulst2cfg should be used instead of grub2-mkconfig when
+</I>&gt;<i> grub2 is added to a system with grub previously installed.
+</I>
+Yes that could be an option, although for the majority of users I
+suspect that os-prober does what is needed.
+</PRE>
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="022408.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
+</A></li>
+ <LI>Next message: <A HREF="022447.html">[Mageia-dev] musical session locations (was: Grub2 vs. Grub Leg...)
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#22430">[ date ]</a>
+ <a href="thread.html#22430">[ thread ]</a>
+ <a href="subject.html#22430">[ subject ]</a>
+ <a href="author.html#22430">[ 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>