From: Raymund Will Subject: Don't let '--write-signature' overwrite unique signatures. References: bnc# Using '--write-signature' on an MBR-partitioned disk always overwrites the previous signature, even if it was already unique. While not using GPT is against the spec, it still works most of the time. The issue is, that excessively writing new entries to NVRAM (and incidentally breaking all old references to the partition in question) was found to bring trouble to certain systems. Signed-off-by: Raymund Will --- src/lib/disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/src/lib/disk.c +++ b/src/lib/disk.c @@ -353,7 +353,7 @@ msdos_disk_get_partition_info (int fd, l printf("******************************************************\n\n"); } - else if (opts.write_signature) { + else if (!mbr->unique_mbr_signature && opts.write_signature) { /* MBR Signatures must be unique for the EFI Boot Manager