From: David Sastre Medina on
Hello,

Grub2 is failing to boot a softRAID1 + LVM2 squeeze box.
The error is "can't find root_vg-root_lv". After that, it drops me to
a initrd shell, but my USB keyboard stops working, so I must
button-reboot.
There are two kernels installed.
I've attached grub.cfg. It's an automated cfg from update-grub2.
I already tried adding rootdelay without success in /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="rootdelay=15 quiet"

Weird stuff: I have upgraded this box from lenny a week ago or
so. No problems booting.
It used to have a bpo kernel, but since squeeze's repo has the
same (2.6.32-3) kernel, I installed it and uninstalled the bpo one.
No problems booting yet.
Afterwards, I had to `/etc/init.d/vbox setup' to be able to use VBox
again (dkms failed, it seems) and re-run the makeselved script to
install the ATI propietary driver. This box has an ATI Radeon
HD 4550.
Kernel 2.6.32-2 stops booting, so I use 2.6.32-2 while I do some
research about it.
Yesterday, 2.6.32-2 booted without problems, but
since I had ATI propietary driver installed only for 2.6.32-3, I run
the installer in 2.6.32-2. Today this kernel doesn't boot either.

Follows some commands' ouput from within a rescueCD session.

root(a)sysresccd /root % ll /mnt/md0
total 16M
drwxr-xr-x 4 root root 4.0K 2010-05-28 20:45 .
drwxr-xr-x 11 root root 180 2010-05-29 10:28 ..
-rw-r--r-- 1 root root 109K 2010-02-11 07:48
config-2.6.32-2-686-bigmem
-rw-r--r-- 1 root root 109K 2010-02-25 09:01
config-2.6.32-3-686-bigmem
drwxr-xr-x 3 root root 4.0K 2010-05-25 20:52 grub
-rw-r--r-- 1 root root 4.1M 2010-05-28 20:45
initrd.img-2.6.32-2-686-bigmem
-rw-r--r-- 1 root root 4.1M 2010-05-28 20:45
initrd.img-2.6.32-3-686-bigmem
drwx------ 2 root root 16K 2010-01-24 11:12 lost+found
-rw-r--r-- 1 root root 1.3M 2010-02-11 07:48
System.map-2.6.32-2-686-bigmem
-rw-r--r-- 1 root root 1.3M 2010-02-25 09:01
System.map-2.6.32-3-686-bigmem
-rw-r--r-- 1 root root 2.2M 2010-02-11 07:47
vmlinuz-2.6.32-2-686-bigmem
-rw-r--r-- 1 root root 2.2M 2010-02-25 09:00
vmlinuz-2.6.32-3-686-bigmem

root(a)sysresccd /root % mdadm --detail /dev/md0
/dev/md0:
Version : 0.90
Creation Time : Sun Jan 24 10:10:43 2010
Raid Level : raid1
Array Size : 979840 (957.04 MiB 1003.36 MB)
Used Dev Size : 979840 (957.04 MiB 1003.36 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Sat May 29 10:29:40 2010
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

UUID : 8052f7d4:54a97fbb:731031f6:bc3d041c
Events : 0.4

Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1

root(a)sysresccd /root % vgdisplay root_vg
--- Volume group ---
VG Name root_vg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 19
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 11
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 148.11 GB
PE Size 4.00 MB
Total PE 37917
Alloc PE / Size 15984 / 62.44 GB
Free PE / Size 21933 / 85.68 GB
VG UUID XN1x4E-uBFZ-svSP-hQMr-kSHe-Ry3s-VtBcsH

root(a)sysresccd /root % lvdisplay /dev/mapper/root_vg-root_lv
--- Logical volume ---
LV Name /dev/root_vg/root_lv
VG Name root_vg
LV UUID Fx1w1w-6nvb-aMh1-6iG1-pruF-VuiH-okk9cw
LV Write Access read/write
LV Status available
# open 0
LV Size 952.00 MB
Current LE 238
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:5


Any help is appreciated.

Regards.

--
Huella de clave primaria: 0FDA C36F F110 54F4 D42B D0EB 617D 396C 448B 31EB