A simple command-line utility to read information from gpt partitioned disks on linux.
- Download a recent version from releases or build from source.
- Make it executable:
chmod 555 simple-gpt-reader
- Run it and specify the device, for example to read partition information from
/dev/sdb
run:./simple-gpt-reader /dev/sdb
If you can't open the device you might not have permissions to access the block device.
In that case try running the command as sudo
.