Today I did an "aptitude update" followed by "aptitude upgrade" to refresh the installed packages (there were mainly security updates).
However, after I installed all the updates and rebooted, now the boot process (whichever kernel I choose, 3.2.0-4 or 3.2.0-5) will stop with the following reason:
and the initramfs prompt from BusyBox is shown.Gave up waiting for root device. Common problems:
[cut]
ALERT! /dev/disk/by-uuid/fa6... does not exist
Dropping to a shell!
The root mount point is on a LVM logical volume.
On the initramfs I type "lvm", followed by "lvdisplay" and this is what is shown:
Code: Select all
LV Path /dev/mycloud-crosscompile/root
LV Name root
VG Name mycloud-crosscompile
[...]
LV Status NOT available
[...]
LV Path /dev/mycloud-crosscompile/swap_1
LV Name swap_1
VG Name mycloud-crosscompile
[...]
LV Status available
/etc/fstab correctly tries to mount the root from the right device: /dev/mycloud-crosscompile/root
(and not by UUID, as the boot error message seems to suggest)
vgdisplay shows:
Code: Select all
VG Name mycloud-crosscompile
System ID (empty)
Format lvm2
[...]
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 2
Act PV 2
Code: Select all
PV Name /dev/sda5
VG Name mycloud-crosscompile
[...]
PV Name /dev/sdb1
VG Name mycloud-crosscompile
[...]
Running "vgchange -ay" shows:
Code: Select all
2 logical volume(s) in volume group "mycloud-crosscompile" now active.
I spent a lot of time today to search for others having similar problems, but nobody seems to be in my same situation. What I understand is that probably LVM initialisation is not completed soon enough for the boot sequence to find the root logical volume. But I don't understand why and especially why it started to happen only after a system update.
I already tried to type again "vgchange -ay" or "update-initramfs -uv", but with no luck: next reboot will fail with the exact same problem.
Any help would be greatly appreciated.
Mauro.