Does anyone know how to determine the actual date and time that one
originally installed an operating system?
I installed openSUSE 12.2 (clean install) sometime back in August or
September. I would like to record the actual date.
My /var folder shows adate of August 25, 2012when I type ls-l. But I
don’t know if that is the actual creation date, and if it is, was it the
date the folder was created at the factory before I installed 12.2, or
is it the date I installed 12.2?
Is there a better way to figure this out?
–
G.O.
Box #1: 12.2 | KDE 4.9.2 | AMD Phenom IIX4 | 64 | 16GB
Box #2: 12.2 | KDE 4.9.1 | AMD Athlon X3 | 64 | 4GB
Laptop: 12.2 | KDE 4.9.2 | Core i7-2620M | 64 | 8GB
learning openSUSE and loving it
Some of the oldest files in “/var/log/YaST2” will be install logs. Look at the oldest y2log-* and there will probably be other files with a similar time/date.
I’m not sure about install from a live KDE or Gnome, as some of the logs might be for preparing the live system.
On 03/12/2013 01:46 PM, nrickert wrote:
> Some of the oldest files in “/var/log/YaST2” will be install logs. Look
> at the oldest y2log-* and there will probably be other files with a
> similar time/date.
>
> I’m not sure about install from a live KDE or Gnome, as some of the
> logs might be for preparing the live system.
>
>
Ok, that is great. I found out what I needed to know on the installation
of my upgrade.
Now here is another question - is there a way to find out the date on
which I partitioned the hard drive on my laptop? I set up new partitions
on it when I first got it before installing my operating systemso that I
could run dual boot with Windows 7 and openSUSE.
–
G.O.
Box #1: 12.2 | KDE 4.9.2 | AMD Phenom IIX4 | 64 | 16GB
Box #2: 12.2 | KDE 4.9.1 | AMD Athlon X3 | 64 | 4GB
Laptop: 12.2 | KDE 4.9.2 | Core i7-2620M | 64 | 8GB
learning openSUSE and loving it
Now here is another question - is there a way to find out the date on
which I partitioned the hard drive on my laptop? I set up new partitions
on it when I first got it before installing my operating systemso that I
could run dual boot with Windows 7 and openSUSE.
If your filesystem is ext4[3,2] it is simple to find out when a filesystem was created.
tune2fs -l /dev/sdaX | grep "Filesystem created"
…where X is the number of the partition. That is also the simplest way to find out the date of installation, because before installation the partition will mostly be formatted.