Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two versions of ubuntu installed on my laptop 10.04 and 9.10. They are installed on separate partitions (let's say /dev/sda1 and /dev/sda2 respectively), but I forgot which is which. I'm now booting through liveCD (I'm troubleshooting a grub issue), but I need to know which partition contains the lucid install.

I have full access to the contents of each partition, so it must be easy to find out. I just don't know which file to look into.

share|improve this question
up vote 3 down vote accepted

The contents of /etc/lsb-release should give you the information you need.

share|improve this answer
Great! Thank you. – Malabarba Oct 15 '10 at 22:01

The other option is /etc/issue

share|improve this answer

Your Answer


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.