LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-23-2011, 07:32 AM   #1
sabresong
Member
 
Registered: Feb 2011
Location: Asheville, NC, USA
Distribution: Fedora 19
Posts: 36
Blog Entries: 1

Rep: Reputation: 2
Fixing Grub from rescue mode


Hi.

I got my wife to try Linux, so we set her machine up to dual boot with Windows. After a few weeks, she decided not to use Linux, so we deleted the Linux partitions using Gparted on a USB drive and resized the NTFS partition, under the apparently mistaken impression that Grub would detect that there was now no other operating system. When we rebooted, we got error: no such partition, followed by a grub rescue prompt. I've never worked with Grub directly before, so I have no idea what to do at this point.

Can someone help me out with this? I know it's not strictly a Linux question, but it is a Grub question, so I'm hoping that counts.
 
Old 02-23-2011, 08:01 AM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
If I did not have a windows disk I would make a small say 200 meg partition and install Puppy or Tiny Me on it to dual boot with windows.

Last edited by Larry Webb; 02-23-2011 at 08:03 AM.
 
Old 02-23-2011, 09:17 AM   #3
sabresong
Member
 
Registered: Feb 2011
Location: Asheville, NC, USA
Distribution: Fedora 19
Posts: 36

Original Poster
Blog Entries: 1

Rep: Reputation: 2
Thanks for that suggestion. It's not perfect, but at least she can boot to Windows now.
 
Old 02-23-2011, 09:25 AM   #4
redgoblin
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 189

Rep: Reputation: 41
Couple of points.

Grub will not automatically spot the changes to partitions and installs. That's the sort of behaviour that might be done by the program that sets Grub up.

As you've probably realised Grub comes back with a "no such partition" error because half the Grub program resides in the Mater Boot Record and the other half in the partition you just removed. Following Larry's advice will rebuild a complete operational version of Grub.

If you really only want to have Windows (and I understand that some people do) then you're best bet is to use the Windows install disk to "repair the MBR". Here are some details here.

Good luck.
 
Old 02-23-2011, 09:34 AM   #5
sabresong
Member
 
Registered: Feb 2011
Location: Asheville, NC, USA
Distribution: Fedora 19
Posts: 36

Original Poster
Blog Entries: 1

Rep: Reputation: 2
Unfortunately, there is no Windows install disk. It's a new computer, came with Windows preinstalled and no disk. I installed Puppy and used the bootloader to boot into the Windows Recovery partition, and am now running recovery to see if that'll restore the MBR to whatever Microsoft uses.

I HAD been thinking about setting my computer up to dual boot to see if Windows 7 is really that much better than XP (the last Windows I used before switching to Linux), but I've changed my mind about that. I like having an OS on disk, just in case. And besides, I don't want to pay for something I'm probably not going to use.

Thanks for your help.
 
Old 02-23-2011, 09:48 AM   #6
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
In the future if you want to try a dual boot make a backup of your mbr before you install your distro then you can always restore if you do not want to keep the install. There are plenty of articles out there on backing up mbr.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Recurring Grub rescue mode after update-grub harris4got Linux - Software 6 04-23-2012 10:30 AM
GRUB goes to rescue mode new instalation Person_1873 Linux - Software 5 12-26-2007 05:31 AM
how to install grub using fc 4 installation cd .the cd has rescue mode amolgupta Linux - Software 2 03-15-2006 03:14 AM
reinstalling grub in rescue mode ELconkestador Linux - Newbie 5 02-13-2005 04:43 AM
reinstalling grub on rescue mode mabus92920 Linux - Newbie 3 01-15-2005 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:45 AM.

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
Open Source Consulting | Domain Registration