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. r...@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 r...@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 r...@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 r...@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
# # DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi set default="0" if [ ${prev_saved_entry} ]; then set saved_entry=${prev_saved_entry} save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z ${boot_once} ]; then saved_entry=${chosen} save_env saved_entry fi } insmod raid insmod mdraid insmod lvm insmod ext2 set root='(root_vg-usr_lv)' search --no-floppy --fs-uuid --set a800ad33-1549-4f09-a187-d5c6f13942c4 if loadfont /share/grub/unicode.pf2 ; then set gfxmode=640x480 insmod gfxterm insmod vbe if terminal_output gfxterm ; then true ; else # For backward compatibility with versions of terminal.mod that don't # understand terminal_output terminal gfxterm fi fi insmod raid insmod mdraid insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set 785366b0-d597-4e9c-9284-b6b9161236ed set locale_dir=($root)/grub/locale set lang=es insmod gettext set timeout=5 ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=cyan/blue set menu_color_highlight=white/blue ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686-bigmem" --class debian --class gnu-linux --class gnu --class os { insmod raid insmod mdraid insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set 785366b0-d597-4e9c-9284-b6b9161236ed echo Loading Linux 2.6.32-3-686-bigmem ... linux /vmlinuz-2.6.32-3-686-bigmem root=/dev/mapper/root_vg-root_lv ro rootdelay=15 quiet echo Loading initial ramdisk ... initrd /initrd.img-2.6.32-3-686-bigmem } menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686-bigmem (recovery mode)" --class debian --class gnu-linux --class gnu --class os { insmod raid insmod mdraid insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set 785366b0-d597-4e9c-9284-b6b9161236ed echo Loading Linux 2.6.32-3-686-bigmem ... linux /vmlinuz-2.6.32-3-686-bigmem root=/dev/mapper/root_vg-root_lv ro single echo Loading initial ramdisk ... initrd /initrd.img-2.6.32-3-686-bigmem } menuentry "Debian GNU/Linux, with Linux 2.6.32-2-686-bigmem" --class debian --class gnu-linux --class gnu --class os { insmod raid insmod mdraid insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set 785366b0-d597-4e9c-9284-b6b9161236ed echo Loading Linux 2.6.32-2-686-bigmem ... linux /vmlinuz-2.6.32-2-686-bigmem root=/dev/mapper/root_vg-root_lv ro rootdelay=15 quiet echo Loading initial ramdisk ... initrd /initrd.img-2.6.32-2-686-bigmem } menuentry "Debian GNU/Linux, with Linux 2.6.32-2-686-bigmem (recovery mode)" --class debian --class gnu-linux --class gnu --class os { insmod raid insmod mdraid insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set 785366b0-d597-4e9c-9284-b6b9161236ed echo Loading Linux 2.6.32-2-686-bigmem ... linux /vmlinuz-2.6.32-2-686-bigmem root=/dev/mapper/root_vg-root_lv ro single echo Loading initial ramdisk ... initrd /initrd.img-2.6.32-2-686-bigmem } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ###
pgpHfwbEPQ9kG.pgp
Description: PGP signature