I’m looking for a way to determine the date of installation of a SuSE 10 Enterprise server. I have discovered the /boot/backup_mbr file which provides a pretty good bet, but if the partition table has been changed since installation, I doubt this file is a reliable source. Is there a more definitive marker for the installation date?
If you had the checkbox at the end to create a “Clone of your system”
for AutoYast you could look at the date/time on your /root/autoinst.xml
file (assuming time was set properly when you did your installation,
which is required for anything host-based to be accurate of course).
Good luck.
jverhoev wrote:
> I’m looking for a way to determine the date of installation of a SuSE 10
> Enterprise server. I have discovered the /boot/backup_mbr file which
> provides a pretty good bet, but if the partition table has been changed
> since installation, I doubt this file is a reliable source. Is there a
> more definitive marker for the installation date?
>
> JVerhoev.:
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
Maybe you can look at the date of the earliest RPM package to be installed?
rpm -qa --last | tail -1
which in my case turns out to be:
kde4-kdm-branding-openSUSE-11.0-74.2 Tue 10 Jun 2008 22:32:58 EST
though this is probably just accidental as lots of other packages were installed practically the same time and it looks like the sort goes only to one-second resolution.
There ought to be a better way than having to tail -1 the output of rpm but I don’t see it offhand.