• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 188
  • Last Modified:

How can I known my linux version if it can not boot may be it is redhat 4 or centOS5 or cent os 4.4

I boot linux then it stop at Grub If I want to known what is the version of my linux how can I known it I am not sure it is cent os 4.4 or centos 5 or redhat enterprise linux 4
0
teera
Asked:
teera
5 Solutions
 
Heem14Commented:
Barring simply remembering which OS you installed :) ...

Boot a live CD like Knoppix and then mount the hard drive. Then look in /etc for redhat-release or files of a similar name.

0
 
ravenplCommented:
Also, it's common that grub menu contains some useful information, like distro name and kernel version.
What it is?
0
 
Kerem ERSOYPresidentCommented:
Hi,

Jost boot your sytem from a Live CD edition. Mount your system volume. Locate your /etc folder. Under the folder you should have a file called redhat-release. just cat the file and it will show you your release and distro.

you can try to fix your grub setting using commands grub-install and grub.

0
 
Kerem ERSOYPresidentCommented:
You can also use linux rescue command on grub prompt. This will mount your boot volume unde /mnt/sysimage.

for correcting values.
0
 
ibu1System AdministratorCommented:
Boot with linux rescue mode.
#cat /mnt/sysimage/etc/issue.net
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now