0

This question already has an answer here:

I was experimenting with Ubuntu on a Win 10 system using a dual boot set up. Somehow my Ubuntu got corrupted and I follow the directions on a YouTube video about removing it and the partition. However, I neglected, and I use that word sparingly, to delete grub. Upon realizing my mistake, I tried rebooting the system but now is says: "error: no such partition Entering rescue mode... grub rescue>

Is there a way to get to boot to Win10 from here? Alternatively, I have a DVD with the Ubuntu 18.04 and would like to load that somehow.

Any guidance would be greatly appreciated.

marked as duplicate by guiverc, karel, Kulfy, Fabby, Thomas Jul 14 at 11:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Your issue is best fixed by windows 10 now, as Ubuntu will restore grub to the probably deleted Ubuntu partition. In your case you want windows to own grub (or the MBR, grub stage 0) so it points to the windows partition to continue boot - which should be done in windows using bootsect. We don't support windows though (ideally this should have been done prior to deletion of Ubuntu partition; but too late now). You should be able to enter commands into grub-rescue to chainload to your windows 10 system - but I see that as off-topic thus I've provided clues only. – guiverc Jul 8 at 1:47
  • 1
    If system came with Windows 10 then it is UEFI and all you have to do is go to UEFI boot menu, often f10 or f12 but varies. Should be same key as you used to select Ubuntu live installer originally. If BIOS with MBR partitioning, you have to restore a Windows boot loader to MBR. Best to use your Windows repair disk & fixMBR. – oldfred Jul 8 at 3:37

Browse other questions tagged or ask your own question.