On Mon, 2015-06-15 at 21:41 -0500, Robert Nichols wrote:> Non-GPT partitions do not have a UUID. The _content_ (filesystem, > LVM physical volume, non-encrypted swap space, etc.) of such a > partition could have a UUID, but the partition itself does not.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 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"-- Regards, Paul. England, EU. England's place is in the European Union.
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$DOSIf 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
On Tue, 2015-06-16 at 11:30 +0100, John Hodrien wrote:> 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.Yes you are correct. Maximum 4 primary or maximum 3 primary and 1 extended which is then sub-divided into more partitions.> LUKS provides a UUID, so being encrypted isn't a barrier to having a UUID.But my point was M$ DOS partitions, not being GPT partitions, can have UUIDs. The original poster appeared to suggest that was not possible. He wrote> > Non-GPT partitions do not have a UUID. The _content_ (filesystem, > > LVM physical volume, non-encrypted swap space, etc.) of such a > > partition could have a UUID, but the partition itself does not.When I think I am mounting a M$ DOS partition, am I mounting a real partition or merely 'the file system' within that partition ? Some may think one can't have one without the other. -- Regards, Paul. England, EU. England's place is in the European Union.
Am 16.06.2015 um 12:23 schrieb Always Learning <centos at u64.u22.net>:> On Mon, 2015-06-15 at 21:41 -0500, Robert Nichols wrote: > >> Non-GPT partitions do not have a UUID. The _content_ (filesystem, >> LVM physical volume, non-encrypted swap space, etc.) of such a >> partition could have a UUID, but the partition itself does not. > > 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 > > I encrypted some of those partitions. > > The 'blkid' command produces a list of UUIDs for those partitions.these are the ids of the filesystems. -- LF
On 6/16/2015 3:23 AM, Always Learning wrote:> The 'blkid' command produces a list of UUIDs for those partitions.those are the UUID's of the file systems contained in the partitions, which is NOT the same thing as the UUID that GPT uses to identify the partition itself. -- john r pierce, recycling bits in santa cruz