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

Re: kernel upgrade and LVM



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 15 February 2004 02:19 pm, wattoo wrote:
> 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

You may have the labels mixed up. The 'default=' is still the old 
kernel. I would have to see how the links from '/' to /boot for the 
kernels, to tell.
- -- 
Greg Madden
Debian GNU/Linux
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAMBoTk7rtxKWZzGsRAkcPAJ0TFhO5mMZ4T1YNoJ/pv4aAe+D8WQCg074N
Z8FZGldiVL/4JYH8xw9ZKgU=
=WyMe
-----END PGP SIGNATURE-----



Reply to: