Results 1 to 8 of 8

Thread: Installation date

  1. #1
    Join Date
    Apr 2012
    Location
    Philippines
    Posts
    218

    Default Installation date

    Just a quick question here,

    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


  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,640
    Blog Entries
    3

    Default Re: Installation date

    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.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Installation date

    /var/log/zypp/history
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #4
    Join Date
    Apr 2012
    Location
    Philippines
    Posts
    218

    Default Re: Installation date

    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


  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Installation date

    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.
    I don't know
    And I doubt it
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6
    Join Date
    Sep 2012
    Location
    Germany
    Posts
    254

    Default AW: Re: Installation date

    Quote Originally Posted by golson765 View Post
    Now here is another question - is there a way to find out the date on which I partitioned the hard drive on my laptop?
    If your filesystem is ext4[3,2] it is simple to find out when a filesystem was created.
    Code:
    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.
    zypp it...

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Installation date

    On 2013-03-12 06:56, caf4926 wrote:
    >
    > /var/log/zypp/history


    Or the timestamp of the first line in the older /var/log/messages*gz
    file, assuming it has not rotated out.

    Or the timestamp of the file /etc/SuSE-release

    There are several places, check them all, and if they match, you got it :-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  8. #8
    Join Date
    Sep 2012
    Location
    Germany
    Posts
    254

    Default AW: Re: Installation date

    Quote Originally Posted by robin_listas View Post
    Or the timestamp of the file /etc/SuSE-release
    I doubt that.
    Code:
    ls -l /etc/SuSE-release
    -rw-r--r-- 1 root root 56 29. Aug 2012  /etc/SuSE-release
    And I installed this version on the current running system at 2012-11-16
    Code:
    tune2fs -l /dev/sda2 | grep "Filesystem created"
    Filesystem created:       Fri Nov 16 12:59:21 2012
    The timestamp of /etc/SuSE-release is even earlier than the release date.
    Quote Originally Posted by https://en.opensuse.org/openSUSE:Roadmap
    openSUSE 12.2 has been released on Wednesday, September 5th 2012.
    zypp it...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •