LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-01-2007, 12:29 PM   #1
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
How to guess when a system was installed


I would like to know when a given linux system was installed.
May the right question is when the root filesystem was created, except it is a reiser3 fs.

any ideas ?
 
Old 02-01-2007, 02:52 PM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Probably the answer is in log files,

For Fedora Core 6, I have a install.log.syslog file in /root that tells me when first user was created, in /var/log I have a cron.3 file where (3) is the highest number in cron. files that tells me when cron first started, a few minutes after the user was added.
Search the logs, it is only logical that this is where such information would reside.
 
Old 02-01-2007, 03:10 PM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Actually,

I use imaging technology when putting together a system, after first install I create a compressed image of the operating system, then I start loading/compiling drivers, if things go wrong during such tasks I wipe (0's) across the partition and re-load the image in less than ten minutes and try again with different source or whatever. The files I mention above may not be so accurate in a case like mine. I do however have a Xorg.0.log in /var/log that suggests the actual build date of my system was two days prior to when the other two files were created, which stands to reason as I usually delete first user and create a new one whenever I load an image of a fresh build.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
could u guess OS installed by looking at MBR? mohit_garg Linux - Software 4 07-12-2005 07:03 PM
could u guess OS installed by looking at MBR? mohit_garg General 1 07-12-2005 06:26 PM
Can Linux be installed on my system? r1_97 Linux - Newbie 4 02-13-2005 09:49 PM
System Files Installed But Not inescapeableus Linux - Software 0 07-30-2004 12:13 AM
Just installed RH 9.0 and the system is slow. Why? rjm1973 Linux - Newbie 1 07-12-2004 09:26 PM

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

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