0

Tried installing Windows 10 on a PC that has Ubuntu 16.04 installed. Ubuntu uses LVM and had /boot and /boot/efi partitions as separate disks. After i succesfully freed up some space (100Gb) for Windows, i tried to install it and failed after selecting free space for Windows installing. Backed up both /boot and /boot/efi folders, removed both partitions (except LVM ubuntu partition) and tried installing Windows again at the same place with Windows saying that my efi partition is in NTFS. So now i can't boot up, because i have no efi partition at all. How do i install windows in that state?

  • How did you freed the 100GB space? What exactly have you deleted? – user692175 Sep 10 '17 at 21:47
  • I freed up some space by shrinking /root in sda3 LVM partition. I deleted sda1 (/boot/efi) and sda2 (/boot) – TheK0tYaRa Sep 11 '17 at 11:35
  • You do realize that you made Ubuntu unbootable, and that you need to use LVM tools to shrink LVM, don't you? Yes, first you need to shrink partitions inside the volumes but then shrink the volume itself otherwise it won't have unallocated space to install other OS. You recovered at most some hundreds megas by deleting the ESP and /boot (and those WERE necessary). – user692175 Sep 11 '17 at 16:34
0

I've seen similar reports elsewhere. Apparently Windows, or at least the Windows installer, sometimes misdetects a Linux-created ESP as being NTFS. My suggestion is to back up the ESP, create a fresh FAT32 filesystem on it, restore its contents, and try again. (Be sure it's FAT32, not FAT16. Depending on the filesystem size, you may need to set this explicitly with the -F option to mkdosfs.) You'll need to edit /etc/fstab to adjust the "UUID" (really a serial number) associated with /boot/efi to get it to mount properly in Ubuntu when this is done.

If this fails, try this one more time, but this time, create the filesystem on the ESP using a Windows emergency disk. This may require jumping through some extra hoops, but I don't know the details of what you'd need to do, since I'm not familiar enough with the Windows tools.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.