Grub Rescue
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Grub Rescue
Hey , Unfortunately i seem to have destroyed my Laptop through deleting partitions , and as a first time Linux User this is Intimidating.
I was/am Dual booting with Windows 7 and decided to clean up my partitions using GPartion , however once i had done this i cannot choose my operating system at reset and am thrown to the Grub Rescue menu stating that partition cannot be found.
I have the Live CD and have tried a few methods mentioned on the Internet , however mostly the Terminal throws back "Command cannot be found"
I am Running Mint 11 GNOME
Any help would be appreciated
Thanks!
I was/am Dual booting with Windows 7 and decided to clean up my partitions using GPartion , however once i had done this i cannot choose my operating system at reset and am thrown to the Grub Rescue menu stating that partition cannot be found.
I have the Live CD and have tried a few methods mentioned on the Internet , however mostly the Terminal throws back "Command cannot be found"
I am Running Mint 11 GNOME
Any help would be appreciated
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Grub Rescue
You have deleted the partition with Grub files, which should not be deleted.
Please look in Gparted for the /dev/sdXY name of the Linux root partition.
Then mount the partition using terminal:
(replace /dev/sda6 with the partition's /dev name)
Then execute this command:
Warning: remove the digit (6 or whatever you're using) from the /dev/sdXY name. When you fail to do this, it installs Grub to the wrong place and doesn't fix the rescue prompt.
If Mint gives you errors about missing partitions during boot, press the button to ignore.
If there are such partitions, open the filesystem table:
(or if you don't like Terminal: right-click the fstab file in the etc folder, and click Open as Root)
Then remove the entries for missing partitions.
Please look in Gparted for the /dev/sdXY name of the Linux root partition.
Then mount the partition using terminal:
Code: Select all
sudo mount /dev/sda6 /mnt
Then execute this command:
Code: Select all
sudo grub-install --root-directory=/mnt/ /dev/sda
If Mint gives you errors about missing partitions during boot, press the button to ignore.
If there are such partitions, open the filesystem table:
Code: Select all
gksu gedit /etc/fstab
Then remove the entries for missing partitions.
Registered Linux User #528502
Feel free to correct me if I'm trying to write in Spanish, French or German.
Feel free to correct me if I'm trying to write in Spanish, French or German.
Re: Grub Rescue
Simple fix would be to use super grub2 recovery disk.
use the boot to any partition option, then boot to your linux OS.
Use synaptic to reinstall grub-pc and grub common
When it asks partitions to manage or install with grub, select all.
use the boot to any partition option, then boot to your linux OS.
Use synaptic to reinstall grub-pc and grub common
When it asks partitions to manage or install with grub, select all.
Re: Grub Rescue
If you have deleted the /boot partition (that's what I think that you've done) the kernel is also away. I think you should or recover the partition, or reinstall Mint.
Registered Linux User #528502
Feel free to correct me if I'm trying to write in Spanish, French or German.
Feel free to correct me if I'm trying to write in Spanish, French or German.
Re: Grub Rescue
Thanks for the replies!.
I have downloaded Super grub2 recovery disk and booted into Linux
However when i attmept to reinstall Grub-PC and Grub Common , the following error is returned.
Writing GRUB to boot device failed - Continue?
Failed to install to /dev/sda5 ?
eek
I have downloaded Super grub2 recovery disk and booted into Linux
However when i attmept to reinstall Grub-PC and Grub Common , the following error is returned.
Writing GRUB to boot device failed - Continue?
Failed to install to /dev/sda5 ?
eek
Re: Grub Rescue
easy fix
complete remove all to do with grub with synaptic.
then close synaptic and reopen
then install grub-pc grub common startup manager grub2-mint-theme
be sure to install grub for all partitions.
repeat one more time if needed.
complete remove all to do with grub with synaptic.
then close synaptic and reopen
then install grub-pc grub common startup manager grub2-mint-theme
be sure to install grub for all partitions.
repeat one more time if needed.
Re: Grub Rescue
it pops up with a window, select install maintainers version , then another window pops up with listed partitions.
Just check all boxes.
If ya don't see this, ya might need to restart and try one more time. I have had it take twice a few times.
Just check all boxes.
If ya don't see this, ya might need to restart and try one more time. I have had it take twice a few times.
Re: Grub Rescue
It still said failure to write Boot.
However i restarted and am now able to boot in ! so i guess it worked!
Thanks heaps!
However i restarted and am now able to boot in ! so i guess it worked!
Thanks heaps!
Re: Grub Rescue
concerned, I hope it keeps working.It still said failure to write Boot.
Keep that grub rescue disk , just in case.