Page 1 of 1

A little trick to find out exactly when you installed a Linux OS

Posted: Fri Aug 18, 2017 12:32 am
by Stevo
Assume that /dev/sda1 is your root partition, change it in the command if necessary:

Code: Select all

sudo dumpe2fs /dev/sda1 | grep 'Filesystem created:'
Voila! Also works on separate home partitions--mine dates back to 2012.

Re: A little trick to find out exactly when you installed a Linux OS

Posted: Fri Aug 18, 2017 3:18 am
by dyfi
Code:- tune2fs -l /dev/sda1

Is also very informative.