You are not logged in.

#1 2011-07-24 20:20:26

peewster
Member
From: Netherlands
Registered: 2011-07-18
Posts: 47

[SOLVED] Rename /lib/modules/(kernelmodules)

Hi all,

i was wondering where i can change the name which is used to create /lib/modules/3.0.0-ARCH to something else.

I just compiled and installed the 3.0 kernel, but i thought it was nice to rename to something like: kernel-3.0-by..... for example.

uname -a shows the 3.0.0-ARCH and i want this to be kernel-3.0-by.... something....

Last edited by peewster (2011-07-24 22:35:32)


PoC || GTFO

Offline

#2 2011-07-24 20:29:47

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Rename /lib/modules/(kernelmodules)

These are things you don't just simply change unless you build a new kernel image and module tree.

Offline

#3 2011-07-24 20:39:23

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: [SOLVED] Rename /lib/modules/(kernelmodules)

peewster wrote:

Hi all,

i was wondering where i can change the name which is used to create /lib/modules/3.0.0-ARCH to something else.

I just compiled and installed the 3.0 kernel, but i thought it was nice to rename to something like: kernel-3.0-by..... for example.

uname -a shows the 3.0.0-ARCH and i want this to be kernel-3.0-by.... something....

Not really sure what you want to acheive, but if you are rebuilding your kernel, you can change

CONFIG_LOCALVERSION="-ARCH"

in .config to something else.

Offline

#4 2011-07-24 20:39:46

peewster
Member
From: Netherlands
Registered: 2011-07-18
Posts: 47

Re: [SOLVED] Rename /lib/modules/(kernelmodules)

falconindy wrote:

These are things you don't just simply change unless you build a new kernel image and module tree.

Well that is something i need to look into, but i probably only need a push in the right direction :-)


PoC || GTFO

Offline

#5 2011-07-24 20:43:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Rename /lib/modules/(kernelmodules)

peewster wrote:
falconindy wrote:

These are things you don't just simply change unless you build a new kernel image and module tree.

Well that is something i need to look into, but i probably only need a push in the right direction :-)

You can't just rename it, like you rename your files. You need to rebuild it.
But yes, you can do it - see tomegun's post.

Offline

#6 2011-07-24 22:22:01

peewster
Member
From: Netherlands
Registered: 2011-07-18
Posts: 47

Re: [SOLVED] Rename /lib/modules/(kernelmodules)

karol wrote:
peewster wrote:
falconindy wrote:

These are things you don't just simply change unless you build a new kernel image and module tree.

Well that is something i need to look into, but i probably only need a push in the right direction :-)

You can't just rename it, like you rename your files. You need to rebuild it.
But yes, you can do it - see tomegun's post.

ok let's see if it will work.

Last edited by peewster (2011-07-24 22:24:00)


PoC || GTFO

Offline

#7 2011-07-24 22:23:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Rename /lib/modules/(kernelmodules)

peewster wrote:
karol wrote:

But yes, you can do it - see tomegun's post.

Well let's see how many posts tomegun has :-) i'm going to search the forum :-)

Sorry, I meant this post https://bbs.archlinux.org/viewtopic.php … 68#p965168

Offline

#8 2011-07-24 22:25:23

peewster
Member
From: Netherlands
Registered: 2011-07-18
Posts: 47

Re: [SOLVED] Rename /lib/modules/(kernelmodules)

karol wrote:
peewster wrote:
karol wrote:

But yes, you can do it - see tomegun's post.

Well let's see how many posts tomegun has :-) i'm going to search the forum :-)

Sorry, I meant this post https://bbs.archlinux.org/viewtopic.php … 68#p965168


i was replying way to quickly smile, had to read a few posts above yours..... But i will check it, thanks!


PoC || GTFO

Offline

#9 2011-07-24 22:35:05

peewster
Member
From: Netherlands
Registered: 2011-07-18
Posts: 47

Re: [SOLVED] Rename /lib/modules/(kernelmodules)

Ok so when you do a:

make menuconfig, there is a option within the general settings to change/replace the -ARCH line. Same thing as tomgun said, but then in the menu itself. Also still possible to change it in the .config file.

Thanks guys!


PoC || GTFO

Offline

Board footer

Powered by FluxBB