[CentOS] Two partitions with samd UUID??

Tue Jun 16 10:30:17 UTC 2015
John Hodrien <J.H.Hodrien at leeds.ac.uk>

On Tue, 16 Jun 2015, Always Learning wrote:

> ON Centos 5, using GPARTED I created partitions for filing systems ext3
> and ext4. 4 primary and unlimited (except by space) extended partitions.
> That suggests those partitions are not GPT but old fashioned M$DOS

If it is old fashioned MSDOS, you can have four total primary and extended,
not four primary plus extended.  An extended partition then provides a
container for further logical partitions.

> I encrypted some of those partitions.
>
> The 'blkid' command produces a list of UUIDs for those partitions.
>
> A few examples:-
>
>> /dev/sda5: LABEL="a5u" UUID="3cbc7570-30b8-4970-a0df-a9a9602770d0" TYPE="ext4"
>> /dev/sda2: UUID="e954fbaa-dc51-46dc-a352-cceb439080e5" TYPE="crypt_LUKS"
>> /dev/ram0: UUID="49b98b86-116a-469b-b6de-a157bb0a12dd" TYPE="ext2"
>> /dev/sda1: LABEL="d6sys" UUID="cd632820-0701-4a6a-b329-6798b6a29966" TYPE="ext3" SEC_TYPE="ext2"

LUKS provides a UUID, so being encrypted isn't a barrier to having a UUID.

jh