LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2008, 10:14 AM   #1
PlatinumX
Member
 
Registered: May 2008
Location: France
Distribution: Debian / Fedora / Gentoo
Posts: 178

Rep: Reputation: 15
Question Identify the distro with a(few) file(s)


Hi all,

I received an hard-drive with an OS installed in it.

I need to identify the OS installed in the hard-drive without running it. (forbidden by the process).

I can mount it in readonly mode on another running sytem, but I can't boot directly on the hard-drive i received.

Which file(s) could help me to identify the OS installed on the hard-drive ?

Thanks
 
Old 08-28-2008, 10:16 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
If you can mount read-only, then mount the / directory and check in the /etc directory for a version file. It will usually be /etc/<vendor-name>-release
 
Old 08-28-2008, 10:19 AM   #3
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
use the system rescue cd or a forensic cd

... the files required will be clear only if you fix your list of possible OS(s).
 
Old 08-28-2008, 10:26 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Do you mean which OS, or which Linux OS?

for Linux, you can also sometimes get a clue in the /boot directory, /var (eg the package manager file in /var/lib), or /lib/modules
 
Old 08-28-2008, 11:30 AM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
This doesn't sound like a class lab to anyone else?
 
Old 08-28-2008, 01:59 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by salasi View Post
This doesn't sound like a class lab to anyone else?
Does not fit the pattern of the typical homework troll---but you could still be right.
 
Old 08-28-2008, 02:08 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by pixellany View Post
Does not fit the pattern of the typical homework troll---but you could still be right.
Who cares, it's not against the rules. The rules state to not expect answers at least in a direct sense. So you can choose to ignore if you think it's homework.
 
Old 08-29-2008, 06:53 AM   #8
PlatinumX
Member
 
Registered: May 2008
Location: France
Distribution: Debian / Fedora / Gentoo
Posts: 178

Original Poster
Rep: Reputation: 15
Question

Code:
Do you mean which OS, or which Linux OS?
It is a Windows admin who gave me this, and told me it is a Unix system.

However, as he is not into Uix/Linux, he is not making any difference in between them.

However, i noticed the filesystem is a 44BSD: so it could be open/net/free bsd.

I am not used of BSD systems.
You know how I can recognize which system is installed ?

Thanks
 
Old 08-29-2008, 01:22 PM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
I need to identify the OS installed in the hard-drive without running it. (forbidden by the process).
I think we need to know more about this. Exactly why is it "forbidden"?

If it's a forensic analysis you are looking for, then say so. I may be able to help, as I have had some success with this sort of thing in the past.
 
Old 09-02-2008, 01:18 PM   #10
PlatinumX
Member
 
Registered: May 2008
Location: France
Distribution: Debian / Fedora / Gentoo
Posts: 178

Original Poster
Rep: Reputation: 15
Code:
Exactly why is it "forbidden"?
You can corrupt the system by getting it online.
To understand what is wrong in the system hosted in the hard-drive, you need the keep the system as it was when it crashed.
 
  


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
Identify file system MikeyCarter Linux - Software 1 12-03-2006 03:19 PM
Identify current mode of a file scbops Programming 2 07-03-2006 08:41 AM
Identify Duplicate Files by File Name rickh Programming 8 06-21-2006 03:04 PM
is it possible to identify the kind of file descriptor? Thinking Programming 2 08-11-2005 05:43 AM
How to identify a tar file? rkircher Linux - General 8 02-24-2003 09:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:54 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