You are not logged in.

#1 2006-07-16 12:37:31

flipper
Member
Registered: 2006-07-16
Posts: 24

Reconfiguring kernel

hi...i have recently moved to arch linux...
was wondering if you could tell me how to cnfigure the kernel...coz the make menuconfig method i  used before doesnt work...also would be great if you could explain why..
thank you!

Offline

#2 2006-07-16 13:23:03

prim
Member
From: Wroclaw - Poland
Registered: 2006-05-10
Posts: 47

Re: Reconfiguring kernel

Are you trying to build the kernel in /usr/src/linux-2.6.17-ARCH/ ?
If so, it will fail because this directory doesn't contain kernel sources. Search the forum for explanation smile
You have to download source files from kernel.org manually. You can also use ABS and makepkg to build your kernel. Howto's are available here or on the wiki.


Feel free to correct my English

Offline

#3 2006-07-16 14:04:00

flipper
Member
Registered: 2006-07-16
Posts: 24

Re: Reconfiguring kernel

ok thanks...ill try the ABS.

Offline

#4 2006-07-16 22:08:27

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Reconfiguring kernel

or you can just use the standard arch kernel PKGBUILD and replace yes "" |make config with make menuconfig. That may be a little bit too easy though...

Offline

#5 2006-07-16 22:43:28

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: Reconfiguring kernel

Penguin wrote:

or you can just use the standard arch kernel PKGBUILD and replace yes "" |make config with make menuconfig.

So then the pkgbuild would take right back up with 'make bzImage modules' after menuconfig?


/path/to/Truth

Offline

#6 2006-07-16 23:45:59

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Reconfiguring kernel

make config and make menuconfig do the same thing. In the arch PKGBUILD, yes "" is piped to it to answer all the questions in the default arch config file as yes. menuconfig is just a different (and easier) way of doing it.

cd /usr/src/linux-2.6.17-ARCH/ && make help

The point is to use whichever make method you choose and edit on the existing arch config.

Offline

#7 2006-07-17 00:48:56

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: Reconfiguring kernel

Penguin wrote:

The point is to use whichever make method you choose and edit on the existing arch config.

I there an interactive way (like some of the kernel building examples in the wiki) that a user could build a kernel via makepkg using the kernel26 pkgbuild, where they are allowed to make config changes (like in a make menuconfig session), and then let the pkgbuild take over from that event? Initally I thought you were saying that replacing 'yes "" |make config' with 'make menuconfig' would suffice in this regard.


/path/to/Truth

Offline

Board footer

Powered by FluxBB