[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kernel upgrade and LVM



Hello,

I am running a Debian unstable with kernel 2.4.18 and LVM support.

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/vgos/root        248M  150M   86M  64% /
/dev/vgos/usr         248M  135M  101M  58% /usr
/dev/vgos/tmp         124M   14K  118M   1% /tmp
/dev/vgos/var         496M  195M  281M  42% /var
/dev/vgos/home        2.0G  1.8G   91M  96% /home
/dev/hda1              19M  9.3M  8.3M  54% /boot

I installed the package kernel-image-2.4.24-1-686

I used lvmcreate_initrd to build an initrd with LVM support.

I set LILO as following :
# cat /etc/lilo.conf
lba32
prompt
boot=/dev/hda
map=/boot/map
delay=100
timeout=100
vga=normal
default=debianlvm
image=/boot/vmlinuz
        initrd=/boot/initrd-lvm-2.4.18-bf2.4.gz
        root=/dev/vgos/root
        label=debianlvm
        read-only
 
image=/boot/vmlinuz-2.4.24-1-686
        initrd=/boot/initrd-lvm-2.4.24-1-686.gz
        root=/dev/vgos/root
        label=debianlvm2.4.24
        read-only


But when I try to boot the new kernel, I got the following message :

cramfs: wrong magic
Kernel panic: VFS: Unable to mount root fs on 3a:0a

I have no idea about the reason this bug occurs...

Any clue ?

Thanks for help





Reply to: