LinuxQuestions.org

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

sandeepdice 10-01-2011 04:40 AM

error: unknown filesystem Grub Rescue
 
Hi,

There are some threads with the same subject but instructions in those threads doesn't seem to solve my case. Please help.

I've Win XP & Ubuntu 10 on my notebook. I uninstalled Ubuntu10 using wubi and removed the 30GB Ubuntu partition using a Disk Management software (one similar to Partition Magic. I can't recall the name).

While doing this, I downloaded Ubuntu 11 using Wubi. I merged the cleared Ubuntu partition with existing windows partition. Ubuntu11 (Wubi) prompted to reboot to start installation. When I rebooted, it couldn't detect GRUB and entered grub rescue mode.

My notebook doesn't have a CD ROM. So I've no way to boot using Windows XP CD or Ubuntu CD.

In the "grub rescue" command, only "ls" works. "ls" returns (hd0), (hd0,7), (hd0,6), (hd0,5), (hd0,2) and (hd0,1)

Any clues?

Thanks,
Sandeep

andrewthomas 10-01-2011 07:01 AM

What you really need is a Windows system rescue cd written to a USB stick.

It seems to me that grub was mistakenly written to the MBR.


I am not that familiar with wubi, but this may help:


Solution #2:

Quote:

If you do not have a Windows CD, or are unable to get hold of one, you can use an Ubuntu CD/USB to install a Windows-like bootloader.

From a terminal on the LiveCD/USB (Applications > Accessories > Terminal), run the following commands:

Code:
Code:

sudo apt-get install lilo
sudo lilo -M /dev/sda mbr

This assumes that sda is the Windows drive. If not, change this to reflect the actual drive e.g. sdb, sdc, etc.

Ignore any warnings and continue with the installation to the MBR. The main point is to get lilo installed and allow the user to boot Windows, and hopefully Ubuntu, again.
This is from the wubi megathread on ubuntuforums.org

http://ubuntuforums.org/showthread.php?t=1639198

It may be in your best interests to read through a bit of that thread for some tips.

sandeepdice 10-10-2011 10:38 PM

Quote:

Originally Posted by andrewthomas (Post 4487115)
What you really need is a Windows system rescue cd written to a USB stick.

It seems to me that grub was mistakenly written to the MBR.


I am not that familiar with wubi, but this may help:


Solution #2:



This is from the wubi megathread on ubuntuforums.org

http://ubuntuforums.org/showthread.php?t=1639198

It may be in your best interests to read through a bit of that thread for some tips.


[SOLVED]

The solution resolved my problem.

Thanks for your response.

musakazhim 10-15-2011 06:10 PM

Quote:

Originally Posted by andrewthomas (Post 4487115)
What you really need is a Windows system rescue cd written to a USB stick.

It seems to me that grub was mistakenly written to the MBR.


I am not that familiar with wubi, but this may help:


Solution #2:



This is from the wubi megathread on ubuntuforums.org


It may be in your best interests to read through a bit of that thread for some tips.

thanks, the solution #2 worked for me :D


All times are GMT -5. The time now is 03:31 AM.