On 11/3/22 10:14, Ottavio Caruso wrote:
On Tue, 1 Nov 2022 at 12:27, Ottavio Caruso naively wrote:
...
This is how it looks from Debian:
Device Start End Sectors Size Type
...
/dev/sda6 223012864 877277183 654264320 312G Microsoft basic data
...
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.
IF you happen to know where the start and end of that FAT32 partition
is, i.e., an old OpenBSD fdisk or disklabel output, you can create
a new partition of the same type in that exact location and your data
will Just Be There, though getting it out of a laptop would be a bit
tricky.
Looks like you have the info from your linux install. I'd suggest
practicing on something else with whatever tools you have, I am
pretty sure OpenBSD won't "help" you by doing anything to the newly
(re)created partition, but I can't make promises about any other
tool. I really can't make promises about OpenBSD, I haven't
tried doing this in a while.
Now repeat after me: multibooting is hard. Never do it on a system
that you aren't prepared to completely reload...
Nick.