[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: initrd.img



On Tue, July 18, 2006 3:57 pm, Travis Davies wrote:
> Lately I have been wanting to learn about the linux Kernel and how it
> works and what not. So i downloaded a recent kernel, configured it
> (somewhat), did a make, make  modules, make modules_install, and
> make install. Problem: i am running ubuntu Dapper Drake which uses
> grub. it requires initrd.img which was not installed to my /boot
> directory. I am having trouble finding good info on how to generate
> this file. Do any of you know of any good resources or could possibly
> explain how to generate it?

It may well be useful to spend some time learning about the kernel
packaging stuff they do.  In the next release, there's a little easier
build system, half-documented at
https://wiki.ubuntu.com/KernelCustomBuild

The current Debian way as I understand it is to use kernel-pkg.
http://newbiedoc.sourceforge.net/system/kernel-pkg.html
This one's more Ubuntu-oriented, but don't follow it step-by-step (ignore
the part about setting a root password, for example)
http://doc.gwos.org/index.php/Kernel_Compilation_Dapper

In any event, you can certainly build your kernel external to the
packaging system, but it's nice to integrate everything together. 
Presumably, that information will get you close enough that you can learn
more Googling around than I could reasonably put in this posting... :)

--Danny


-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.