You can use the command
tune2fs to find out when the filesystem was created.
$ tune2fs -l /dev/main/partition |grep 'Filesystem created'
$ sudo tune2fs -l /dev/dm-1 |grep 'Filesystem created'
Filesystem created: Sat Dec 7 20:42:03 2013
which disk to use?
If you don't have
/dev/dm-1 you can use the command
blkid to determine your HDD topology.
/dev/sda1: UUID="XXXX" TYPE="ext4"
/dev/sda2: UUID="XXXX" TYPE="LVM2_member"
/dev/mapper/fedora_greeneggs-swap: UUID="XXXX" TYPE="swap"
/dev/mapper/fedora_greeneggs-root: UUID="XXXX" TYPE="ext4"
/dev/mapper/fedora_greeneggs-home: UUID="XXXX" TYPE="ext4"
You can also find out what filesystem a directory is coming from using the
df -h . command.
$ df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/fedora_greeneggs-root 50G 9.3G 38G 20% /
From kickstart .cfg file
You can also look at the date this file was created, assuming it wasn't deleted.
$ sudo ls -lah ~root/anaconda-ks.cfg
-rw-------. 1 root root 1.3K Dec 7 21:10 /root/anaconda-ks.cfg
Another method would be to find out when the package
setup was installed. This package is rarely updated, only from version of version of distro, so it should be fairly safe to query it in this manner.
$ rpm -qi setup | grep Install
Install Date: Sat 07 Dec 2013 08:46:32 PM EST
Another package that has similar qualities to
$ rpm -qi basesystem | grep Install
Install Date: Sat 07 Dec 2013 08:46:47 PM EST
Lastly you could just take the full list of installed packages and get the last few to see what their install dates were.
$ rpm -qa --last | tail
nhn-nanum-fonts-common-3.020-8.fc19.noarch Sat 07 Dec 2013 08:46:47 PM EST
basesystem-10.0-8.fc19.noarch Sat 07 Dec 2013 08:46:47 PM EST
m17n-db-1.6.4-2.fc19.noarch Sat 07 Dec 2013 08:46:46 PM EST
gnome-user-docs-3.8.2-1.fc19.noarch Sat 07 Dec 2013 08:46:45 PM EST
foomatic-db-filesystem-4.0-38.20130604.fc19.noarch Sat 07 Dec 2013 08:46:45 PM EST
mozilla-filesystem-1.9-9.fc19.x86_64 Sat 07 Dec 2013 08:46:35 PM EST
dejavu-fonts-common-2.33-5.fc19.noarch Sat 07 Dec 2013 08:46:34 PM EST
telepathy-filesystem-0.0.2-5.fc19.noarch Sat 07 Dec 2013 08:46:33 PM EST
setup-2.8.71-1.fc19.noarch Sat 07 Dec 2013 08:46:32 PM EST
fontpackages-filesystem-1.44-7.fc19.noarch Sat 07 Dec 2013 08:46:31 PM EST