So when I was starting my computer, I pressed F8 and then it said there was no such partition and now it only shows GRUB rescue. How do I fix GRUB to run normally again?
Asked
Active
Viewed 1.1k times
1
-
Possible duplicate of Grub rescue - error: unknown filesystem – karel Aug 22 '19 at 16:13
2 Answers
0
Run those commands replacing with suitable for your system
grub rescue> set prefix=(hd0,1)/boot/grub
grub rescue> set root=(hd0,1)
grub rescue> insmod linux
grub rescue> linux /boot/vmlinuz-3.13.0-29-generic root=/dev/sda1
grub rescue> initrd /boot/initrd.img-3.13.0-29-generic
grub rescue> boot
Please taek a look for my answer here GNU GRUB Terminal - Instead of Ubuntu login screen
Also Please take a look for this link https://www.linux.com/learn/tutorials/776643-how-to-rescue-a-non-booting-grub-2-on-linux/
Another solution to boot from livecd and reinstall the Grub
- put ubuntu live cd of the same version of your sysetm
- boot with try ubuntu without installing
Then run those commands:
sudo fdisk -l
Identify the boot partition with * besied suppose /dev/sda1
sudo mount /dev/sda1 /mnt
sudo grub-install --root-directory=/mnt /dev/sda
sudo reboot
sudo update-grub
-
I also have windows on my computer as /dev/sda2. Doing this won't mess it up will it? – Shempklong Jun 11 '15 at 10:17
-
-
-
I only get a black screen when I use and live DVD and try to use ubuntu without installing. – Shempklong Jun 11 '15 at 10:29
-
@Shempklong you have to use the same version of your Ubuntu system already installed – Maythux Jun 11 '15 at 10:31
-
-
-
-
Well I did and now it uploads Gnu Grub, but I don't know how to use it. – Shempklong Jun 11 '15 at 16:07
0
To rescue your grub, you can use boot-repair tool.This tool helps me lot, every time i troubleshoot grub problems.
Before starting rescue operation, first you need a Ubuntu in bootable USB flash drive or Ubuntu Disk .
- Plug Disk or Flash drive and enter into Try Ubuntu mode.
- Connect your system with internet.
- Open Terminal by pressing CTRL+ALT+T.
Type these commands in terminal.
$ sudo add-apt-repository ppa:yannubuntu/boot-repair $ sudo apt-get update $ sudo apt-get install -y boot-repair && (boot-repair &)
Click on the options which will shown in the boot-repair window.
- Wait for some minutes, and it will repair you grub automatically.You don't need to worry about anything.Just click on options and move forward.
-
I only get a black screen when I try to use the live DVD for some reason. – Shempklong Jun 11 '15 at 10:31
-
-
I don't have it on a flashdrive. Is there anyway to put it from the cd to the flashdrive? – Shempklong Jun 11 '15 at 10:40
-
@Shempklong, for that you need a working machine. As currently your machine is not working, you need another machine for making Flash Drive bootable from you Ubuntu CD. – Akshay Pratap Singh Jun 11 '15 at 10:42
-
-
-
-
@Shempklong, first you have to form a ISO file from your Ubuntu CD Click here for instructions.Then, after that you can make bootable Flash Drive using this ISO. Click here for instructions – Akshay Pratap Singh Jun 11 '15 at 10:52
-
@Shempklong, you can also use MagicISO tool for making ISO. – Akshay Pratap Singh Jun 11 '15 at 10:54
-
-
@Shempklong, had you followed right method to boot your machine from external Flash drive??? or you simply plugged it and start your machine and press nothing(Key Combination) to get bootup mode screen. i am just trying to understand your problem. – Akshay Pratap Singh Jun 11 '15 at 11:18
-
I booted it from the flash drive and then clicked try ubuntu and all it shows is a black screen. – Shempklong Jun 11 '15 at 11:20
-
@Shempklong, try to download a new ISO of Ubuntu 14.04 or any Ubuntu version from ubuntu website.Do the above mentioned process. – Akshay Pratap Singh Jun 11 '15 at 12:05
-
It'll start now but it keeps frezeing because of the graphics card driver. One problem after another. – Shempklong Jun 11 '15 at 12:07
-
and by it'll start, i mean oi can boot it from the flash drive, not that I fixed my original problem. – Shempklong Jun 11 '15 at 12:10
-
-
@Shempklong, at what step it shows
failed
message. Could you describe it ??? – Akshay Pratap Singh Jun 11 '15 at 16:22 -
All of the stuff it tried to load in the terminal, had "failed" after it. – Shempklong Jun 11 '15 at 16:27
-
I was able to do it and now it just loads gnu grub insteaad of grub rescue. What can you do now? – Shempklong Jun 11 '15 at 16:33
-
@Shempklong, Could you post a screenshot of it , because i am little bit confuse by your above comments ?? – Akshay Pratap Singh Jun 11 '15 at 16:35
-
Oops I got you confused with someone else who answered my question. I did something else besides boot repair. I tried to boot the partition and then install grub onto it and now a have a GNU grub screen instead of a grub rescue screen and I'm equally as confused by it. – Shempklong Jun 11 '15 at 16:41
-
@Shempklong, in GNU grub screen, what options are shown ?? I think in the screen there must be a booting list of OS installed on your machine. Link to Image. – Akshay Pratap Singh Jun 11 '15 at 16:43
-