I was running a dual-booted Ubuntu/Windows 8.1 PC. I deleted my Ubuntu partition so I could install Arch, but in doing so I also accidentally messed up Grub and deleted my Windows EFI partition. I spent some time trying to restore the EFI partition, but I'm wondering if I could fix all of this by reinstalling Grub. Is reinstalling Ubuntu the easiest way to fix this? I can't reformat the drive because I have important work there that I can't lose.
I'm at school right now so I won't be able to post any logs until around 3:30 CST. Any advice would be greatly appreciated.
Edit: My problem extends beyond deleting Ubuntu. I accidentally messed up my windows filesystem and now it won't boot. It starts up and says there is no OS. I believe the best way to fix this would be to reinstall Grub but I need some confirmation of this.
sudo fsck -t vfat /dev/sda1
if in Ubuntu. If sda2 change command to correct partition. If neither work you can backup, delete, recreate with gparted as FAT32 and add boot flag to make it the ESP again. Then restore all efi boot folders. – oldfred Aug 21 '15 at 19:56