I had Ubuntu dual booted with UEFI in my disk and I accidentally deleted that partition. I am still in Windows and haven't shut it down.
Is there any way to fix this?
I had Ubuntu dual booted with UEFI in my disk and I accidentally deleted that partition. I am still in Windows and haven't shut it down.
Is there any way to fix this?
Use EasyBCD: (http://neosmart.net/EasyBCD/)
Under BCD backup/repair, go to BCD management option, and select Re-create/repair boot files and click perform action.
This will wipe GRUB and doing this you cannot go to Ubuntu anymore.
OPTION 2 (thx @NathanOsman): LIVECD/or USB
You have to sign the waviers and leave Windows. Make sure you have a liveCD!
Boot from it and select "Try ubuntu without installing."
Now there are 2 steps
STEP 1: if you have removed linux-swap partition
sudo apt-get install gparted
)STEP 2: Boot Repair (docs are here, https://help.ubuntu.com/community/Boot-Repair) Open a freshly baked Terminal session and put this down.
(one line before the other)
Now the thingy should appear and click RECOMMENDED REPAIR.
STEP 3: REINSTALL
If else fails: try reinstalling Ubuntu. Easy as pie.