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.

This is my situation:

I Installed Ubuntu without a CD (using A USB)
Dual boot installation (Windows 7+Ubuntu)
I did not like the installation and decided to boot into Windows and delete the Linux partitions, but I forgot to fix the mbr from within Windows.

Now, when I boot, I am stuck in the GRUB rescue limbo.

How can I boot into Windows from GRUB rescue?

I cannot boot from CD because I don't have a CD drive, therefore the usual solutions (recovery CD etc) do not work.

Any hints? Is there a way I can maybe do this through a USB?

share|improve this question

2 Answers 2

Solution 1: Go to the edit mode and

root (hd2,0) 
chainloader (hd2,0)+1

Change to the appropriate HDD

Solution 2: Boot into linux and

sudo grub-install

This should scan and set an entry for each detected OS. Neither will work if you have deleted ntldr

share|improve this answer

You can use a software named boot repair for this :

Prepare a USB stick with Ubuntu live in it.

Boot with that stick.

Install Boot Repair program from internet on to the pen-drive and run the program.

Run the Program and fix MBR record

Detailed Steps to use, here : Using Boot Repair

share|improve this answer

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.
{"cc_re__cc_re__cc_by_sa_3_0": ["sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"//careers.stackoverflow.com?utm_source=stackoverflow.com&amp;utm_medium=site-ui&amp;utm_campaign=footerlink\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2014 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a>                   with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2014.10.22.1959\r\n            </div>\r\n                <div id=\"additional-notices\">\r\n                    Ubuntu and Canonical are registered trademarks of Canonical Ltd.\r\n                </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-w"], "copyright__copyright__copyright": ["e a software named boot repair for this :\n\nPrepare a USB stick with Ubuntu live in it.\n\nBoot with that stick.\n\nInstall Boot Repair program from internet on to the pen-drive and run the program.\n\nRun the Program and fix MBR record\n\nDetailed Steps to use, here : Using Boot Repair\n\nshare|improve this answer\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}