From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2013-February/023012.html | 110 +++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 zarb-ml/mageia-dev/2013-February/023012.html (limited to 'zarb-ml/mageia-dev/2013-February/023012.html') diff --git a/zarb-ml/mageia-dev/2013-February/023012.html b/zarb-ml/mageia-dev/2013-February/023012.html new file mode 100644 index 000000000..092d8bf19 --- /dev/null +++ b/zarb-ml/mageia-dev/2013-February/023012.html @@ -0,0 +1,110 @@ + + + + [Mageia-dev] System doen't boot with LVM + + + + + + + + + +

[Mageia-dev] System doen't boot with LVM

+ Olivier Thauvin + nanardon at nanardon.zarb.org +
+ Wed Feb 20 19:13:26 CET 2013 +

+
+ +
* Colin Guthrie (mageia at colin.guthr.ie) wrote:
+> If it does fail then ultimately the problem will be in:
+> /usr/lib/dracut/modules.d/90lvm/module-setup.sh (or one of the utility
+> functions it uses). It should use "udevadm info" to query the system
+> about LVM info. You can add debug to the check_lvm function and then
+> re-run dracut -f foo.img again to see where it bails out.
+> 
+> 
+> If, however, it works fine on your running system then perhaps the
+> problem is with the installer lacking some udev rules to properly
+> capture all the needed metadata in udev database. This will require a
+> bit more fiddling (i.e. running udevadm info in the installer to look at
+> the properties it exports about the devices).
+
+I did reproduced the issue.
+
+By changing the end of check() function in
+/usr/lib/dracut/modules.d/90lvm/module-setup.sh by this:
+
+[[ $hostonly ]] || [[ $mount_needs ]] && {
+    for_each_host_dev_and_slaves_all check_lvm || return 1
+}
+
+I got:
+# cat ./etc/cmdline.d/90lvm.conf
+ rd.lvm.lv=sagittarius/swap 
+ rd.lvm.lv=sagittarius/root
+
+Iirc I replaced for_each_host_dev_and_slaves by
+for_each_host_dev_and_slaves_all.
+
+Honestly I don't understand what it change...
+
+Hope this help.
+
+-- 
+
+Olivier Thauvin
+CNRS  -  LATMOS
+♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: not available
+Type: application/pgp-signature
+Size: 836 bytes
+Desc: not available
+URL: </pipermail/mageia-dev/attachments/20130220/bd75952c/attachment.asc>
+
+ + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1