Compiling and installing the kernel.

DigitalPig lizhenqing.fudan at gmail.com
Thu Apr 24 15:04:19 UTC 2008


Jayson Rowe <jayson.rowe at gmail.com> writes:

> On Wed, 23 Apr 2008, V V wrote:
>
>> Hi,
>> I am new to Linux Kernel. Trying to understand and get into.
>> I have a Dell Vostro 1500 and I installed Ubuntu 7.10. Except Wirelss
>> connectivity everything is working fine.
>>
>> Now I want to compile the linux kernel and boot with the new compiled
>> kernel.
>>
>>
>>   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.
>>   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.
>>
>>
>> Is there any documnet which clearly specifies all the steps that I need to
>> take to get this working?
>> Is there any basic config file for vostro 1500? Is there anything wrong I am
>> doing in creating a config file?
>>
>>
>> Thanks,
>> VV
>
> What exactly were you trying to get out of re-compiling the Kernel - 
> especially given that you did not change any options?
>
> Usually one should only re-compile the Kernel if they have a VERY specific 
> purpose to do so - the Ubuntu Kernel team does a great job on our kernels.
Yes. Ubuntu Team provide an excellent kernel which can boot on most of
the desktops and laptops. But it's a little huge since it compile a lot
of useless modules and kernel functions which you won't use.
>
> Anyway - here's the best how-to I've ever found on re-compiling a kernel 
> for Ubuntu:
>
> http://ubuntuforums.org/showthread.php?t=311158
>
> Hope this helps...
>
> -jayson
>

-- 
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