I'm looking for equivalent of this command:
Code: Select all
parted -l | grep "Partition Table: "
I wrote a small python script in Manjaro, that i'm now porting here to MX, that check few logs for keywords such as "error', "failed"... and few other things. One of them is to check if OS is properly installed such as that partition table matches bios setting like this: BIOS+msdos or UEFI+gpt
I can check how is BIOS set with:
Code: Select all
test -d /sys/firmware/efi && echo UEFI || echo BIOS
Code: Select all
parted -l | grep "Partition Table: "