I tried to install Linux (Mint distro) on my laptop computer after recieving a secondary disk. After installing Mint, I just rebooted the system.
Nothing was happening (Actually, I was getting a message, from BIOS I guess, saying "No bootable disk" or something similar).
So then I tried to boot on an Arch pendrive, but I was getting a blackscreen. I changed BIOS mode to legacy (from UEFI), and added
nomodeset to boot cl in Grub (and
vga=0x37F for comfort). I was finally booting on something.
I did a
fdisk -l and found that there was no Windows partition table. However, I have no idea why Mint wasn't booting as I had Linux Partitions.
I then did
testdisk /dev/sda (where sda is my Windows disk), chose
EFI GPT, Analyze. My partition seemed like retrieved, so I chose each of it and wrote. After rebooting, on testdisk, only ESP and recovery partition were there.
I then started to re partition my
/dev/sdb to install Linux.As I wanted to format my partitions, I did a
mkfs.ext4 on sda1 and sda2 instead of sdb1 and sb2.
Is there anyway to retrieve my Windows system (At least my data, as I didn't format data partition, only ESP and recovery).