[Mageia-dev] [soft-commits] [4017] Include persistent-storage udev rules ( needed for UUID info on root disks during install)

Thierry Vignaud thierry.vignaud at gmail.com
Wed Apr 18 19:17:34 CEST 2012


On 11 April 2012 10:41, Colin Guthrie <gmane at colin.guthr.ie> wrote:
>>> Include persistent-storage udev rules (needed for UUID info on root disks
>>> during install)
>>
>> For the record, what does this fix?
>
> Sorry, I should have been more verbose.
>
> Basically because of the previous commit:
> http://svnweb.mageia.org/soft?view=revision&revision=4014
>
> We can now generate a "hostonly" initrd, i.e. a nice small, "normal"
> initrd that we typically produce, tailored for the system in question.
>
> As a fallout from this, when running the install with an encrypted root
> partition (and possibly just a normal LVM, not sure), various udev
> properties were not injected into the udev database. These properties
> (FS_UUID - can be seen via e.g. udevadm info --query=property
> --name=/dev/sda5) as needed by dracut to detect things properly (rather
> than resulting to lots of weird and wonderful probing methods dracut
> tries to use udev as it's primary source of info).
>
> So these rules ensured that the UUID of /dev/sd* partitions were
> available in udev.

Maybe should we include them into rescue too, shouldn't we?


More information about the Mageia-dev mailing list