View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-13-2006, 06:11 PM   #1
LQ Newbie
Registered: Nov 2005
Posts: 6

Rep: Reputation: 0
mkinitrd problem

I am installing kernel 2.6.15 onto my laptop with ubuntu. Now ive already installed all of the modules needed but I need to create an initial kernel but im computer doesnt reconize the command mkinitrd. So this question may sound very newbish (im sorry) but is there a way to re-install it?
Ive tried looking for it as a package but maybe im not looking for the right thing.

Last edited by midknight5; 01-13-2006 at 06:21 PM.
Old 01-13-2006, 06:28 PM   #2
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
It may be called initrd-tools or similar.
You can try searching for mkinitrd at which is down at the moment...

You might also not have it in your path. Try doing
sudo su
#which mkinitrd
Old 01-13-2006, 07:07 PM   #3
LQ Newbie
Registered: Nov 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Of course Debian has to be down right now, always my luck, haha.
Old 01-14-2006, 06:44 AM   #4
Registered: Jan 2005
Location: Melbourne
Distribution: Debian
Posts: 42

Rep: Reputation: 15
Yeah, it is called initrd-tools.
I had a similar problem not long ago.
Are you installing the kernel the "Debian way" or just normally ?
There is a link here on how they do it,
which worked well for me, but there is a line that says,

"fakeroot make-kpkg --revision=custom.1.0 kernel_image".

You just have to insert "--initrd", so the line says,

"fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image"

then it should work, if that is what your after ?
Old 01-15-2006, 09:22 AM   #5
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,894

Rep: Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358
What I prefer to do is to make sure that all of the modules needed to boot the computer are compiled directly into the kernel. This way, I don't need any initial-RAMdisk to boot the machine. I prefer it that way.
Old 01-15-2006, 09:32 AM   #6
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
I dealt with this the other day. I did
apt-get install yaird
which is Yet Anonther InitRD installer. There was a dependency issue, but changing from apt-get to apt-get -f took care of it.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with mkinitrd masand Linux - General 4 06-03-2005 01:27 PM
mkinitrd problem WARNING: Could not find module fo xaos5 Slackware 2 12-31-2004 05:54 AM
kernel 2.6.6 mkinitrd problem ziox Linux - Software 0 07-13-2004 07:48 PM
mkinitrd problem. Partial solution. Help! wazungy Mandriva 3 03-21-2004 10:21 AM
mkinitrd problem - kernel upgrade newbie irvken Linux - Newbie 31 12-23-2003 12:03 PM

All times are GMT -5. The time now is 05:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration