LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 01-13-2006, 07:11 PM   #1
midknight5
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 07:21 PM.
 
Old 01-13-2006, 07:28 PM   #2
uopjohnson
Member
 
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 packages.debian.org which is down at the moment...

You might also not have it in your path. Try doing
Code:
sudo su
#which mkinitrd
 
Old 01-13-2006, 08:07 PM   #3
midknight5
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, 07:44 AM   #4
shag
Member
 
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"

http://www.au.debian.org/releases/st...l.en#id2527476

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

Rep: Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159
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, 10:32 AM   #6
JimBass
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
Code:
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.

Peace,
JimBass
 
  


Reply


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 02:27 PM
mkinitrd problem WARNING: Could not find module fo xaos5 Slackware 2 12-31-2004 06:54 AM
kernel 2.6.6 mkinitrd problem ziox Linux - Software 0 07-13-2004 08:48 PM
mkinitrd problem. Partial solution. Help! wazungy Mandriva 3 03-21-2004 11:21 AM
mkinitrd problem - kernel upgrade newbie irvken Linux - Newbie 31 12-23-2003 01:03 PM


All times are GMT -5. The time now is 11:06 PM.

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