How to get the build date of LiveCD

Asked by arky

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

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu casper Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
- (uzf) said :
#1

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

Revision history for this message
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.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

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.

Revision history for this message
arky (arky) said :
#4

thanks!

Revision history for this message
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

Revision history for this message
arky (arky) said :
#6

Steve thanks you got it right!