Debian, lilo and LVM won't boot

Tony Baechler tony at baechler.net
Mon Oct 13 05:52:39 EDT 2008


Kerry Hoath wrote:
> You need to rebuild the initrd with update-initrams I believe it is called 
> so it knows about the lvm setup.
> You also need to edit the configuration files for
> mkinitramfs so it includes all modules including lvm.
>   



I did, several times.  Unfortunately, I can't boot to the correct 
2.6.25-2-686 kernel because that is on the second drive and the 
initramfs won't boot, so the only way I can get to my system is with the 
rescue CD with a custom kernel.  I've ran update-initramfs several times 
and it complains that it can't find /proc/modules.  Of course it can't, 
/proc isn't mounted but I don't think it would matter because the 
modules are for the wrong kernel anyway.  The rescue CD has xfs, lvm and 
such built in, not loaded as modules, so I don't think that 
/proc/modules from that kernel would be correct.  I've verified that 
these things are built-in with lsmod.

Also, even when it builds an image, it's slightly bigger than my old 
backups as one would expect, but it still seems to make no difference.  
After it updates, it runs lilo and lilo gives no errors or warnings but 
still no boot.  I usually run this command:

update-initramfs -u

I had to use -t at one point because it said I had a custom initramfs 
when I know I didn't.  I could try -c and have it make a new one from 
scratch but see above about running different kernels.



More information about the Speakup mailing list