Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

make-kpkg --initrd won't create initrd

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
Tadeas
Posts: 1013
Joined: 2008-09-22 09:11
Location: Prague
Contact:

make-kpkg --initrd won't create initrd

#1 Post by Tadeas »

Hi!
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
the trooper
Posts: 28
Joined: 2010-04-01 21:46
Location: England

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

#2 Post by the trooper »

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......"

Post Reply