bug#38783: GPT case that parted can't handle

2019-12-28 Thread Jason Mancini
Install Windows to a 1TB drive but only partition the first 63GB. Most of the disk is empty. Clone the first 63GB to a 512GB drive. This misses the trailing GPT table. Windows will boot and run fine. Windows Disk Management is happy. But no Linux partitioning tool will touch this disk, or s

bug#38783: GPT case that parted can't handle

2019-12-28 Thread Nio Wiklund
Den 2019-12-28 kl. 23:18, skrev Jason Mancini: Install Windows to a 1TB drive but only partition the first 63GB.  Most of the disk is empty. Clone the first 63GB to a 512GB drive.  This misses the trailing GPT table.  Windows will boot and run fine.  Windows Disk Management is happy. But no

bug#38783: feedback

2019-12-28 Thread Jason Mancini
> Did you try to repair the backup partition table with 'gdisk'? > Best regards > Nio Nice, gdisk correctly handles the situation. Literally: gdisk, write, quit. Can we get parted and fdisk/cfdisk to be as clever, and not discard the first table because the second table is inaccessible? That's