Re: upgrading the kernel in debian etch from 2.6.18 to 2.6.29
Joey L wrote :
>
> Tom - thanks for the points..but need more help !! please
>
> I did as you said -
> 1. echo -e "raid1\nmd_mod\nraid456" >> /etc/initramfs-tools/modules
> 2. update-initramfs -u -k 2.6.29
>
> and i saw that the modules all loaded successfully.
> But i still got the error that it was unable to assemble all arrays.
>
>
> am i missing something ???
> here are my other files:
> fstab:
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc /proc proc defaults 0 0
> /dev/mapper/vg_main-lv_root / ext3
> defaults,errors=remount-ro 0 1
> /dev/mapper/vg_main-bk_data /data ext3
> defaults,errors=remount-ro 0 1
> /dev/mapper/vg_main-lv_music /music ext3
> defaults,errors=remount-ro 0 1
> /dev/md0 /boot ext3 defaults 0 2
> /dev/mapper/vg_main-lv_swap none swap sw
> 0 0
> /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
> /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
> # usbfs /proc/bus/usb usbfs auto 0 0
> # USB for vmware/vbox
> # none /proc/bus/usb usbfs devgid=5002,devmode=664 0 0
>
> mtab:
>
>
> /dev/mapper/vg_main-lv_root / ext3 rw,errors=remount-ro 0 0
> tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
> proc /proc proc rw,noexec,nosuid,nodev 0 0
> sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
> procbususb /proc/bus/usb usbfs rw 0 0
> udev /dev tmpfs rw,mode=0755 0 0
> tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
> devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
> /dev/mapper/vg_main-bk_data /data ext3 rw,errors=remount-ro 0 0
> /dev/mapper/vg_main-lv_music /music ext3 rw,errors=remount-ro 0 0
> /dev/md0 /boot ext3 rw 0 0
>
>
> menu.lst:
>
> title Debian GNU/Linux, kernel 2.6.29 (single-user mode)
> root (hd0,0)
> kernel /vmlinuz-2.6.29 root=/dev/mapper/vg_main-lv_root ro single
> initrd /initrd.img-2.6.29
> savedefault
>
> title Debian GNU/Linux, kernel 2.6.18-6-amd64
> root (hd0,0)
> kernel /vmlinuz-2.6.18-6-amd64 root=/dev/mapper/vg_main-lv_root ro
> initrd /initrd.img-2.6.18-6-amd64
> savedefault
>
> title Debian GNU/Linux, kernel 2.6.18-6-amd64 (single-user mode)
> root (hd0,0)
> kernel /vmlinuz-2.6.18-6-amd64 root=/dev/mapper/vg_main-lv_root
> ro single
> initrd /initrd.img-2.6.18-6-amd64
> savedefault
>
>
>
I see nothing that strikes me as odd in your conf, outside of the fact
that you only have a single user entry for your new kernel.
I think you need to add lvm mapper module to the initrd, echo dm-mod to
/etc/initramfs-tools/modules like you did for md-mod and raid's modules,
and rebuild an initrd.
Also, are your raided partitions identified as "fd" filesystem ? Maybe
the output of
fdisk -l
and
mdadm --detail --scan --verbose
would help us understand your layout better.
Tom
Reply to: