diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-April/014459.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-April/014459.html | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-April/014459.html b/zarb-ml/mageia-dev/2012-April/014459.html new file mode 100644 index 000000000..ce01c8348 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/014459.html @@ -0,0 +1,130 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] [soft-commits] [4017] Include persistent-storage udev rules ( needed for UUID info on root disks during install) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B4017%5D%20Include%20persistent-storage%0A%20udev%20rules%20%28%20needed%20for%20UUID%20info%20on%20root%20disks%20during%20install%29&In-Reply-To=%3C4F8F1B34.3040506%40colin.guthr.ie%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="014451.html"> + <LINK REL="Next" HREF="014461.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] [soft-commits] [4017] Include persistent-storage udev rules ( needed for UUID info on root disks during install)</H1> + <B>Colin Guthrie</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B4017%5D%20Include%20persistent-storage%0A%20udev%20rules%20%28%20needed%20for%20UUID%20info%20on%20root%20disks%20during%20install%29&In-Reply-To=%3C4F8F1B34.3040506%40colin.guthr.ie%3E" + TITLE="[Mageia-dev] [soft-commits] [4017] Include persistent-storage udev rules ( needed for UUID info on root disks during install)">mageia at colin.guthr.ie + </A><BR> + <I>Wed Apr 18 21:51:16 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="014451.html">[Mageia-dev] [soft-commits] [4017] Include persistent-storage udev rules ( needed for UUID info on root disks during install) +</A></li> + <LI>Next message: <A HREF="014461.html">[Mageia-dev] [soft-commits] [4017] Include persistent-storage udev rules ( needed for UUID info on root disks during install) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#14459">[ date ]</a> + <a href="thread.html#14459">[ thread ]</a> + <a href="subject.html#14459">[ subject ]</a> + <a href="author.html#14459">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and Thierry Vignaud at 18/04/12 18:17 did gyre and gimble: +><i> On 11 April 2012 10:41, Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">gmane at colin.guthr.ie</A>> wrote: +</I>>>>><i> Include persistent-storage udev rules (needed for UUID info on root disks +</I>>>>><i> during install) +</I>>>><i> +</I>>>><i> For the record, what does this fix? +</I>>><i> +</I>>><i> Sorry, I should have been more verbose. +</I>>><i> +</I>>><i> Basically because of the previous commit: +</I>>><i> <A HREF="http://svnweb.mageia.org/soft?view=revision&revision=4014">http://svnweb.mageia.org/soft?view=revision&revision=4014</A> +</I>>><i> +</I>>><i> We can now generate a "hostonly" initrd, i.e. a nice small, "normal" +</I>>><i> initrd that we typically produce, tailored for the system in question. +</I>>><i> +</I>>><i> As a fallout from this, when running the install with an encrypted root +</I>>><i> partition (and possibly just a normal LVM, not sure), various udev +</I>>><i> properties were not injected into the udev database. These properties +</I>>><i> (FS_UUID - can be seen via e.g. udevadm info --query=property +</I>>><i> --name=/dev/sda5) as needed by dracut to detect things properly (rather +</I>>><i> than resulting to lots of weird and wonderful probing methods dracut +</I>>><i> tries to use udev as it's primary source of info). +</I>>><i> +</I>>><i> So these rules ensured that the UUID of /dev/sd* partitions were +</I>>><i> available in udev. +</I>><i> +</I>><i> Maybe should we include them into rescue too, shouldn't we? +</I> +Yeah that makes sense IMO. Sorry I should have fixed it there too. We +may also want to investigate whether or not we should "fake" a dracut +boot (i.e. mount /run and make sure the folder /run/initramfs exists). +The only real requirement is that all the necessary info is available in +udev to generate an initrd. I think with the rules and with udev +starting before any lvm/crypt commands then that should be fine. + + +Longer term, I think we can maybe look to use dracut itself to create a +rescue image itself (and maybe even stage1)... but that's for another day :D + +Col + +-- + +Colin Guthrie +colin(at)mageia.org +<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A> + +Day Job: + Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A> +Open Source: + Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A> + PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A> + Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A> +</PRE> + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="014451.html">[Mageia-dev] [soft-commits] [4017] Include persistent-storage udev rules ( needed for UUID info on root disks during install) +</A></li> + <LI>Next message: <A HREF="014461.html">[Mageia-dev] [soft-commits] [4017] Include persistent-storage udev rules ( needed for UUID info on root disks during install) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#14459">[ date ]</a> + <a href="thread.html#14459">[ thread ]</a> + <a href="subject.html#14459">[ subject ]</a> + <a href="author.html#14459">[ 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> |