Hi there! I guess we're talking about these
https://h-node.org/wiki/page/en/Discover-your-hardware
Yes you can run those commands off a live media. I'm not sure if dmidecode
and hwinfo are installed by default so you might need to do that first which
requires an internet connection. Also, you incidentally need to run both
those commands as root.
Note that the results are to be taken with a grain of salt as if you've
previously booted a proprietary OS it might have ran some proprietary
firmware to enable some device, so set your computer to boot off your live
media and then switch the device off, wait for a moment for the hard disk to
come to halt (if it's got one) and then restart.
On the other hand if you find some device does not work, it might be possible
to get it work, e.g. the radeon kernel module is blacklisted because newer
radeon cards requiring a proprietary firmware will not work and will then be
using the crappy vesa driver. However older radeon cards will work once you
remove the radeon blacklisting...
This hardware detection tool might also come handy. If you have 1337 skillz
you could even include it on a live Trisquel media. http://hdt-project.org
Have fun!