-1

This question already has an answer here:

My laptop originally came with Windows 8, a while back I tried to install Ubuntu, but it didn't work so I just deleted everything. Today I did a factory reset on my laptop because I am going to sell it, but when I boot it boots to a black screen that says "GNU GRUB version 1.99-21ubuntu3.1" followed by a bunch of text. To access Windows 8 I have to hold down f11 on boot where I get the option for windows boot manager. I want to make Windows 8 the default, how to I get rid of this "ghost" ubuntu?

marked as duplicate by Eliah Kagan, Mitch Aug 1 '14 at 7:29

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.

  • Is system set for UEFI boot? If Ubuntu was installed in UEFI mode you have to also delete ubuntu folder in efi partition and entry in UEFI. Details here: askubuntu.com/questions/63610/… – oldfred Aug 1 '14 at 4:05
0

Welcome to askubuntu.

Use windows8 cd or live usb and go to windows repair. Select repair using cmd or command prompt. At command prompt type the below commands.

Bootrec/fixmbr

Bootrec/fixboot

Restart windows normally.

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