LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-27-2003, 02:42 PM   #1
poverud
LQ Newbie
 
Registered: Nov 2003
Location: Norway
Distribution: different
Posts: 7

Rep: Reputation: 0
Unhappy how do find distro


I need to find out wich distro my server runs, i have not installed it myself and the earlier administrator have deleted /etc/issue, there is no /etc/*real* and uname -a shows kernel only.
 
Old 11-27-2003, 02:47 PM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Check the scripts in /etc/init.d.
Most likely the name of the distro will be in one of them.
 
Old 11-27-2003, 02:49 PM   #3
poverud
LQ Newbie
 
Registered: Nov 2003
Location: Norway
Distribution: different
Posts: 7

Original Poster
Rep: Reputation: 0
there is only firewall and functions file in init.d, no distro in those :/
 
Old 11-27-2003, 02:54 PM   #4
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Check the package management system then.
rpm: RedHat, Mandrake, SuSE,... (check with command rpm)
deb: Debian (check with command dpkg)
tgz: Slack (check with command pkgtool)

In case it's rpm, look for clues in version numbers or rpm files.
 
Old 11-27-2003, 03:01 PM   #5
poverud
LQ Newbie
 
Registered: Nov 2003
Location: Norway
Distribution: different
Posts: 7

Original Poster
Rep: Reputation: 0
i figured out that it is redhat, but i dont know wich version, its kernel 2.4.20 and i need to install glibc
 
Old 11-27-2003, 03:13 PM   #6
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
run up2date -u
You can even " --upgrade-to-release=<release-version>"
 
Old 11-27-2003, 03:16 PM   #7
poverud
LQ Newbie
 
Registered: Nov 2003
Location: Norway
Distribution: different
Posts: 7

Original Poster
Rep: Reputation: 0
root@router:/# up2date -u
bash: up2date: command not found

.... ??
 
Old 11-27-2003, 03:21 PM   #8
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Then it's either no RedHat, an older version or your PATH isn't correct.
whereis up2date to be sure.

Try urpmi -> Mandrake

find / -name "*.rpm"

Like I said, check version numbers/names of various programs/running processes installed. Maybe you'll see something.
 
Old 11-27-2003, 03:26 PM   #9
poverud
LQ Newbie
 
Registered: Nov 2003
Location: Norway
Distribution: different
Posts: 7

Original Poster
Rep: Reputation: 0
/var/lib/rpm/conflictsindex.rpm
/var/lib/rpm/fileindex.rpm
/var/lib/rpm/groupindex.rpm
/var/lib/rpm/nameindex.rpm
/var/lib/rpm/packages.rpm
/var/lib/rpm/providesindex.rpm
/var/lib/rpm/requiredby.rpm
/var/lib/rpm/triggerindex.rpm
/tmp/nasm-0.98-1.i386.rpm
/tmp/fetchpop-1.9-5.i386.rpm

Thats all rpms, and i searched them on rpmfind.org ... cant find the release version of the redhat, in the rpm package catalouge, there is a README wich says it is redhat...
 
Old 11-27-2003, 03:29 PM   #10
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
I'd install apt4rpm and upgrade everything to RH9, then you'll be sure it's 9.
Search LQ for info about apt4rpm.
 
Old 11-27-2003, 03:39 PM   #11
poverud
LQ Newbie
 
Registered: Nov 2003
Location: Norway
Distribution: different
Posts: 7

Original Poster
Rep: Reputation: 0
Could it be slack 9 ? and how do i find out ? (it has 2.4.20 as default)
 
Old 11-27-2003, 04:32 PM   #12
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Quote:
Originally posted by iceman47
Check the package management system then.
rpm: RedHat, Mandrake, SuSE,... (check with command rpm)
deb: Debian (check with command dpkg)
tgz: Slack (check with command pkgtool)

In case it's rpm, look for clues in version numbers or rpm files.
You really should read everything, like I said: check the package management system.
If pkgtool is installed, it probably will be Slack.
 
Old 11-27-2003, 04:44 PM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
try
find /etc -iname "*version*"

Slack for instance will have a
/etc/slackware-version

I recall having seen similar files in
littleRedridingHood and ManDrecK
:}
/me runs for cover

Cheers,
Tink
 
Old 11-27-2003, 04:51 PM   #14
poverud
LQ Newbie
 
Registered: Nov 2003
Location: Norway
Distribution: different
Posts: 7

Original Poster
Rep: Reputation: 0
thank you Tinkster, i found out it was slackware 7.1.0 ... where can i get glibc for that ?? ...
 
Old 11-27-2003, 05:15 PM   #15
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Re: how do find distro

omg
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to find the ideal distro Jguy101 Linux - Distributions 3 04-02-2006 12:37 PM
Need to find a distro that's 500mb. mjaleo Linux - General 4 03-23-2005 11:45 PM
Cant find a good distro noteventime Linux - Distributions 15 03-08-2005 06:09 AM
How can you find out what distro you have? KiwiPingu Linux - Newbie 4 07-23-2004 08:32 AM
Where can i find the apt-get packages available for my distro..(debian) Santorres Linux - Newbie 2 05-17-2004 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:16 AM.

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