Thursday, November 03, 2022

Can I undo OpenBSD GPT partition table and recover my data? was: Triple booting Windows/Debian/OpenBSD?

On Tue, 1 Nov 2022 at 12:27, Ottavio Caruso naively wrote:
> I have some spare space on my laptop (a rubbish Thinkpad E130) that was
> originally meant for NetBSD, but I gave up on it due suspend/resume not
> working.
>
> This is how it looks from Debian:
>
>
> Device Start End Sectors Size Type
> /dev/sda1 2048 1023999 1021952 499M Windows recovery environment
> /dev/sda2 1024000 1226751 202752 99M EFI System >>> [EFI
> partition]
> /dev/sda3 1226752 1259519 32768 16M Microsoft reserved
> /dev/sda4 1259520 51845119 50585600 24.1G Microsoft basic data
> /dev/sda5 51845120 124938239 73093120 34.9G NetBSD FFS
> /dev/sda6 223012864 877277183 654264320 312G Microsoft basic data
> /dev/sda7 206057472 223012863 16955392 8.1G Linux swap
> /dev/sda8 877277184 976773119 99495936 47.4G Linux filesystem >>>
> ]Debian /home partition]
> /dev/sda9 124938240 206057471 81119232 38.7G Linux filesystem >>>
> [Debian / root]
>

So I officially joined the club of idiots who don't back up their
partition table. I wanted to install OpenBSD to free space, instead I
must have overwritten the partition table (hopefully not formatting
the drive because I aborted soon after realizing the mistake). I have
attached two screenshots.

I don't mind reinstalling Windows and Linux but I have a 350GB fat32
partition with tons of videos and books that I'd like to recover.

I have tried using testdisk from cgsecurity but it cannot recover that
particular partition.

Any help will be appreciated.

--
Ottavio Caruso

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

No comments:

Post a Comment