How to find the UUID of a disk drive in Linux

There are two ways I know of which will print the UUID of all disk drives attached to the current system:


The UUID is required to permanently mount specific disk drives in /etc/fstab.

About Jay Versluis

Jay is a medical miracle known as a Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

Add your voice!