How old ist your Linux Installation?

tinfoil-hat

Active Member
Joined
Oct 24, 2021
Messages
187
Reaction score
90
Credits
1,347
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:
[email protected] [06:34:32] [~]
-> % stat -c %w /
2023-01-03 16:09:00.000000000 +0100
 


bob466

Well-Known Member
Joined
Oct 22, 2020
Messages
989
Reaction score
725
Credits
7,297
I installed Mint Cinnamon 21.1 in December 2022 as a clean install.
m1212.gif
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,642
Reaction score
7,598
Credits
35,389
Thanks for sharing, @tinfoil-hat :)

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

Code:
┌─[[email protected]]─[~]
└──╼ $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:
┌─[✗]─[[email protected]]─[~]
└──╼ $sudo tune2fs -l /dev/sdc12 | grep 'Filesystem created:'
[sudo] password for chris:
Filesystem created:       Wed May 10 16:00:24 2023

Cheers

Wizard
 

Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
4,029
Reaction score
2,718
Credits
30,025
I upgraded the ram and main drive on this machine and did a fresh installation of LMDE

[email protected]:~$ stat -c %w /
2023-02-22 12:24:11.000000000 +0000

 

kc1di

Well-Known Member
Joined
May 14, 2021
Messages
1,632
Reaction score
1,442
Credits
11,775
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.
 

Terminal Velocity

Active Member
Joined
Oct 13, 2021
Messages
306
Reaction score
201
Credits
2,191
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
 

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
9,093
Reaction score
7,713
Credits
74,241
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.
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top