Debian, lilo and LVM won't boot

Kerry Hoath kerry at gotss.net
Mon Oct 13 07:06:47 EDT 2008


Perhaps the people on irc.freenote.net or similar can help;
I use mkinitramfs to generate my initial ram disks and you need devmapper 
support in the kernel you're trying to boot lvm on.
Perhaps the speakup kernel is badly configured no idea.
Regards, Kerry.

----- Original Message ----- 
From: "Tony Baechler" <tony at baechler.net>
To: "Speakup is a screen review system for Linux." <speakup at braille.uwo.ca>
Sent: Monday, October 13, 2008 5:52 PM
Subject: Re: Debian, lilo and LVM won't boot


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.
_______________________________________________
Speakup mailing list
Speakup at braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup




More information about the Speakup mailing list