Hacker News new | ask | show | jobs
by travisby 1665 days ago
> so throwing a Hail Mary and simply resizing the partitions back to their exact original sizes

I've made similar mistakes (well, the same effect, but for different reasons. I thought I was over a remote session when I was local and made an entire new partition layout).

`testdisk` was able to introspect what partition boundaries _were_ and rebuild the partition table.

If you're ever in a similar situation and either don't remember the exact boundaries or don't trust yourself to recreate them, check it out!