diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2013-January/022149.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2013-January/022149.html')
-rw-r--r-- | zarb-ml/mageia-dev/2013-January/022149.html | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-January/022149.html b/zarb-ml/mageia-dev/2013-January/022149.html new file mode 100644 index 000000000..6816fbcde --- /dev/null +++ b/zarb-ml/mageia-dev/2013-January/022149.html @@ -0,0 +1,129 @@ +<!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=%3C5106DAB5.7060808%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="022091.html"> + <LINK REL="Next" HREF="022156.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=%3C5106DAB5.7060808%40zen.co.uk%3E" + TITLE="[Mageia-dev] Grub2 vs. Grub Legacy in M3">zen25000 at zen.co.uk + </A><BR> + <I>Mon Jan 28 21:08:21 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="022091.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3 +</A></li> + <LI>Next message: <A HREF="022156.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#22149">[ date ]</a> + <a href="thread.html#22149">[ thread ]</a> + <a href="subject.html#22149">[ subject ]</a> + <a href="author.html#22149">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 27/01/13 15:24, Maurice Batey wrote: +><i> On Sun, 27 Jan 2013 12:31:37 +0000, Barry Jackson wrote: +</I>><i> +</I>>><i> my "master" grub2 grub.cfg which is in a small grub +</I>>><i> partition at the start of sda. +</I>><i> +</I>><i> How does one acquire a 'small grub partition'? +</I>><i> (Just get GRUB2 package to install into an empty partition?) +</I>><i> +</I>Yes - in a nutshell +Create a partition preferably near the start of the drive and label it +"maingrub" then: + +mkdir -p /maingrub && \ +mount -L maingrub /maingrub && \ +grub2-install --root-directory=/maingrub /dev/sda + +Now the MBR point to maingrub, but there is no menu yet. +You can manually create a simple grub.cfg - there are examples in the +grub2 documentation - there's a link in the README +It won't be pretty, but can be made to look nice with a good colour choice. +You could let grub2 create a grub.cfg to get started, but it will be +over complicated and point directly to the current kernels which is no +use once kernels get updated. You really need entries that multiboot +(into grub2) or chainload (into legacy linux). +My current grub.cfg is a bit big as I need to remove some old entries, +however it may be a good reference for you. The theme references don't +work - that was just experimental. +<A HREF="http://paste.kde.org/658670/">http://paste.kde.org/658670/</A> +Copy it quick I think it expires in 24 hours ;) + +>><i> My MBR points to this partition, so all +</I>>><i> OS's are either chainloaded or multibooted from the manually created +</I>>><i> entries in this grub.cfg +</I>><i> +</I>><i> Which do you have in the MBR: GRUB2 or Legacy? +</I>Grub2 - have had for the last year or so, but you could also put grub +legacy in there as well since they can coexist, then simply re-write one +or the other to MBR to switch ;) + +><i> +</I>>><i> My limited understanding is that it is similar to chainloading but does +</I>>><i> not need embedded code in the PBR. +</I>><i> +</I>><i> Ah,now that's interesting! +</I>><i> (I assume you mean 'does not need GRUB2 installed in the PBR') +</I> +Yes +><i> +</I>>><i> A useful side effect is that grub legacy may be installed to the PBR and +</I>>><i> used if required, +</I>><i> +</I>><i> I assume you mean the PBR of the 'small grub partition'. +</I>No - I mean that since grub2 is not using the PBR, legacy can, if you +wish to have them installed side by side. + +><i> +</I>><i> Mamy thanks, Barry, especially w.r.t to the 'bootloader' partition! +</I>><i> +</I>Note that the small grub partition is never mounted and never written to +by any system (unless you need to modify it of course) +This means that no system can screw it up :) - only you :\ +</PRE> + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="022091.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3 +</A></li> + <LI>Next message: <A HREF="022156.html">[Mageia-dev] Grub2 vs. Grub Legacy in M3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#22149">[ date ]</a> + <a href="thread.html#22149">[ thread ]</a> + <a href="subject.html#22149">[ subject ]</a> + <a href="author.html#22149">[ 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> |