You are not logged in.

#1 2003-12-22 05:29:05

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 546
Website

customizing kernel [RESOLVE]

I just downloaded the kernel26 pkg from the repos and executed all the instructions apeiro wrote, i havent rebooted yet, and i did it mainly to see if my system is ready for the 2.6 as i wasnt sure what i needed to update/change...

Now i was thinking (im pretty sure it will work) after i reboot i want to compile my own (I already did a couple but, i didnt had the module-init.... so wouldnt work) and i dont know how to make it use a diferent modules directory, as /lib/modules/2.6.0 is already in use by the arch kernel26 pkg.

Any tips on how to make the custom kernel install the modules in a custom dir?

thanks.


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

#2 2003-12-22 10:31:39

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: customizing kernel [RESOLVE]

sud_crow wrote:

Any tips on how to make the custom kernel install the modules in a custom dir?

Edit the "EXTRAVERSION" in /usr/src/linux-2.6.0/Makefile
Example: "-myKernel"

VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 0
EXTRAVERSION = -myKernel

This will create folder /lib/modules/2.6.0-myKernel/


Markku

Offline

#3 2003-12-22 18:12:29

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 546
Website

Re: customizing kernel [RESOLVE]

Great, thanks!


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

Board footer

Powered by FluxBB