Ubuntu 5.10 distro with lvm2, raid 1, not booting anymore.

Maciej Słojewski mslonik at poczta.onet.pl
Sat Feb 4 23:01:52 UTC 2006


Welcome to all!

Since last Saturday my Ubuntu 5.10 on SATA raid 1 is not booting (kernel 
panic). I tried to install boot-loader (lilo) . It looks to me as 
something very hard to do. Please help.

To bot my machine I use Ubuntu Live 5.10 cd. The following lines show 
what I am trying to do.

What I've been doing since Ubuntu Live ends its booting process:

$ sudo su
# cd /mnt
# mkdir dev proc boot sys
# mount -v -t ext3 /dev/PV/root /mnt
# mount -v -t ext3 /dev/PV/boot /mnt/boot
# mount -v -t proc none /mnt/proc
# mount -v -t sysfs none /mnt/sys
# mount -v --bind /dev /mnt/dev

# chroot /mnt /bin/bash
# update-initramfs -v -c -k 2.6.12-10-386
# /sbin/lilo

Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/dm-0' -> '/dev/mapper/casper-cow'
Fatal: is_primary: Not a valid device: 0xFE07

---------------------------------------------------------
That is how the problem looks like...
---------------------------------------------------------

My /dev/mapper directory:

+ PV-boot              254,2
+ PV-home             254,5
+ PV-root               254,4
+ PV-swap             254,3
+ PV-zasoby           254,6
+ casper-cow          254,0
+ casper-snapshot   254,1
- control

---------------------------------------------------------

My lilo.conf:

boot = /dev/md0
root = /dev/mapper/PV-root
raid-extra-boot = mbr
map = /boot/map

delay = 20

default = Linux

image = /vmlinuz
  initrd = /initrd.img
  label = Linux
  read-only

---------------------------------------------------------

That is all. Any clues???

Kind regards,
Maciej (mslonik)




More information about the ubuntu-users mailing list