LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mkinitrd problem (https://www.linuxquestions.org/questions/linux-newbie-8/mkinitrd-problem-403090/)

midknight5 01-13-2006 06:11 PM

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.

uopjohnson 01-13-2006 06:28 PM

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


midknight5 01-13-2006 07:07 PM

Of course Debian has to be down right now, always my luck, haha.

shag 01-14-2006 06:44 AM

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 ?

sundialsvcs 01-15-2006 09:22 AM

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.

JimBass 01-15-2006 09:32 AM

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


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