I don't think this is going to be trivial. There doesn't seem to be a documented BIOS interrupt that reads this information. You can get it from the WMI running under Windows XP, but with Linux running you'll either have to access a similar facility for that OS (I'm not a Linux guy), or go to memory and get the data yourself.
Here is an article that discusses where the string is:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.