make-kpkg --initrd won't create initrd

If none of the more specific forums is the right place to ask

make-kpkg --initrd won't create initrd

Postby Tadeas » 2010-05-18 12:34

When I compile a custom kernel with this command:
Code: Select all
make-kpkg --initrd kernel_image kernel_headers

and then install the .deb, there's no initrd in /boot and I have to create it manually. I've thought that the --initrd option should take care about this, but somehow it doesn't.

It behaves like this for about two years at least (since I've compiled my first kernel). Of course, it's no big deal to create it manually, I was just wondering whether do I do anything wrong or whether should I fill a bug report..
Because let’s face it, the unfortunate aspect of software development is that it involves humans. Mewling, disorganized, miserably analog humans. Sometimes they smell bad.
User avatar
Posts: 1017
Joined: 2008-09-22 09:11
Location: Prague

Re: make-kpkg --initrd won't create initrd

Postby the trooper » 2010-05-24 20:08

It's not a bug.
There has been a number of posts about this on various forums.
I found the following worked for me:

Code: Select all
# cp -av /usr/share/doc/kernel-package/examples/etc/kernel/postinst.d/initramfs /etc/kernel/postinst.d

An initrd will now be created automatically.
"I will not be pushed,filed,stamped,indexed,briefed,debriefed or numbered.My life is my own......"
User avatar
the trooper
Posts: 28
Joined: 2010-04-01 21:46
Location: England

Return to General Questions

Who is online

Users browsing this forum: No registered users and 7 guests