GNU bug report logs - #33607
Partition list loop

Previous Next

Package: parted;

Reported by: Paul Ausbeck <paula <at> soe.ucsc.edu>

Date: Tue, 4 Dec 2018 06:22:01 UTC

Severity: normal

Full log


Message #8 received at 33607 <at> debbugs.gnu.org (full text, mbox):

From: Paul Ausbeck <paula <at> soe.ucsc.edu>
To: 33607 <at> debbugs.gnu.org
Subject: Recovered from partition list loop
Date: Wed, 5 Dec 2018 15:14:07 -0800
When I posted the original problem I was sort of hoping to get some recovery advice. However, I've now recovered the partition table and I'm now posting just to further document my experience. I'm now thinking that the bug I encountered is likely in the fdisk program, but I still think that parted/partprobe could be improved to better handle loops in the partition table.

To recover, I booted the system from a USB stick. At this point the disk partition table was still hosed and there were 255 associated devices, sda1 - sda255 in /dev. parted would still not print the hosed partition table, but bailed out as described previously. However, fdisk would print the table, but somehow saw only, I can't remember exactly, maybe 45 or 54 partitions. On a lark, I used fdisk to delete the extra partitions and wrote the edited table. Upon reboot, the disk was whole again with the correct/expected partition table in disk order. Go figure.

Cheers, Paul Ausbeck




This bug report was last modified 6 years and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.