Compiling and installing the kernel.

DigitalPig lizhenqing.fudan at gmail.com
Thu Apr 24 15:02:13 UTC 2008


"V V" <vvatwork at gmail.com> writes:

>  1. I installed the source code,
>  2. Used the "make gconfig" to configure it. I did not do any changes int the
>     configuration. But saved the file .
>  3. compiled it with make.
hmmm... You forgot some steps here. Before compile your own kernel, you
need to have a clear image that what kernel you want at last. Most of
the time people want to modify the existed kernel config. So you can
copy the .config file in your /boot and then "make menuconfig" to modify
it. In my memory, make is not enough. At least you have to "make dep"
and "make bzImage" instead. Try to search with Google, and you will find
some good articles about how to compile the kernel.
>  4. changed the /boot/grub/menu.lst file accordingly. ( I have changed only
>     the vmlinux part, But I do not know what to do with initrd.etc..)
>  5. After the reboot, grub gives me the option for the newkernel. But when I
>     boot with that, it stops after the Ubuntu logo appears.

Good Luck!
-- 
DigitalPig
E-mail: digitalpiglee AT gmail DOT com
ALL WE SEEN IS ILLUSION.

*Fudan University Macromoleculer Science Forum*
http://fudanmacro.com





More information about the ubuntu-users mailing list