1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
<!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=%3C5110098D.5050107%40earthlink.net%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="022433.html">
<LINK REL="Next" HREF="022446.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Grub2 vs. Grub Legacy in M3</H1>
<B>Felix Miata</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Grub2%20vs.%20Grub%20Legacy%20in%20M3&In-Reply-To=%3C5110098D.5050107%40earthlink.net%3E"
TITLE="[Mageia-dev] Grub2 vs. Grub Legacy in M3">mrmazda at earthlink.net
</A><BR>
<I>Mon Feb 4 20:18:37 CET 2013</I>
<P><UL>
<LI>Previous message: <A HREF="022433.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
</A></li>
<LI>Next message: <A HREF="022446.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#22441">[ date ]</a>
<a href="thread.html#22441">[ thread ]</a>
<a href="subject.html#22441">[ subject ]</a>
<a href="author.html#22441">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 2013-02-04 14:27 (GMT) Barry Jackson composed:
><i> Felix Miata wrote:
</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> 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> 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> 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> It works when I s/hd0,21/hd0,22/g.
</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> 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>
It's entirely unclear what "re-test" here means, unless maybe by
incorporating your immediately preceding thread response. Current behavior of
Grub2 menu overall and first grub.cfg stanza is acceptable having used/using
the following:
<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>
<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>
<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>
Only error message I recall is about vga= from Grub2 before first kernel/init
messages appear.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** <A HREF="http://fm.no-ip.com/">http://fm.no-ip.com/</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="022433.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
</A></li>
<LI>Next message: <A HREF="022446.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#22441">[ date ]</a>
<a href="thread.html#22441">[ thread ]</a>
<a href="subject.html#22441">[ subject ]</a>
<a href="author.html#22441">[ 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>
|