Page 1 of 1

Grub Rescue Prompt

Posted: Mon May 07, 2012 10:01 pm
by LinuxNeophyte
I have a laptop with a dual boot with Windows 7 and Mint 12. I had multiple entries from failed Mint 12 installs showing up in the Grub2 menu. Using the disk utility, I deleted a partition from an earlier install of Ubuntu and then ran the sudo update -grub command. After that, I rebooted and no longer received the Grub2 menu and can only get a grub rescue prompt. I know that I am in over my head and need some help. I don't plan on doing anything else until I hear back from someone on the forum. Thanks.

Re: Grub Rescue Prompt

Posted: Mon May 07, 2012 10:14 pm
by wayne128
When you delete a partition, the hard disk partition table will change.
Your previous working partition might become unbootable.

To figure out what is the new partition that still has your old and working installation, what you can do is:

1. boot from Live DVD/CD,
2. open a terminal, type
sudo os-prober

look for the line that looks like your old working installation, such as
/dev/sda15:Linux Mint Xfce Edition (1):LinuxMint1:linux

the highlighted is the partition you want, yours would be different.

3. mount the new partition with
sudo mount /dev/sda15 /mnt

4. reinstall grub with
sudo grub-install --root-directory=/mnt /dev/sda

5, if no error on last line in terminal, then, reboot to check if grub is back and working.

Re: Grub Rescue Prompt

Posted: Mon May 07, 2012 10:43 pm
by LinuxNeophyte
Wayne128,

Thanks for the quick reply. It worked and I was able to boot into Mint 12. I then tried to boot into Windows 7 and chkdsk came up and scanned the drive. I was worried that there was still a problem but was also able to boot into Windows 7. Thanks for your help. This forum is great and I will be spending a lot of time here as I learn more about Linux.

Re: Grub Rescue Prompt

Posted: Fri May 18, 2012 10:51 am
by SplashMan
Thanks to Wayne128 from me too. I'd just replaced Mint 12 with 13 and got the Grub Rescue on reboot :-/

All fixed now, thanks also to LinuxNeophyte for asking the question :-)

Re: Grub Rescue Prompt

Posted: Sun Jun 03, 2012 10:33 am
by trippr78
+1 for Wayne128! This is why I love Linux, the support here is unbelievable! I love you guys!