Hi list, My server doesn't boot after raid card faliure. I recreated the raid1 array, partitioned and copyed the whole system to it. Then executed lilo -v in chrooted env.
I think it doesn't find the root partition. Screenshot from the boot screen: http://kiru.mikroweb.hu/IMGP6301-s.JPG (with debug=y kernel arg.) I did this with an ubuntu live cd. My system looks like: -------- ubuntu:/# fdisk -l /dev/cciss/c0d0 Disk /dev/cciss/c0d0: 750.1 GB, 750122819584 bytes 255 heads, 32 sectors/track, 179544 cylinders Units = cylinders of 8160 * 512 = 4177920 bytes Disk identifier: 0x9236c38b Device Boot Start End Blocks Id System /dev/cciss/c0d0p1 1 958 3908624 82 Linux swap / Solaris /dev/cciss/c0d0p2 * 959 179544 728630880 8e Linux LVM ubuntu:/# lvdisplay --- Logical volume --- LV Name /dev/vg/root VG Name vg LV UUID vVCHD7-SjF0-zaEa-2Y1w-ybfJ-fXft-6OD2g1 LV Write Access read/write LV Status available # open 1 LV Size 50.00 GB Current LE 12800 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:0 --- Logical volume --- LV Name /dev/vg/backup VG Name vg LV UUID gikfgD-SHN3-c73h-ZCZL-Ns83-mzyD-aqDyFF LV Write Access read/write LV Status available # open 0 LV Size 20.00 GB Current LE 5120 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:1 --- Logical volume --- LV Name /dev/vg/home VG Name vg LV UUID yJ6XLi-OkIo-XSv2-7chF-POFK-BLcV-OSCCLl LV Write Access read/write LV Status available # open 0 LV Size 100.00 GB Current LE 25600 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:2 --- Logical volume --- LV Name /dev/vg/mail VG Name vg LV UUID f3UisS-aLu4-UAiP-aLRP-jE6Z-u2lB-WJIlZx LV Write Access read/write LV Status available # open 0 LV Size 524.88 GB Current LE 134368 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:3 ubuntu:/# update-initramfs -u update-initramfs: Generating /boot/initrd.img-2.6.26-1-686 Warning: '/proc/partitions' does not match '/dev' directory structure. Name change: '/dev/dm-0' -> '/dev/vg/root' Warning: /dev/cciss/c0d0 is not on the first disk Warning: Unable to determine video adapter in use in the present system. Added 26191 Added linux * ubuntu:/# lilo -v LILO version 22.6.1, Copyright (C) 1992-1998 Werner Almesberger Development beyond version 21 Copyright (C) 1999-2004 John Coffman Released 17-Nov-2004, and compiled at 20:27:20 on Jul 31 2006 Debian GNU/Linux Reading boot sector from /dev/cciss/c0d0 Warning: '/proc/partitions' does not match '/dev' directory structure. Name change: '/dev/dm-0' -> '/dev/vg/root' Name change: '/dev/dm-1' -> '/dev/vg/backup' Name change: '/dev/dm-2' -> '/dev/vg/home' Name change: '/dev/dm-3' -> '/dev/vg/mail' Warning: /dev/cciss/c0d0 is not on the first disk Warning: Unable to determine video adapter in use in the present system. Using BITMAP secondary loader Calling map_insert_data Mapping bitmap file /boot/sid.bmp Calling map_insert_file Boot image: /boot/vmlinuz-2.6.19.1 Added 26191 Boot image: /vmlinuz -> boot/vmlinuz-2.6.26-1-686 Mapping RAM disk /initrd.img -> boot/initrd.img-2.6.26-1-686 Added linux * Writing boot sector. /boot/boot.6800 exists - no boot sector backup copy made. ubuntu:/# cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/mapper/vg-root / ext3 defaults 0 1 /dev/mapper/vg-home /home ext3 defaults 0 1 /dev/mapper/vg-mail /var/mail ext3 defaults 0 1 /dev/cciss/c0d0p1 /boot ext2 defaults 0 1 proc /proc proc defaults 0 0 ubuntu:/# dpkg -l|grep initr ii initramfs-tools 0.92n tools for generating an initramfs ii initrd-tools 0.1.84.1 tools to create initrd image for prepackaged -------------- What's the problem? How can I eliminate it? If you need more information please let me known. -- Regards ---- kiru ---- -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org