Unix Technical Forum

To kernel 2.6.8:after compiling and installing, no initrd.img generated

This is a discussion on To kernel 2.6.8:after compiling and installing, no initrd.img generated within the Linux Operating System forums, part of the Unix Operating Systems category; --> I nearlly succeeded in compling and installing debian kernel from 2.6.3 to 2.6.8, following 'Debian Kernel'How-to in www.desktop-linux.net exactly. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 05:16 AM
wildchild
 
Posts: n/a
Default To kernel 2.6.8:after compiling and installing, no initrd.img generated

I nearlly succeeded in compling and installing debian kernel from 2.6.3 to
2.6.8, following 'Debian Kernel'How-to in www.desktop-linux.net exactly.
But after all was done, there is no initrd.img in /boot. And when booting
the new kernel, it fails in finding files.
I used 'make-kpkg buildpackage -rev Custom.1 kernel_image', and I tried
adding --initrd in the end(with some warnings of certain patch). Of no use.
What's the problem ? I can use the old initrd.img to boot the new kernel?
Sorry for my lack of experiences, your help will be appreciated.

Best regards!


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 05:16 AM
Andreas Janssen
 
Posts: n/a
Default Re: To kernel 2.6.8:after compiling and installing, no initrd.img generated

Hello

wildchild (<shichencn@msn.com>) wrote:

> I nearlly succeeded in compling and installing debian kernel from
> 2.6.3 to 2.6.8, following 'Debian Kernel'How-to in
> www.desktop-linux.net exactly. But after all was done, there is no
> initrd.img in /boot. And when booting the new kernel, it fails in
> finding files. I used 'make-kpkg buildpackage -rev Custom.1
> kernel_image', and I tried adding --initrd in the end(with some
> warnings of certain patch).


What warnings? About cramfs support? By default, the initrd uses cramfs.
Your Kernel needs cramfs built-in, or you must change the mkinitrd
configuration. Also, make sure the initrt-tools are installed.

By the way, the make-kpkg man page says first options, then targets:

make-kpkg --initrd --revision 1.0 kernel_image

> Of no use. What's the problem ? I can use
> the old initrd.img to boot the new kernel?


Probably not. The question is: why do you want to use an initrd if you
build your own kernel? Just compile support for your boot device and
the root fs into the kernel, and you won't need one.

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 05:16 AM
Andy Fraser
 
Posts: n/a
Default Re: To kernel 2.6.8:after compiling and installing, no initrd.img generated

In comp.os.linux.setup, wildchild uttered these immortal words:

> I nearlly succeeded in compling and installing debian kernel from 2.6.3 to
> 2.6.8, following 'Debian Kernel'How-to in www.desktop-linux.net exactly.
> But after all was done, there is no initrd.img in /boot. And when booting
> the new kernel, it fails in finding files.
> I used 'make-kpkg buildpackage -rev Custom.1 kernel_image', and I tried
> adding --initrd in the end(with some warnings of certain patch). Of no
> use. What's the problem ? I can use the old initrd.img to boot the new
> kernel? Sorry for my lack of experiences, your help will be appreciated.


I use this:
http://www.debian.org/doc/manuals/re...kernel.en.html

It talks about a 2.4 kernel but it works with 2.6 as well. It's never failed
for me.

--
Andy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com