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. ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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! |
| |||
| 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 |
| ||||
| 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. |