LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-25-2011, 03:39 PM   #1
argentux
Member
 
Registered: May 2011
Location: La Plata, Arg
Distribution: slackware
Posts: 44

Rep: Reputation: 1
Recompile same kernel, with different string


Hi everyone. I'm using slackware 13.37. When I upgrade my kernel, I follow theese steps:
- untar source
- copy old .config
- make old config
- make gconfig and check/uncheck options (then save .config)
- make bzImge && make modules && make modules_install
- copy System.map, .config and bzImage to /boot directory with current kernel version name
- update lilo and reboot

That's will create /lib/modules/new-kernel-version/ path

My question: If I want to recompile without upgrading version, is there any way to keep 'old' kernel with its 'old' modules? Is that safe? Is that a right way to recompile?

For example:
old kernel => /lib/modules/2.6.38.1
/boot/vmlinuz-2.6.38.1

new kernel => /lib/modules/2.6.38.1-testing-new-options
/boot/vmlinuz-2.6.38.1-testing-new-options

another one => /lib/modules/2.6.38.1-another
/boot/vmlinuz-2.6.38.1-another

Thanks
 
Old 05-25-2011, 03:43 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860
That works here, at least.
 
Old 05-25-2011, 03:46 PM   #3
argentux
Member
 
Registered: May 2011
Location: La Plata, Arg
Distribution: slackware
Posts: 44

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by TobiSGD View Post
That works here, at least.
Thanks for your answer. But how can I add a string?
 
Old 05-25-2011, 04:34 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860
You will find that under General setup -> Local version - append to kernel version.
 
1 members found this post helpful.
Old 05-25-2011, 11:42 PM   #5
argentux
Member
 
Registered: May 2011
Location: La Plata, Arg
Distribution: slackware
Posts: 44

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by TobiSGD View Post
You will find that under General setup -> Local version - append to kernel version.
Thanks TobiSGD. Thats solved my problem!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic in 64bit Arch Linux after Kernel Recompile: 2.6.35-rc3 jackerybakery Linux - General 3 06-16-2010 11:21 AM
Kernel recompile, LILO warning and Kernel-panic Tux-Slack Slackware 26 02-26-2008 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration