diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20120502/007188.html')
-rw-r--r-- | zarb-ml/mageia-discuss/20120502/007188.html | 143 |
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: + +><i> Wolfgang Bornath wrote: +</I>><i> +</I>>><i> 2012/4/29 blind Pete <0123peter- +</I>><i> <A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org</A>>: +</I>>>><i> Hi, +</I>>>><i> +</I>>>><i> During a test installation of M2b3 some other installations are +</I>>>><i> detected and get listed in the Grub menu, but others don't. +</I>>>><i> For example, Ubuntu is ignored. That uses Grub2 so it would be +</I>>>><i> a bit much to expect Grub to understand it, BUT Ubuntu's Grub2 +</I>>>><i> is installed on Unbutu's root partition. +</I>>>><i> +</I>>>><i> Can partitions with boot loaders on them be detected and listed +</I>>>><i> in Grub's menu as something to be chained? i.e. Install M2b3 +</I>>>><i> and get Grub installed to the mbr. Then on booting, Grub could +</I>>>><i> present a menu that includes all of the standard M2b3 options, +</I>>>><i> any other kernels that were found (not the Ubuntu kernels because +</I>>>><i> they are under Grub2 and too hard) and an entry for the Ubuntu +</I>>>><i> partition. The partition is LABELed "Ubuntu". If "Ubuntu" were +</I>>>><i> selected from the M2b3 mbr Grub menu, then the Grub2 on the Ubuntu +</I>>>><i> root partition could be chained (and then an Ubuntu kernel). +</I>>>><i> +</I>>>><i> Is this do-able? +</I>>><i> +</I>>><i> Yes. That is the way I install all distributions. +</I>><i> +</I>><i> I meant, is it possible for the installer to do it *automatically* +</I>><i> during installation? +</I> +dd if=/dev/sdaN ibs=512 count=1 | grep "LILO\|GRUB" +seems to detect if partition N is bootable. + +><i> Have I missed an installation option? Should this be a feature +</I>><i> request - or a bug report? M2b3 "lost" my Ubuntu installation. +</I>><i> It was a quick and easy thing for me to recover from, but it could +</I>><i> torment a newbie. +</I> +I think a bug report about not finding Ubuntu. + +>><i> 1. Install a minimal small distribution which uses grub, without X. +</I>>><i> The only purpose is to put its grub into the MBR and serve as the +</I>>><i> "steering center". +</I>><i> +</I>><i> Typically, I end up with Grub or Grub2 on each root partition and +</I>><i> LiLo on the mbr. +</I>><i> +</I>>><i> 2. Install all other distributions with putting their bootloader into +</I>>><i> their respective root partition +</I>>><i> +</I>>><i> 3. Enter the installations into the menu.lst of the steering center's +</I>>><i> grub with +</I>>><i> +</I>>><i> title <distributiion name> +</I>>><i> root (hd0,4) +</I>>><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 + + +><i> Can we get this automated? +</I>><i> +</I>><i> Can a bootable partition be detected? +</I>><i> +</I>><i> Should this entry be as well as, or instead of, the existing entries? +</I>><i> My feeling is that everything should be included and the user +</I>><i> can then delete what is not wanted. +</I>><i> +</I>>><i> Here the bootloader of the distribution to start lies in /dev/sda5 +</I>>><i> +</I>>><i> The advantage of this way is not only that you can install +</I>>><i> distributions with different bootloaders. Whenever you install a new +</I>>><i> kernel in any of these distributions you have to do nothing extra +</I>>><i> because the new kernel is set in the distribution's bootloader, not in +</I>>><i> the master boot loader. +</I>><i> +</I>><i> Agreed. +</I>><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> |