• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • 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
5 Solutions
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.

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

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.

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

for correcting values.
Boot with linux rescue mode.
#cat /mnt/sysimage/etc/issue.net

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

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