Is there a command to get the GUIDs of all the partitions on either your PC or at least on one hard drive?
I'm aware you can use
sudo gdisk /dev/sda
to get an interactive mode where you can specifiy
i
then the partition #
to get the GUID of that one, single partition--one partition at a time.
But is there a command to print a listing of all partitions on that disk w/their GUIDs? or for all partitions on all disks detected on the PC? I googled and haven't given up but am not spotting anything, not even @ Rod Smith. It's not a big deal, but would be convenient when messing or experimenting with several partitions.
I'm aware you can use
sudo gdisk /dev/sda
to get an interactive mode where you can specifiy
i
then the partition #
to get the GUID of that one, single partition--one partition at a time.
But is there a command to print a listing of all partitions on that disk w/their GUIDs? or for all partitions on all disks detected on the PC? I googled and haven't given up but am not spotting anything, not even @ Rod Smith. It's not a big deal, but would be convenient when messing or experimenting with several partitions.
Comment