Bug ID 946673
Summary yast partitioner fails with gpt not using complete disk and broken backup table
Classification openSUSE
Product openSUSE Distribution
Version 13.2
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component YaST2
Assignee yast2-maintainers@suse.de
Reporter aschnell@suse.com
QA Contact jsrain@suse.com
Found By ---
Blocker ---

The YaST partitioner fails performing actions (e.g. create a partition)
when the disk has a GPT not using the complete disk and the backup
table is broken.

The function Disk::enlargeGpt() is too simple for this scenario since
the interactive parted first expects a "OK" and then a "Fix".

Steps to reproduce:
- truncate --size 1GiB image
- parted -s image mklabel gpt
- dd if=image of=/dev/sdb bs=1M count=1
- create partition on sdb in YaST


You are receiving this mail because: