How old ist your Linux Installation?

tinfoil-hat

Active Member
Joined
Oct 24, 2021
Messages
301
Reaction score
157
Credits
2,111
Hi, since there are much Distrohoppers and people messing up their installations and starting over or made a new install because a new version came out; I wonder how old your Filesystem / Installation is. For Example, I stopped Distrohopping, settling with Linux Mint

How to check the age?
stat -c %w /

Result?
Code:
anon@navi [06:34:32] [~]
-> % stat -c %w /
2023-01-03 16:09:00.000000000 +0100
 


I installed Mint Cinnamon 21.1 in December 2022 as a clean install.
m1212.gif
 
Thanks for sharing, @tinfoil-hat :)

I am currently running updates in Parrot Home MATE and for that I get

Code:
┌─[chris@ParrotMATE-WD]─[~]
└──╼ $stat -c %w /
2023-05-10 16:00:24.000000000 +1000

You can also use (if currently in the subject partition)

Code:
sudo dumpe2fs $(mount | grep 'on \/ ' | awk '{print $1}') | grep 'Filesystem created:'

... but @tinfoil-hat 's method is a lot shorter, and easier to remember.

I am a multi-multi-booter, and sometimes I need to check when I installed a different distro on a different drive.

For The Viewers, one way of doing this is as follows:

Code:
sudo tune2fs -l /dev/sdxy

Where x is the device indicator, and y the partition number, so for me

Code:
┌─[✗]─[chris@ParrotMATE-WD]─[~]
└──╼ $sudo tune2fs -l /dev/sdc12 | grep 'Filesystem created:'
[sudo] password for chris:
Filesystem created:       Wed May 10 16:00:24 2023

Cheers

Wizard
 
I upgraded the ram and main drive on this machine and did a fresh installation of LMDE

brian@the-answer-42:~$ stat -c %w /
2023-02-22 12:24:11.000000000 +0000

 
Code:
[flip@debian ~]$ stat -c %w /
2018-12-02 12:27:28.000000000 +1100
 
The current distro PClinuxOS has been in uses for 4 years. But I regularly install, reinstall and upgrade many other distros to get a feel for how they all work. So it varies some only on here for a few days others longer.
 
It says 1-1-2022 but it is not accurate, this installation began with the release of Debian 11.1, August of 2021 if I'm not mistaken. It runs very smooth to this day
 
I'm using an older Linux Mint device right now. I bought it and installed Mint on it. I haven't done a darned thing with it since then. It should be updated, but I think I still have time to do that.

Code:
sudo dumpe2fs $(mount | grep 'on \/ ' | awk '{print $1}') | grep 'Filesystem created:'
dumpe2fs 1.45.5 (07-Jan-2020)

I'm gonna put updating it on my list of stuff to do. The only other Mint system I have is an old LMDE4 system that is getting long in the tooth. I'm pretty sure it'll need to be upgraded to LMDE5, but I've not kept up with that. This is not unusual for me. To move from Lubuntu 18.04 to 20.04, I waited until the last possible day to upgrade a couple of systems. I'd been testing the new version, I just wasn't using it.
 

Members online


Latest posts

Top