Found Workaround! Re: Failing to find LVM on RAID in while booting wheezy.
On Tue, 20 Nov 2012 22:02:47 +0000, Hendrik Boom wrote:
> How can I get it so scan again for logical volumes from the busybox?
> And after I've done that, how can I get it to try to look for the root
> partition again and proceed with booting.
> And I should mention that the wheezy I'm trying to boot is stuck halfway
> in a squeeze-to-wheezy upgrade. I followed the instructions in the
> release notes up to the point where I had to boot into the new kernel,
> and have been unable to complete this step.
It seems to work if, after it waits unsuccessfully for a root partition,
and gives me the (initramfs) prompt, I enter the command
vgchange -a y
I found this on the web in an archlinux website. There was other advice
there that didn't work (such as using an lvmwait=/dev/md0 kernel parameter)
but then archlinux isn't Debian.
And to get it to resume booting, I just need to end the busybox
shell with a control-D.
Now I can get on with the squeeze->wheezy upgrade.