summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-January/021895.html
blob: 5a8d952f06776d66b13015a927c3cf338c9d42da (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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!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=%3C50FC855A.9070808%40roadrunner.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="021885.html">
   <LINK REL="Next"  HREF="022146.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Grub2 vs. Grub Legacy in M3</H1>
    <B>Frank Griffin</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Grub2%20vs.%20Grub%20Legacy%20in%20M3&In-Reply-To=%3C50FC855A.9070808%40roadrunner.com%3E"
       TITLE="[Mageia-dev] Grub2 vs. Grub Legacy in M3">ftg at roadrunner.com
       </A><BR>
    <I>Mon Jan 21 01:01:30 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="021885.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
</A></li>
        <LI>Next message: <A HREF="022146.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#21895">[ date ]</a>
              <a href="thread.html#21895">[ thread ]</a>
              <a href="subject.html#21895">[ subject ]</a>
              <a href="author.html#21895">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 01/20/2013 02:58 PM, Maurice Batey wrote:
&gt;<i> On Sun, 20 Jan 2013 20:04:32 +0200, Thomas Backlund wrote:
</I>&gt;<i>
</I>&gt;&gt;<i> <A HREF="http://svnweb.mageia.org/packages/cauldron/grub2/current/SOURCES/README.Mageia?view=markup">http://svnweb.mageia.org/packages/cauldron/grub2/current/SOURCES/README.Mageia?view=markup</A>
</I>&gt;<i>    Many thanks, Thomas!
</I>&gt;<i>
</I>Look, I don't don't want to restate the obvious, but you *do* realize 
that in order for chainloader to work, you actually have to install the 
secondary bootloader on the PBR of its owing partition ?  You can't just 
have installed grub on your MBR at some point in the past, then install 
grub2 (or anything else, for that matter) on the MBR again, and expect 
your original partitions to boot ?

In MGA install terms, and specific to the case of grub2 on the MBR 
trying to boot grub on a PBR, you have to boot the grub partition (or do 
the boot-elsewhere/chroot thing), modify the /boot/grub/install.sh to 
not target the MBR (stage2=(hd0)) but indicate the PBR (stage2=(hd0,x)) 
and rerun install.sh to install grub on the PBR.

In terms of the install paradigm, you have to choose to install the 
bootloader to the PBR (sdaX) rather than the MBR (sda).  Otherwise, when 
the MBR bootloader, whether grub2 or grub, boots and chains to the PBR 
of the desired partition, there won't be anything there in the PBR to boot.

If you need clarification on this, ask, and give specifics.  The 
objective of chainloading is to have each PBR (partition) behave as if 
it is its own MBR.  If you try to point grub2 menu entries to native 
partiton grub files, or vice versa, you are just asking for trouble.  
The clean way to do it is to use chainloading to link the MBR (whatever 
it is) to the PBR (whatever it is), and let the PBR do the bootloading 
for its own partition according to its own needs.

If you do it this way, you can install whatever you want as a bootloader 
on the MBR, and each partition can have whatever BIOS-compliant 
bootloader it wants, including grub, grub2, lilo, OS/2, DOS, or Wndows.
</PRE>







































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="021885.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
</A></li>
	<LI>Next message: <A HREF="022146.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#21895">[ date ]</a>
              <a href="thread.html#21895">[ thread ]</a>
              <a href="subject.html#21895">[ subject ]</a>
              <a href="author.html#21895">[ 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>