Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

Your Answer


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.