View previous topic :: View next topic |
Author |
Message |
dejima Tux's lil' helper
Joined: 16 Jul 2004 Posts: 130 Location: Greece
|
Posted: Sat Mar 30, 2013 6:21 pm Post subject: Way to check when gentoo was installed? |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Sat Mar 30, 2013 6:41 pm Post subject: |
|
|
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 |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Sat Mar 30, 2013 6:51 pm Post subject: |
|
|
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 |
|
|
dejima Tux's lil' helper
Joined: 16 Jul 2004 Posts: 130 Location: Greece
|
Posted: Sat Mar 30, 2013 7:48 pm Post subject: |
|
|
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 |
|
|
|