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.

I had a laptop with windows 7 and linux operating systems. but i deleted the drive where linux is installed when operating in windows os. Now i am getting grub rescue> I need to enter the windows os without this grub interruption, I also need the commands to be entered in grub rescue>. I want this done without losing the windows 7 os and files in the hard disk.

share|improve this question
    
Possible duplicate: askubuntu.com/questions/119597/… –  chronitis Nov 6 '13 at 10:49
add comment

2 Answers 2

Download boot-repair live disk from here .And make it bootable through usb.
After booted up click on Recommended repair option,it will reinstall your grub.You won't loss any windows files during this operation.

share|improve this answer
add comment

You've deleted the installation folder /boot/grub when wiping your linux partition. However, grub is still written in the MBR. If you want to get rid of grub ultimately, you need to install the Windows bootloader and overwrite your MBR. You can do this using a windows 7 boot medium. If you don't have one, i think there are some windows rescue images on the internet, which should work as well.

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.