Grub Rescue Prompt

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
LinuxNeophyte
Level 1
Level 1
Posts: 38
Joined: Mon May 07, 2012 4:48 pm

Grub Rescue Prompt

Post 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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
wayne128

Re: Grub Rescue Prompt

Post 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.
LinuxNeophyte
Level 1
Level 1
Posts: 38
Joined: Mon May 07, 2012 4:48 pm

Re: Grub Rescue Prompt

Post 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.
SplashMan

Re: Grub Rescue Prompt

Post 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 :-)
trippr78

Re: Grub Rescue Prompt

Post by trippr78 »

+1 for Wayne128! This is why I love Linux, the support here is unbelievable! I love you guys!
Locked

Return to “Installation & Boot”