blob: 95e7390a52cc9dd81398e52c0072073691cf0cb8 (
plain)
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
|
<!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=%3C510FC553.2010908%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="022448.html">
<LINK REL="Next" HREF="022441.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=%3C510FC553.2010908%40zen.co.uk%3E"
TITLE="[Mageia-dev] Grub2 vs. Grub Legacy in M3">zen25000 at zen.co.uk
</A><BR>
<I>Mon Feb 4 15:27:31 CET 2013</I>
<P><UL>
<LI>Previous message: <A HREF="022448.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
</A></li>
<LI>Next message: <A HREF="022441.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#22433">[ date ]</a>
<a href="thread.html#22433">[ thread ]</a>
<a href="subject.html#22433">[ subject ]</a>
<a href="author.html#22433">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 03/02/13 18:05, Felix Miata wrote:
><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>
Maybe a limitation of legacy_kernel.
Normally to use labels in grub2 the 'search' command is used without any
reference to the device assignment.
Like:-
menuentry 'Mageia-2 multiboot' {
search --no-floppy --label --set=root mageia-2
multiboot /boot/grub2/i386-pc/core.img
}
><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>
That syntax is apparently correct, as legacy_kernel needs to know what
the original legacy command was.
I have tested here in a clean mga3 installation and it works for me.
Please re-test and if it fails again please attach the original menu.lst
and the resulting grub.cfg along with any error messages.
Barry
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="022448.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
</A></li>
<LI>Next message: <A HREF="022441.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#22433">[ date ]</a>
<a href="thread.html#22433">[ thread ]</a>
<a href="subject.html#22433">[ subject ]</a>
<a href="author.html#22433">[ 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>
|