Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an old AMD box that I use mostly for experimenting stuff, and it runs Debian unstable. Yesterday I had to turn it off, and after that it wouldn't boot again.

I have a couple of kernels installed, all compiled locally (with kernel-package): 3.11.0+ (from git, very recent); 3.11.0-rc2+; 3.10.0-rc6+.

When I boot, it will complain that it did not find the LVM volume group (there is only one). From the initramfs shell, I ran lvm lvmdiskscan, which tells me that there is not even a physical volume available (the data below was manually copied, I can't copy/paste):

read_urandom: /dev/urandom: openfailed: No such file or directory
0 disks
0 partitions
0 LVM physical volume whole disks
0 LVM physical volumes

And /dev/mapper does not contain the files for the logical volumes.

Now, the strange part is that if I boot from a rescue USB stick, then LVM works just fine. Booting from the USB stick and starting a shell on the HD root partition, I could mount all LVM volumes. I was even able to run aptitude update/upgrade, and I have already ran update-grub2, update-initramfs and grub-install, and I even compiled a new kernel (running from the USB stick), and installed it.

But when I boot again from the HD, LVM stops working again.

Here are the versions o some relevant packages:

grub-pc         1.99-27.1
grob-pc-bin     1.99-27.1
grub-common     1.99-27.1
grub-pc-common  1.99-27.1
initramfs-tools 0.113
lvm2            2.02.98-6+b1

(I have been holding the update of grub because I know there are issues with the new versions; all the rest is the most recent version).

So -- what else could I try besides reinstalling the OS?

edit: the rescue disk runs kernel 3.2.0-4-amd64; not sure if this makes any difference.

share|improve this question
add comment

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.