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

Re: initramfs-tools does not add dm-mod.ko to initrd for kernels 2.6.30-2-686 and kernels 2.6.30-2-686-bigmem



On 00:05 Thu 15 Oct     , Mitchell Laks wrote:
> How can I work around this and what to do? My old kernel 2.6.26 works fine.... How to force initrd to load the dm-mod and other device-mapper kernel modules?

I have added
dm_mod
dm_log
dm_snapshot
dm_mirror
to 
/etc/initramfs-tools/modules
file and then 
did 
dpkg-reconfigure linux-image-2.6.30-2-686-bigmen
and it regenerated the initrd.img file
but then when I selected this kernel in grub2
it still could  not find the 
/dev/mapper/debian-root device.

I was dumped by grub2 into Busybox
(initramfs)
and when I ran
(initramfs) cat /proc/modules 

sure enough these modules were now in the kernel.
However when I did ls /dev/mapper all I see is
/dev/mapper/control
and I cannot find the
/dev/mapper/debian-root
directory
 
which exists when I boot into the vmlinuz-2.6.26-2-686  kernel.

So why is grub2 failing to boot in the 2.6.30-2-686 kernel?

Mitchell


 


Reply to: