I had Linux installed but decided I didn't want it. So I deleted the partition that contained Linux in Windows 10. And when I turn my pc on it comes to the grub command line. I am trying to figure out how to boot from usb so I can fix it in Windows 10. Please help. Thanks.
-
3Possible duplicate of How do I remove "Ubuntu" in the bios boot menu? (UEFI) – David Foerster Dec 06 '15 at 03:00
-
I would suggest it the other way round @David Foerster because the answer there isn't a very permanent fix and may cause issues when reinstalling Ubuntu later. – Ashhar Hasan Dec 06 '15 at 03:22
1 Answers
Pro way:
Boot into a Windows repair disk or Windows installer disk (your flash drive will do, you just need to make it bootable. I suggest using the Media Creation Tool)
Once you're booted, you should see a window. If not, proceed to step 3. Configure keyboard and language.
It should prompt you to install Windows (Install Now button). Instead of proceeding, you should see "Repair computer" or something on the lower left corner of the window.
You should see a menu. Go to command prompt
(Troubleshoot -> Advanced options -> Command prompt)
.Run
bootrec /fixmbr
Reboot. If it doesn't, leave a comment.
Lazy way (Recommended):
Follow steps 1 to 3 above.
Go to
Troubleshoot -> Advanced options -> Startup repair
Let it do its thing while you cross your fingers.

- 294