You are not logged in.

#1 2006-12-17 17:03:42

Shagbag
Member
Registered: 2006-10-25
Posts: 259

Kernel compiling - first timer needs some advice

I've been using linux for about 12 months now.  However, I've never ever compiled a kernel.  Everywhere I read it says it's easy but I've never had the guts to go for it.

I would like to start out with the existing 2.6.19-ARCH kernel and look at it to understand it before I make any changes.

Is there any way I can do that without hosing my existing Arch install (which I've invested a lot of time getting right)?

Offline

#2 2006-12-17 18:11:49

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Kernel compiling - first timer needs some advice

in your kernel sources edit .config and change this line
CONFIG_LOCALVERSION="-ARCH"
to something custom

your kernel will not overwrite default one, so if it fails to boot, you are safe.

Offline

#3 2006-12-17 18:24:27

filoktetes
Member
From: Skien, Norway
Registered: 2003-12-29
Posts: 287

Re: Kernel compiling - first timer needs some advice

Just rembember to change the filename of the kernel file as well; you must call it something else than kernel26, which is the stock kernel.
If you'll use a PKGBUILD to make a custom kernel package, you must change it there, and if you do it 'manually', you copy the arch/i386/boot/bzImage to something like /boot/kernel26-mykernel and set up a new image for this in grup/lilo, without, of course, removing the image entry for the kernel26.

Offline

#4 2006-12-18 02:47:06

dk
Member
Registered: 2004-04-20
Posts: 106

Re: Kernel compiling - first timer needs some advice

Offline

Board footer

Powered by FluxBB