LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2013, 11:32 AM   #1
Mycroft9
LQ Newbie
 
Registered: May 2013
Posts: 1

Rep: Reputation: Disabled
Grub rescue problem.


Hello,

I've dual booted Ubuntu and windows for a while now but I no longer wanted to use Ubuntutu. I deleted the Ubuntu partition and then when I tried to reboot the computer I couldn't access it as I had the grub rescue error...

Here's my question though, how do I get rid of grub rather than fixing it? S that it loads straight to windows 7 so I can install a different distro at a later date. There's multiple partitions on my machine and I only deleted one so I think that is thenubuntu files but grub is elsewhere and deleting Ubuntu has caused this issue?

I've got access via booting a lightweight distro from a CD. Please help!
 
Old 05-12-2013, 01:02 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
That's a common problem. Grub has it's first stage in the MBR along with the partition table, and the remainder of grub is in the Linux partition. When you delete Linux, the first stage of grub can't find the remainder of its files, and you get an error message.

Here is a thread with instructions on how to fix the problem using Ubuntu as a livecd:http://ubuntuforums.org/showthread.php?t=622828

It refers to a application called ms-sys, which I gather is no longer available in Ubuntu. However, in a search for the .deb of ms-sys, I found a source for 32 and 64 bit versions, as well as the source code to compile it:http://forums.linuxmint.com/viewtopic.php?f=42&t=108274

Note for future reference: when you decide to remove a Linux partition (if it's the only one), with the intention of continuing to use windows, fix the mbr using the windows recovery console before deleting Linux. If you have more that one distro installed, select another to boot into, and run grub config from there to keep things running smoothly.
 
Old 05-12-2013, 01:26 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by Mycroft9 View Post
Hello,

I've dual booted Ubuntu and windows for a while now but I no longer wanted to use Ubuntutu. I deleted the Ubuntu partition and then when I tried to reboot the computer I couldn't access it as I had the grub rescue error...

Here's my question though, how do I get rid of grub rather than fixing it? S that it loads straight to windows 7 so I can install a different distro at a later date. There's multiple partitions on my machine and I only deleted one so I think that is thenubuntu files but grub is elsewhere and deleting Ubuntu has caused this issue?

I've got access via booting a lightweight distro from a CD. Please help!
You can use a windows dvd to repair your MBR. There are some sites that you can download it from,but you have to select the 1 appropriate for your wins installation. I'll post the site when I find it.
http://www.mytechguide.org/10042/win...iver-download/
It even works for repair installation with your product key.

Last edited by EDDY1; 05-12-2013 at 01:31 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Rescue Problem satheesh840 Linux - Newbie 1 10-23-2012 08:05 AM
Grub rescue problem tusharkumar Linux - Newbie 7 09-19-2012 01:42 AM
Problem with GRUB: partition not found. Grub Rescue?? genoboss Ubuntu 117 01-04-2011 08:56 PM
problem in booting..error: grub rescue> venki497 Linux - Newbie 9 11-08-2010 05:43 AM
grub rescue> stuck . . . is grub2 only a Debian problem? jenaniston Debian 4 02-13-2010 05:39 AM


All times are GMT -5. The time now is 10:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration