Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Okay so like 2 days ago I installed Ubuntu on my hp nootbook dm1 (it has no cd-drive). Then, today i deleted my linux partiton (not knowing about grub bootloader) and it just boots fine into windows now, no problems, but if i just startup my computer it says ''pres escape to go to bootsetup" (or something like this) when i do this i can chose from the optrions, "startop whit os maneger'', "startup from notebook harddrive", when i jsut pick os manneger it just does it job and boots in to windows, but when i click on ''startup from notebook harddrive'' i get the grub error, is there just any whay i just can delete grub? beacause my computer boots fine when i don't pres escape and select starup from harddrive. And maybe in the future i wanna install ubuntu again, does this mean i have to unistall grub first and then reinstaal ubuntu?

thanks for helping me out!

share|improve this question
add comment

1 Answer 1

Boot from a Windows7 or Windows8 DVD, go to Repair Now -> TroubleShoot -> Command Prompt then type the following two commands:

bootrec /fixboot
bootrec /rebuildbcd
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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