Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am running an Ubuntu 10.04 Server with root on a md raid 5 / LVM2 volume. After a kernel update, boot hangs at initramfs saying it gave up waiting for root, "ALERT! /dev/disk/by-uuid/##..## does not exist." In grub2, I can select the original kernel and the system boots fine. From the grub2 prompt, I can verify that entries are the same for the different kernels.

I ran initrd-update -u thinking that the LVM or md components where not added to the initrd image, but that had no effect. Running cat /proc/modules lists runs off the top of the screen and 'less' isn't supported in busybox, but there are a lot of raid entries in what I can see.

I suspect that the lvm2 modules are not in the initrd image, but I don't know how to fix it. Thanks in advance.

Update: the kernel upgrade was from 2.6.32-33 to 2.6.32-36 and 2.6.32-40. Browsing the initrd images, I see that there is an etc/lvm entry in the -40 (non-working version) and there is no etc/lvm entry in the -33 (working version) scratches head

share|improve this question
    
Is 'grep' in the environment? lsmod | grep lvm –  Magellan Apr 4 '12 at 5:05
    
Did you compare the kernel configuration in both kernels? –  Khaled Apr 4 '12 at 7:09
    
Forgive my ignorance, how do I compare the kernel configurations?, I'll grep for lvm this evening when I return. –  Randy Apr 4 '12 at 12:23
    
At the initramfs prompt, the output of cat /proc/modules | grep lvm is empty. –  Randy Apr 5 '12 at 1:47
    
Ran aptitude safe-upgrade, now I can't boot into any of the previous kernels nor recovery mode. Digging up the live CD. –  Randy Apr 5 '12 at 3:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.