LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2009, 10:58 PM   #1
suhail_yousaf
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Cool installing older kernel inside VMWare on top of new kernel


Hi all,


I need to run a c/c++ program that uses libraries from kernel version
2.6.9. The machine that is available to me has kernel version 2.6.24.
I am thinking to install kernel version 2.6.9 inside a VMWare on top of
kernel version 2.6.24.

Please guide me whether I am thinking in the right direction. I am new to
kernel and VMware installation. I do not want to start such a rather
complex scenario without any expert opinion.

Waiting for your positive response.

Best regards,

Suhail
 
Old 01-19-2009, 04:27 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
Hello and welcome to LQ. Hope you like it here.

Virtualisation is an option, but I'm not an export and so my reply would be "it depends". Could you tell us what the application is and its requirements are? For "simple" applications requiring a specific library you could install it in a path that doesn't affect the system-wide setup, let's call it "/path/to/elsewhere/lib", then you could try 'env LD_LIBRARY_PATH=/path/to/elsewhere/lib thebinaryinquestion'. Another option, depending on requirements, could be to run the application inside a chroot?
 
Old 01-19-2009, 05:59 AM   #3
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 493

Rep: Reputation: 35
You can also do this: install the new kernel (it won't overwrite the new, so you'll have both), and add a menu entry to your bootloader to start the old kernel. This way you can choose which kernel you need.
The Virtual Machine approach is also a good idea if you have a powerful computer.
 
  


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
Slackware V12.1 Problem installing older Kernel m_g-m Slackware - Installation 4 10-26-2008 10:08 AM
Can't install kernel-devel for older kernel cletcher Linux - Software 1 05-05-2008 02:03 PM
Installing Vmware 5.0 with kernel version 2.6.18 djgerbavore Linux - Desktop 7 02-25-2007 07:29 PM
installing older 2.4 kernel FC4 TranceDude Linux - Software 2 09-11-2005 10:00 AM
Installing older kernel source Amras Linux - Newbie 2 05-31-2004 11:23 AM


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

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