LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub Rescue (https://www.linuxquestions.org/questions/linux-newbie-8/grub-rescue-4175523935/)

linuxmantra 10-31-2014 01:59 PM

Grub Rescue
 
In my laptop I am running unbunt 12 LTS and window 7. some how during startup something went wrong and goes to grub rescue. I googled the issue and gone through steps shown as:

error: no such partition.
grub rescue> ls
(hd0) (hd0,msdos8) (hd0,msdos7) (hd0,msdos6) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)

grub rescuve> ls (hd0,1)/
error: unknown file system

I check from (hd0,1-5) and all of the above. I got same message "error:unknown file system"

Is there any way I can resolve this issue.

fatmac 10-31-2014 02:10 PM

Use a 'live' system to look at your hard drive. Try mounting your hard drive partitions. Report back any error info.

TroN-0074 10-31-2014 03:23 PM

Boot from the install media you used, DVD or Flashdrive whatever you used.

While you are in the live session look for the Boot Repair Tool in a google search follow the steps to install it. Or copy then from here (Line by line pasted them on the terminal)
Code:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install-y boot-repair

Once it is installed run it by typing
Code:

sudo boot-repair
and that should take care of the problem

Let us know how it works for you

Fred Caro 10-31-2014 08:54 PM

An alternative is use 'supergrub2' live disk to check for 'any bootable' select ubuntu and (once booted) go to a terminal and as "admin" install grub to /dev/sda

sudo grub-install /dev/sda
sudo grub-update

You will need an internet connection.

Fred.

yancek 10-31-2014 10:16 PM

Quote:

I check from (hd0,1-5) and all of the above. I got same message "error:unknown file system"
Which would cause me to wonder why you didn't try 5, 7 and 8 partitions. We can only guess here with the minimal information you posted.


All times are GMT -5. The time now is 05:26 AM.