LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-21-2008, 01:29 PM   #1
SI_TW
LQ Newbie
 
Registered: Dec 2007
Posts: 17

Rep: Reputation: 0
Multiple kernels


I need to develop drivers that have multiple kernel support. In the past I would just install different versions of Fedora and recompile my driver on a few versions to verify kernel version compatibility.

I'm fairly certain that I can use a single installation with multiple kernels. Is this true? Where can I find information on how to do this. I've come up empty so far.
 
Old 10-21-2008, 01:35 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
You have many options, including multi-boot.

But I would strongly urge you to consider something like VMWare (i.e. create a virtual machine for each different combination of OS and version you'd like to test).

IMHO .. PSM
 
Old 10-21-2008, 03:54 PM   #3
SI_TW
LQ Newbie
 
Registered: Dec 2007
Posts: 17

Original Poster
Rep: Reputation: 0
I'm not really interested in having more than one OS. I really only want to test drivers on multiple kernels with something simpler than installing more than one OS.
 
Old 10-21-2008, 04:09 PM   #4
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Install another kernel, update your grub or lilo config file, reboot and select the other kernel.
 
Old 10-21-2008, 04:11 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
You don't have to install multiple OS. Just install multiple kernels in /boot and add the different kernels to your /boot/grub/menu.lst

-----------------
Steve Stites
 
Old 10-23-2008, 02:42 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,649
Blog Entries: 4

Rep: Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934
"jailbait" is exactly correct: you simply need to build multiple kernel images, each with the appropriate set of configuration options and each supporting your module. When you boot the system using a particular kernel-image, that's really the only piece of software that has changed. (Nevermind that it is a pivotal piece...)
 
  


Reply



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
Multiple kernels with different modules botzkoz Linux - Kernel 6 03-16-2008 07:26 PM
Running Multiple Kernels unosaso Slackware 2 04-05-2005 11:50 AM
Multiple Kernels apocolpse Linux - Newbie 3 03-17-2005 03:09 AM
multiple 2.6 kernels using GRUB DeltaXFX Linux - Newbie 7 02-03-2005 06:10 AM
Multiple kernels, one partition -- possible? Tino27 Linux - Newbie 2 11-05-2003 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:57 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
Open Source Consulting | Domain Registration