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

Posted on 2007-07-20
Last Modified: 2013-12-16
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
Question by:teera
    LVL 12

    Accepted Solution

    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.

    LVL 43

    Assisted Solution

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

    Assisted Solution

    by:Kerem ERSOY

    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.

    LVL 30

    Assisted Solution

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

    for correcting values.
    LVL 12

    Assisted Solution

    Boot with linux rescue mode.
    #cat /mnt/sysimage/etc/

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
    1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now