Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to install Intel Beacon Mountain on Ubuntu 13.10 (Saucy Salamander) 64-bit.

But the installer complained about it is not a supported OS. The installer only supports 12.04, 12.10 and 13.04. I looked at the script, but eventually it runs another installer (binary executable), and it seems to check the Ubuntu version itself. I just gave it a try to modify /etc/issue and /etc/issue.net, but as expected, I had no luck.

I'm not sure what mechanism the installer use to check OS version. Maybe lsb_release?

Is there any general approach to trick the OS version?

Actually, I don't have much interest in installing Beacon Mountain, but I want to know the way to trick the OS version.

share|improve this question
    
Why don't you do a grep lsb_release {executable} if it shows a hit you know that is the file ;) –  Rinzwind Apr 10 at 11:33
    
@Rinzwind I did. but there's no occurrence. Maybe it doesn't execute lsb_release as it is. –  scari Apr 10 at 11:36
3  
Have you made sure that forcing an install will not cause any problems with the program in question? It's true that there's often no issue using a program made for an older version of an operating system on a only slightly newer version, but you should be aware that you could potentially have a problem (the safest solution, if the source code is available, would be to compile the program yourself, of course, but that may have more to do with compiler differences than kernel differences, I'm still a bit inexperienced in terms of the portability of Linux programs). –  JAB Apr 10 at 13:01
    
@JAB I naively expected that it would work well and I knew that forcing an install might cause potential problem. In fact, it wasn't installed successfully but I could proceed the installation without any complain of version. –  scari Apr 10 at 14:13
add comment

1 Answer 1

up vote 20 down vote accepted

The key is /etc/lsb-release.

I just modify /etc/lsb-release and make things work. I didn't know about that file before but /etc/issue. However, In my understanding, /etc/issue file is used for shell greeting message and /etc/issue.net file is for remote shell greeting. (FIXME)

I figure it out with strace lsb_release -a and found that it read /etc/lsb-release file.

share|improve this answer
    
excellent :) worthy of an upvote. –  Rinzwind Apr 10 at 12:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.