Messed up Win 10 installation with Linux installer
I had a Windows 10 installation working (for months), and wanted to make another partition to boot a Linux distro from. The Linux installer requires manual partitioning. I've tried most of the following both with the partition as unallocated and formatted as Ext2 or Ext4.
While in Manujuro-KDE Linux Installer (Calamares), I discovered that it wouldn't accept that new partition to progress to the next step, including after making the Ext4 partition an extended partition with Ext4 + /boot/efi + esf + settings. I did not figure out a way to proceed.
I rebooted to Windows 10, well, tried to boot to Windows 10, but my UEFI couldn't find an operating system. Booting from a Windows 10 Installation Media (USB), none of the troubleshooting features worked, including "upgrading" the install with new files, but when I try to Install Windows 10 fresh (not deleting the files) I am told that:
Windows cannot be installed on this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks.
Presumably the installer did something "special" that I did not intend. I would call it a day and wipe the hard disk, except that I can boot to a command prompt and directory listing shows all the files there just fine.
What does the Windows 10 installer erroneously think about that SSD partition now? How can I fix it?
Posted Jul 2, 2019, 7:26 PM UTC · edited
Am I understanding correctly all this happened on a single disk? You used the Linux installer and tried to modify the partition scheme on a disk that already had been formated GPT with at least one parition dedicated to Windows? If you attempted to modify the partitioning scheme you have likely wiped the partition table.
You cannot simply resize a Windows partition within the Linux installer without data loss and making the existing installation irretrievable. Also, if you are formatting an existing GPT disk as MBR that too would immediately wipe the existing partitioning scheme of the disk as that is a disk wide operation. At this point the only option is data recovery with a forensic file carver and a fresh operating system install.
From Windows I had a 660 GB partition and 250 GB unallocated on a 1 TB SSD. From Linux I only was trying to change the 250 GB to something I could install Linux on. I also tried this with the 250 GB allocated as a partition formatted to Ext2 (formatted from Windows). (Calamares didn't know how to.)
If you really want to know if you deleted your data, you could just as easily boot back into the Manjaro disk and attempt to read it.