LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-21-2004, 11:22 PM   #1
tomamodi
Member
 
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Rep: Reputation: 15
how check distro


dear i have some thing to learn
that i have one hard disk un bootable dew to some mbr prob
i mount this with other linux running system
it mounts it means linux
i mount all partitions saw dmesg
first line
linux version 2.2.19 and and gcc ver and and date so and so
it is still mounted
i want to now what distro is this is this redhat,bsd.or or
how i find out this i search all files with mc it is ext2 it clear with partition kernel is 2.2.19 by dmesg
but what dstro
please need help to solve this
 
Old 06-22-2004, 12:32 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
During boot up you should get a tag line somewhere (or a logo or a splash screen) which tells you which distro you're using. Another way is (if you haven't compiled your own kernel) to type uname -r which usually has a clue in it for you.
 
Old 06-22-2004, 02:35 AM   #3
tomamodi
Member
 
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Original Poster
Rep: Reputation: 15
no there is no boot because of lost mbr
other thing it is mounted in other running system
so think about it again
which partition which file contains destro information
thanks for help
most of i checked already didnt find
 
Old 06-22-2004, 02:40 AM   #4
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Well if you can't boot it then there's no way to tell... Unless you have the installation media around somewhere. Or you can ask the person who installed it.
 
Old 06-22-2004, 07:51 AM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Sure there is... if the only way to know would be from looking at the boot messages, couldn't one mount /var (of the other system) and open /logs/messages in a text editor, which would contain the last boot messages of that system, which would (hopefully) tell you?

Alternatively, you could perhaps look in /sbin or /usr/sbin and see what you've got there-- if you find drakconf and rpmdrake, well, that's Mandrake; if you find redhat-config and the like, that's RedHat, and if you find YAST or YOU, you've got SuSE, and Apt would indicate Debian.

You might also check /usr/share/docs and see if the distribution help is installed; naturally that will say something about what distribution is installed as well.

Which version? If you haven't upgraded your kernel before this all happened, I'd actually suggest that once you know generally which distro class you're using (Debian, Mandrake, SuSE), I'd go to either DistroWatch or search Google for which version of that particular distribution shipped with kernel 2.2.19.

Hope this helps. If I think of more signifiers that distros use to brand their installs, I'll let you know .
 
Old 06-22-2004, 08:26 AM   #6
jalrnc
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
How about looking at /etc/*release? For instance, for Mandrake is it /etc/mandrake-release:

> cat /etc/mandrake-release
Mandrake Linux release 10.0 (Official) for i586
 
Old 06-22-2004, 08:42 AM   #7
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Well if the mbr is corrupt you'd need a live distro for that.
 
Old 06-22-2004, 08:47 AM   #8
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
My impression was that tomamodi was already using one (or something):
Quote:
i mount this with other linux running system
it mounts it means linux
i mount all partitions saw dmesg
I understood that tomamodi was booting from either a LiveCD, or a second installed distro on another HDD, and mounting the affected system from that.

Have I misread?
 
Old 06-22-2004, 09:39 PM   #9
tomamodi
Member
 
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Original Poster
Rep: Reputation: 15
you are right i mount this effected hdd as hdb in live system
today i will check all and inform
may be get some clue
thanks for intrest and help
hope we recover this
 
Old 06-22-2004, 11:03 PM   #10
tomamodi
Member
 
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Original Poster
Rep: Reputation: 15
now this is all what advised hdb1 mounted
first /var empty
/sbin nothing as you say
/usr/bin/ i find some files as
i386-red~ux-egcs
i386-red~nux-gcc
is this means redhat next step i think to google redhat with 2.2.19 support i think 6.2 may be
the second and most importent q? is if i find the same distro and upgrade the install is it possible without lossing the already installed softwares in this harddisk there is webmin and squid there i want to keep them as it is
i didnt want to lose any of this software in this hard disk only mean to up grade is get boot prompt login
thanks again for helping
 
Old 06-23-2004, 12:38 AM   #11
tomamodi
Member
 
Registered: Jul 2003
Location: saudi arabia
Posts: 31

Original Poster
Rep: Reputation: 15
please see this what it means that no other distro supports 2.2.19

http://216.239.59.104/search?q=cache...++2.2.19&hl=en

there is only "debian" here in information
 
Old 06-23-2004, 01:02 AM   #12
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I would ignore that page. It looks like the information there is very old and questionably accurate.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition check, check double check Vincentius Linux - General 0 12-25-2004 05:47 AM
minimum live cd distro to check ping mehargags Linux - Distributions 2 05-04-2004 06:14 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM
Partition check problem when booting with a Debian Distro. ashgrim Linux - Newbie 3 10-22-2003 06:02 PM
what command to check distro x2000koh Programming 1 08-12-2003 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration