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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-23-2011, 06:32 AM
|
#1
|
Member
Registered: Feb 2011
Location: Asheville, NC, USA
Distribution: Fedora 19
Posts: 36
Rep:
|
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.
|
|
|
02-23-2011, 07:01 AM
|
#2
|
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
|
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 07:03 AM.
|
|
|
02-23-2011, 08:17 AM
|
#3
|
Member
Registered: Feb 2011
Location: Asheville, NC, USA
Distribution: Fedora 19
Posts: 36
Original Poster
Rep:
|
Thanks for that suggestion. It's not perfect, but at least she can boot to Windows now.
|
|
|
02-23-2011, 08:25 AM
|
#4
|
Member
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 189
Rep:
|
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.
|
|
|
02-23-2011, 08:34 AM
|
#5
|
Member
Registered: Feb 2011
Location: Asheville, NC, USA
Distribution: Fedora 19
Posts: 36
Original Poster
Rep:
|
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.
|
|
|
02-23-2011, 08:48 AM
|
#6
|
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
|
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.
|
|
|
All times are GMT -5. The time now is 06:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|