Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-18-2009, 09:58 PM   #1
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,

Old 01-19-2009, 03:27 AM   #2
Registered: May 2001
Posts: 29,358
Blog Entries: 55

Rep: Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545
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, 04:59 AM   #3
Registered: Jan 2006
Distribution: Gentoo
Posts: 494

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.


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 09:08 AM
Can't install kernel-devel for older kernel cletcher Linux - Software 1 05-05-2008 01:03 PM
Installing Vmware 5.0 with kernel version 2.6.18 djgerbavore Linux - Desktop 7 02-25-2007 06:29 PM
installing older 2.4 kernel FC4 TranceDude Linux - Software 2 09-11-2005 09:00 AM
Installing older kernel source Amras Linux - Newbie 2 05-31-2004 10:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:37 AM.

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