summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20120502/007188.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/20120502/007188.html')
-rw-r--r--zarb-ml/mageia-discuss/20120502/007188.html143
1 files changed, 143 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20120502/007188.html b/zarb-ml/mageia-discuss/20120502/007188.html
new file mode 100644
index 000000000..932651cdb
--- /dev/null
+++ b/zarb-ml/mageia-discuss/20120502/007188.html
@@ -0,0 +1,143 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-discuss] can bootable partitions be detected during installation?
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20can%20bootable%20partitions%20be%20detected%20during%0A%09installation%3F&In-Reply-To=%3C40q779-g2j.ln1%40psd.motzarella.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+
+ <LINK REL="Next" HREF="007189.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-discuss] can bootable partitions be detected during installation?</H1>
+ <B>blind Pete</B>
+ <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20can%20bootable%20partitions%20be%20detected%20during%0A%09installation%3F&In-Reply-To=%3C40q779-g2j.ln1%40psd.motzarella.org%3E"
+ TITLE="[Mageia-discuss] can bootable partitions be detected during installation?">0123peter at gmail.com
+ </A><BR>
+ <I>Wed May 2 15:38:43 CEST 2012</I>
+ <P><UL>
+
+ <LI>Next message: <A HREF="007189.html">[Mageia-discuss] can bootable partitions be detected during installation?
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#7188">[ date ]</a>
+ <a href="thread.html#7188">[ thread ]</a>
+ <a href="subject.html#7188">[ subject ]</a>
+ <a href="author.html#7188">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Following up my own post, sorry.
+
+blind Pete wrote:
+
+&gt;<i> Wolfgang Bornath wrote:
+</I>&gt;<i>
+</I>&gt;&gt;<i> 2012/4/29 blind Pete &lt;0123peter-
+</I>&gt;<i> <A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org</A>&gt;:
+</I>&gt;&gt;&gt;<i> Hi,
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> During a test installation of M2b3 some other installations are
+</I>&gt;&gt;&gt;<i> detected and get listed in the Grub menu, but others don't.
+</I>&gt;&gt;&gt;<i> For example, Ubuntu is ignored. That uses Grub2 so it would be
+</I>&gt;&gt;&gt;<i> a bit much to expect Grub to understand it, BUT Ubuntu's Grub2
+</I>&gt;&gt;&gt;<i> is installed on Unbutu's root partition.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Can partitions with boot loaders on them be detected and listed
+</I>&gt;&gt;&gt;<i> in Grub's menu as something to be chained? i.e. Install M2b3
+</I>&gt;&gt;&gt;<i> and get Grub installed to the mbr. Then on booting, Grub could
+</I>&gt;&gt;&gt;<i> present a menu that includes all of the standard M2b3 options,
+</I>&gt;&gt;&gt;<i> any other kernels that were found (not the Ubuntu kernels because
+</I>&gt;&gt;&gt;<i> they are under Grub2 and too hard) and an entry for the Ubuntu
+</I>&gt;&gt;&gt;<i> partition. The partition is LABELed &quot;Ubuntu&quot;. If &quot;Ubuntu&quot; were
+</I>&gt;&gt;&gt;<i> selected from the M2b3 mbr Grub menu, then the Grub2 on the Ubuntu
+</I>&gt;&gt;&gt;<i> root partition could be chained (and then an Ubuntu kernel).
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Is this do-able?
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Yes. That is the way I install all distributions.
+</I>&gt;<i>
+</I>&gt;<i> I meant, is it possible for the installer to do it *automatically*
+</I>&gt;<i> during installation?
+</I>
+dd if=/dev/sdaN ibs=512 count=1 | grep &quot;LILO\|GRUB&quot;
+seems to detect if partition N is bootable.
+
+&gt;<i> Have I missed an installation option? Should this be a feature
+</I>&gt;<i> request - or a bug report? M2b3 &quot;lost&quot; my Ubuntu installation.
+</I>&gt;<i> It was a quick and easy thing for me to recover from, but it could
+</I>&gt;<i> torment a newbie.
+</I>
+I think a bug report about not finding Ubuntu.
+
+&gt;&gt;<i> 1. Install a minimal small distribution which uses grub, without X.
+</I>&gt;&gt;<i> The only purpose is to put its grub into the MBR and serve as the
+</I>&gt;&gt;<i> &quot;steering center&quot;.
+</I>&gt;<i>
+</I>&gt;<i> Typically, I end up with Grub or Grub2 on each root partition and
+</I>&gt;<i> LiLo on the mbr.
+</I>&gt;<i>
+</I>&gt;&gt;<i> 2. Install all other distributions with putting their bootloader into
+</I>&gt;&gt;<i> their respective root partition
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> 3. Enter the installations into the menu.lst of the steering center's
+</I>&gt;&gt;<i> grub with
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> title &lt;distributiion name&gt;
+</I>&gt;&gt;<i> root (hd0,4)
+</I>&gt;&gt;<i> chainloader +
+</I>
+blkid /dev/sdaN -o export | grep LABEL
+if [ 0 == $? ]
+then
+ title $(blkid /dev/sdaN -o value | sed s/\ .*//)
+else
+ title /dev/sdaN
+root (sd0,N-1)
+chainloader +
+
+&gt;<i> Can we get this automated?
+</I>&gt;<i>
+</I>&gt;<i> Can a bootable partition be detected?
+</I>&gt;<i>
+</I>&gt;<i> Should this entry be as well as, or instead of, the existing entries?
+</I>&gt;<i> My feeling is that everything should be included and the user
+</I>&gt;<i> can then delete what is not wanted.
+</I>&gt;<i>
+</I>&gt;&gt;<i> Here the bootloader of the distribution to start lies in /dev/sda5
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> The advantage of this way is not only that you can install
+</I>&gt;&gt;<i> distributions with different bootloaders. Whenever you install a new
+</I>&gt;&gt;<i> kernel in any of these distributions you have to do nothing extra
+</I>&gt;&gt;<i> because the new kernel is set in the distribution's bootloader, not in
+</I>&gt;&gt;<i> the master boot loader.
+</I>&gt;<i>
+</I>&gt;<i> Agreed.
+</I>&gt;<i>
+</I>
+
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+
+ <LI>Next message: <A HREF="007189.html">[Mageia-discuss] can bootable partitions be detected during installation?
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#7188">[ date ]</a>
+ <a href="thread.html#7188">[ thread ]</a>
+ <a href="subject.html#7188">[ subject ]</a>
+ <a href="author.html#7188">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
+mailing list</a><br>
+</body></html>