[TriLUG] Initramfs

Brian McCullough bdmc at bdmcc-us.com
Fri Sep 4 12:04:36 EDT 2009


On Thu, Sep 03, 2009 at 05:23:22PM -0400, Alan Porter wrote:
> 
> I think you need to "update-initramfs -u -k all".

Did that, several times.  No effect.


> That *should* pull in the appropriate modules for LVM to run,
> and it should update the startup scripts in the initrd to scan
> for LV's.

All of the modules _appear_ to be loading correctly, it is just the
scripts that seem to be missing.


> You're getting the (initramfs) prompt because it can not find
> the root filesystem.

OK.  I agree, since manually issuing vgscan and vgchange fixes things.
I certainly don't need to do anything with modules.


> You might also make sure that the root=xxxxxxx parameter is
> correct on the kernel line in your grub.conf.  I try to use
> either "root=/dev/mapper/vg1-rootfs" or "root=UUID=something".
> Use "blkid" to find the UUID's on your system.

As far as I remember ( I don't have it in front of me just at the
moment, but will check ) it reads 'root=/dev/mapper/vg1-root'.



> Alan


Brian




More information about the TriLUG mailing list