View Single Post

   
  #10 (permalink)  
Old 02-19-2008, 11:06 AM
Jim Diamond
 
Posts: n/a
Default Re: FS: upgrade Kernel

On 2004-06-07, Robert D. De Mars <bob-news@b-o-b.homelinux.com> wrote:
> Sharino wrote:
>
>> Can anybody direct me to a how to site on update the
>> kernel, I found the steps on rebuilding the current kernel
>> but no on how to change it to 2.6.6. I did a fresh install of
>> Slack 9.1 and would like to change the kernel. Do I need
>> the patch of 2.6.6 or the source to accomplish this?
>> TIA
>>
>>

> This is what I do.


> 3. To avoid possible drama, I never unpack the new
> kernel source in the /usr/src.

I always do, and never get any drama. Maybe I'm missing something :-(
As others pointed out, being root for this is a Bad Thing, so I usually
do something like (as root)
cd /usr/src
mkdir linux-2.6.6
chown <my-userid> linux-2.6.6
and then proceed up until the install phase as just plain old me.

> Since I am logged in as root, I will proceed with unpacking the
> source in my /root dir. I use the following command * bzip2 -cd
> linux-2.6.2.tar.bz2 | tar -xvf -


Much easier:
tar xfvj linux-2.6.6.tar.bz2

> This will unpack everything into /root/linux-2.6.2/
> 4. cd /usr/src/linux & then
> * make mrproper this cleans-up old kernel
> stuff


Ummm.... what does that have to do with the new kernel you are compiling?
If you were re-compiling the old source in the same tree, you would
want to do that, but otherwise I don't see the point.

Cheers.

Jim
Reply With Quote