How do I determine the UUID's of hard drive partitions?
I'm looking for a quick piece of code to look up UUIDs. I want to specify bootable partitions in Grub2. I have found
Code:
sudo blkid -o full -s UUID
but would like the output related to other information such as drive/partition volume, and if possible manufacturer and serial number. At the moment it simply returns a list of UUIDs related to dev (hd0,1 style).
Code:
sudo lshw -class disk
gives me most of what I want, if it could output UUID as well that would be great.
Last edited by bwallum; January 5th, 2010 at 11:41 AM.
Itch: Think Hula hoop, positive on top, negative on bottom, roll it. Is it a wave or a particle? Is it a photon? Is a photon a dipole? Are we all made of light!
Bookmarks