Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have a problem that, my system boots up only in kernel 2.16.22 .,
And i have an application which requires 2.6.18 ....
It is not possible to use the 2.6.18 for my system, but how to make this application to see this 2.6.22 as 2.6.18.... Is it possible ??? ( that application is using this kernel for some internal purpose, how to make this 2.6.22 to show like 2.6.18 )
If your application requires a particular kernel version ... rather unusual but not unheard-of ... then, by gawd, it requires that for some (good) reason, and nothing less will do.
but the reason which it requires the 2.6.18 is also present in 2.6.22
It's not true, interfaces (internal / and or external) often change (that's one of the big linux problem in my point of view). That's why you have to know what is needed by your software or module in this kernel version.
Yes, I'll chime in -- in the most agreeable fashion -- that the people who stipulated this kernel version must have known what they are talking about. I do not predict that your present line of effort will be fruitful.
Well if you absolutely Must you could try editing the version string in the kernel binary. Might work, might not. But it's quick n easy, so worth a stab. Here's how:
- Make a copy of /boot/vmlinu* (whetever your kernel is called) to your home directory.
- Look at the copy using a hex editor. Search for the version string. Change it by value but NOT by length. If it was 10 chars before it shoule be 10 chars afterwards.
- Copy the kernel back to /boot/A_DIFFERENT_NAME
- If you use grub, look at the /boot/grub/menu.lst - this is the list of kernels that grub offers you at boot time. Add the new kernel. You should be able to copy one of the paragraphs defining another kernel and change the names.
- Within that same grub file there is a "timeout" which is the number of seconds grub waits before booting the default kernel. Set that to a good long time such as 20 seconds.
- Reboot, cross fingers.
To undo - Just change the grub/menu back to what it was before. Easiest if you make a backup before you start playing. You can also remove the customised Linux binary if you like, although if grub doesn't know about it anymore it's just ignored.
Have fun, have a knoppix boot disk to hand in case it all goes wrong - there are lots of ways this could happen - and have a bottle of champagne in case it goes right!
It might be better to take a hex editor to the application. If it dies then it's its own fault for making unreasonable and unjusified demands of the kernel. It is an open surce application, right? So you could change the application code so that it accepts your kernel version, no hex editor needed. That's the freedom we are fighting for, right?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.