How to get the build date of LiveCD

Asked by arky on 2009-07-27

How do I get build date of a LiveCD. Is there command like 'lsb_version' or 'uname -a' ?

Question information

English Edit question
Ubuntu casper Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Knuth Gurkasch (sinn3r) said : #1

Maybe via 'ls -l' at a dir on the lve cd?

arky (arky) said : #2

That's a good idea Sebastian.

However I would like to find the build string similar to output of 'lsb_release -a' command. I want attach this information to my bug rports of daily builds.

I don't think you will find that. You could analyse the dates that the init or kernel image was created and/or last modified which will tell you, but its essentially the same as what Seb suggested.

I believe there may be a text based file in the root of the CD that may give clues.

arky (arky) said : #4


Steve Kowalik (stevenk) said : #5

Looking at a UNR I have loopback-mounted on /mnt gives this file:

steven@liquified:~% cat /mnt/.disk/info
Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Alpha i386 (20090812.4)

That tells you the build date, and which release it is, the only thing it doesn't tell is the kernel version. The only way I can think of to do is:

steven@liquified:~% strings /mnt/casper/vmlinuz | grep Ubuntu
2.6.31-5-generic (buildd@palmer) #24-Ubuntu SMP Sat Aug 1 12:48:18 UTC 2009

arky (arky) said : #6

Steve thanks you got it right!