How can you determine the version of OS X on a machine that doesn't boot?

Solution 1:

man sw_vers | tail shows you the file you need to look at, namely:

/System/Library/CoreServices/SystemVersion.plist
/System/Library/CoreServices/ServerVersion.plist

When you cat those files, you learn what you need to know.