Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: Canek Peláez Valdés <caneko@...>
Subject: Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
Date: Tue, 3 Apr 2012 12:48:34 -0500
On Tue, Apr 3, 2012 at 8:21 AM, Dale <rdalek1967@...> wrote:
> Mike Edenfield wrote:
>
>> It was the debug stuff; every line that look like
>>
>> "dracut: + stuff here"
>>
>> was debugging information; AFAICT dracut mounted /dev/sda3 as root then
>> it mounted the two other partitions it found.
>>
>> But this could be a problem (from your other email):
>>
>> root@fireball / # dracut -H -f /boot/init-thingy
>> E: Dracut module "lvm" cannot be found.
>> E: Dracut module "lvm" cannot be found.
>>
>> dracut couldn't find it's lvm module, even though your USE flags are set
>> correctly. Can you try re-emerging dracut with its current USE flags?
>>
>> You should have a folder in /usr/lib/dracut/modules named 'lvm' that has
>> a 'module-setup.sh' script in it, plus probably some other support
>> files, if everything got installed correctly.
>>
>> --Mike
>>
>>
>
>
> I have re-emerged dracut several times and it still gives the same
> error.  I even tried changing versions once to see if it was a bug or
> something.  I found others with errors for other modules but no one
> posted a fix.  It's a head scratcher for sure.
>
> Since lvm is not needed for booting YET, I think my main problem is the
> kernel and lvm.  Now, even if I boot with the old kernel and no init
> thingy, I have to restart lvm before it will let me mount my /data
> partition.  I think when I added the needed stuff for dracut and the
> init thingy, it messed up something for lvm.  I can't put my finger on
> what yet tho.
>
> The directory you mentions is there and there is all sorts of goodies in
> there.  I'm not sure why dracut is not finding it.

I do. I don't use LVM, so i didn't had neither USE=device-mapper, nor
DRACUT_MODULES=lvm, so I add them. Then I tried to create my initramfs
with LVM, and like in your case, it failed. Using the --debug option
for dracut, it *seems* (it's really verbose and I didn't read
everything), it seems that it doesn't "find" the lvm module not
because it's not there, but because I actually don't have any LVM
volumes.

So I removed the -H option for dracut to stop looking at my host
status, and lo and behold, it included the LVM module. So please, try
that.

If it works, then there is two options:

1. Dracut has a bug that stops it from detecting your host LVM status;
maybe it only checks the "important" or standard partitions, or maybe
the checking process itself has a bug.

2. Your LVM configuration (while it works) it's not "canonically" detectable.

Either case, please try re-creating your dracut initramfs without the
-H option. I think that's the last problem (the other "problem" was
that you got scared with the humongous debug output that dracut
generates with dr.debug), and so we can then finally put this case to
rest.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México


Replies:
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Dale
References:
Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Alan Mackenzie
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Alan Mackenzie
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Alan McKinnon
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Alan Mackenzie
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Neil Bothwick
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Alan Mackenzie
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Dale
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Canek Peláez Valdés
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Dale
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Canek Peláez Valdés
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Dale
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Canek Peláez Valdés
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Dale
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Neil Bothwick
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Dale
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Canek Peláez Valdés
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Dale
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Canek Peláez Valdés
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Dale
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Dale
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Mike Edenfield
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
-- Dale
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
Next by thread:
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
Previous by date:
Re: sys-boot/plymouth could not work
Next by date:
Re: Apache upgrade to 2.4 error AH00027: Buggy authn provider failed to set user


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.