[Mageia-dev] Issues with dracut

Colin Guthrie mageia at colin.guthr.ie
Sun Dec 18 23:22:46 CET 2011

'Twas brillig, and David W. Hodgins at 18/12/11 21:28 did gyre and gimble:
> On Sat, 17 Dec 2011 22:00:51 -0500, Colin Guthrie
> <mageia at colin.guthr.ie> wrote:
>> The shell script you'll need to tweak is
>> /usr/lib/dracut/modules.d/90lvm/module-setup.sh.
> That is the problem.
> In that module, it finds /usr on dev/block/252:9, and the
> call to get_fs_type correctly returns the file system type
> as ext4, but the module-setup.sh is looking for LVM2_member
> which will never be returned for a mounted file system.
> I don't see how it could be working on your system.

For me my /usr is found on dev/block/252:0...

So I guess this is the problem.

Can you run the attached?

It produces:

Checking / via 8:1
Checking /usr via 252:0

for me.

My df output:

/dev/mapper/vg0-1 ... /usr



Colin Guthrie

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-lvm.sh
Type: application/x-shellscript
Size: 1214 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20111218/f1909ae7/attachment.bin>

More information about the Mageia-dev mailing list