Re: MD device not found on boot
02/03/2012 20:36, Daniel Bareiro wrote:
> On Friday, 02 March 2012 18:21:17 +0100,
> tv.debian@googlemail.com wrote:
[cut]
>
>> Are you using kernel-package "make-kpkg" or the "make deb-pkg" target to
>> build your kernel packages ? The former requires a bit of manual
>> configuration to work properly.
>
> I'm using make-kpkg:
>
> # cp /boot/config-`uname -r` .config
> # make menuconfig
> # make-kpkg --initrd --append_to_version=-layer7-imq-amd64 linux-image
>
>
>
> Thanks for your reply.
>
> Regards,
> Daniel
What steps did you take to configure kernel-package ? Did you read
/usr/share/doc/kernel-package/README.gz ? Just a short citation:
"With the new kernel-package conventions, you also need the example
scripts in /etc/kernel/postinst.d/ and /etc/kernel/postrm.d, to create
and remove the initramfs. Make sure that these scripts pay attention
to the INITRD env variable to determine whether or not to take any
action.
Let me repeat:
Since nothing is created automatically. you need to provide a hook
script for things to happen when you install the kernel image
package. The user provides such scripts. For example, to invoke
mkinitramfs, I did:
--8<---------------cut here---------------start------------->8---
cp /usr/share/kernel-package/examples/etc/kernel/postinst.d/initramfs \
/etc/kernel/postinst.d/
cp /usr/share/kernel-package/examples/etc/kernel/postrm.d/initramfs \
/etc/kernel/postrm.d/
--8<---------------cut here---------------end--------------->8---
"
Maybe that's part of the problem.
Reply to: