use UUID=0 for "boot partition", e.g. in fstab
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Any version, any release and probably any distribution.
Update:
Please please please read the title of this report and see that this report is not (only) related to Gparted but to UUID=0 being an alias of the UUID of the partition in which that reference appears.
The Gparted side of the story turns out to be bug #737387.
Completely restated, finally.
--- EOE ---
When the UUID of a partition is changed, e.g. during backup, UUID=... references to it become invalid. Remembering that, finding and editing these references is not easy to do for the novice, let alone geek. But in most cases those references (mostly in fstab) are to the UUID of the partition they're in.
Hence, if coding UUID=0 meant "the booting partition", "the partition we're in", "this partition", "myself" ... by convention, there would rarely be any need to change any UUID references in a boot partition. Copying such a partition with UUID rename would keep the partition bootable instead of dead. Moreover, any references made by a boot partition to other partitions are usually meant to remain unchanged when the boot partition is "renamed".
Note: UUID=1 could also mean "any swap partition" or "the sole swap partition" on this disk.
In consequence, with UUID=0/1 and if Gparted changing the UUID by default (which it does not (1)) when copying a boot partition, making a safety backup of one's system disk would be a seamless process instead of a pile of warnings and surprises.
(1) By default, Gparted creates partitions with the same UUID and, among other system's anomalies, traps itself into believing that one partition is locked when another one should be locked instead.
summary: |
- use UUID=0 + use UUID=0 for "this partition" |
description: | updated |
affects: | ubuntu → gparted (Ubuntu) |
summary: |
- use UUID=0 for "this partition" + use UUID=0 for "this partition", e.g. in fstab |
description: | updated |
affects: | gparted (Ubuntu) → ubuntu |
description: | updated |
summary: |
- use UUID=0 for "this partition", e.g. in fstab + use UUID=0 for "boot partition", e.g. in fstab |
Thank you for "affecting" this report.
Please notice that using UUID=0 as an alias of a real UUID is not a GParted matter but one of some disk management component.
Gparted renaming an UUID is only part of the whole story and you may want to open an additional bug for it with the same text, one just flips the coin.