Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Way to check when gentoo was installed?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dejima
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2004
Posts: 130
Location: Greece

PostPosted: Sat Mar 30, 2013 6:21 pm    Post subject: Way to check when gentoo was installed? Reply with quote

It is been quite a while since I have installed gentoo on my computer.
What I would like to know is there is a way to see when I have installed ?

Thank you
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54211
Location: 56N 3W

PostPosted: Sat Mar 30, 2013 6:41 pm    Post subject: Reply with quote

dejima,

You might still have the stage3 file in /
Code:
# head /var/log/emerge.log
1238672341: Started emerge on: Apr 02, 2009 11:39:01
unless you have removed that file.

Code:
# ls -l  /*/.keep
-rw-r--r-- 1 root root 0 Nov 13  2005 /home/.keep
-rw-r--r-- 1 root root 0 Apr  2  2009 /lib32/.keep
-rw-r--r-- 1 root root 0 Apr  2  2009 /mnt/.keep
-rw-r--r-- 1 root root 0 Apr  2  2009 /opt/.keep
-rw-r--r-- 1 root root 0 Apr  2  2009 /root/.keep
-rw-r--r-- 1 root root 0 Apr  2  2009 /sbin/.keep
-rw-r--r-- 1 root root 0 Apr  2  2009 /usr/.keep


/home was migrated from another system.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Sat Mar 30, 2013 6:51 pm    Post subject: Reply with quote

You can check you users passwords for date (if password wasn't changed since install date):

# passwd -S root

another way is checking for partition creation date:

# tune2fs -l /dev/sdXY | grep created


usually these two dates matches to installation date
Back to top
View user's profile Send private message
dejima
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2004
Posts: 130
Location: Greece

PostPosted: Sat Mar 30, 2013 7:48 pm    Post subject: Reply with quote

Thank you all for your answers.

Code:

# head /var/log/emerge.log
1287607173: Started emerge on: Oct 20, 2010 23:39:33


Code:
 
# ls -l  /*/.keep
-rw-r--r-- 1 root root 0 Oct 19  2010 /home/.keep
-rw-r--r-- 1 root root 0 Oct 19  2010 /mnt/.keep
-rw-r--r-- 1 root root 0 Oct 19  2010 /opt/.keep
-rw-r--r-- 1 root root 0 Oct 19  2010 /root/.keep
-rw-r--r-- 1 root root 0 Oct 19  2010 /sbin/.keep
-rw-r--r-- 1 root root 0 Oct 19  2010 /usr/.keep


Code:

# passwd -S root
root P 10/20/2010 0 -1 -1 -1


Code:

# tune2fs -l /dev/hda1 | grep created
Filesystem created:       Wed Oct 20 22:52:21 2010
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum