LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-16-2005, 07:16 AM   #1
RustBucket
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora Core 1, DamnSmallLinux, Knoppix
Posts: 3

Rep: Reputation: 0
Question Different X configs for different kernels?


I am dual-booting two different kernels. One is a standard kernel from an FC1 install [2.4.22-1.2115.nptl] and the other is a custom CCRMA low-latency kernel [2.4.26-1.ll.rhfc1.ccrma].

For the standard kernel, I have installed the NVIDIA kernel module. To enable it, I have had to make some changes to /etc/X11/XF86Config. I do not want to use this for my custom kernel, but since both of them refer to that same X Config file, I cannot do this.

Is there any way to make the custom kernel use a different config file?
 
Old 02-16-2005, 07:28 AM   #2
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Well, the biggest problem is that the nvidia module will only want to work with the kernel version it was compiled for... I'd say pick one and use it... Maybe start trying some 2.6 series maybe...
 
Old 02-16-2005, 08:39 AM   #3
RustBucket
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora Core 1, DamnSmallLinux, Knoppix
Posts: 3

Original Poster
Rep: Reputation: 0
No, no. My question is not about the NVIDIA module. In the first place, the nvidia binary does not work with my custom kernel, and besides, I need both kernels for my work.

I want to know if it is possible to supply different X config files to different kernels.

Thanks for the help
 
Old 02-16-2005, 03:34 PM   #4
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
The quick answer is no. The long answer is possibly yes you can and it would just require a script of some sort to check the running kernel with uname and rename the xconfigs as necessary... Should be doable.

An easier solution might be a dual boot linux setup with a shared /home partition (and share /usr as well maybe...)
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X11 and Mandrake configs Elomis Linux - Software 7 01-03-2005 01:16 AM
Deleting all eth configs kakridge Linux - Networking 3 08-26-2004 03:42 AM
need help on Lan networking/configs..... jay820 Linux - Networking 13 03-04-2004 01:57 AM
Runlevel 3 and 4 startup configs ghight Linux - Software 4 12-19-2003 10:27 AM
RH 8 kernels and their relation to 'stock' kernels psweetma Linux - Distributions 1 03-29-2003 10:46 PM


All times are GMT -5. The time now is 01:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration