0

I had recently installed Ubuntu 13.10 on to a hdd on my desktop computer which is already dual booting windows 8.1 and windows 7. The installation went fine the first time but I wanted to try to add Ubuntu to the windows MBR so I installed it a second time. This time installing it without a bootloader which caused it to boot up into rescue mode which I am unable to bypass to access my windows partitions. I then reinstalled a third time and set it to configure a bootloader. The installation went fine but when I rebooted I still have rescue mode come up. I am not sure what to do now. Any help would be appreciated.

Thanks, Jacob

Tim
  • 33,500

1 Answers1

0

It seems that the GRUB information is not re-installed properly. Here is a simple way to re-create the grub information on disk, after booting with Ubuntu Live CD (or USB):

Symptom:

After boot we get the prompt:

error: file not found. Grub rescue>-

Problem:

The grub information on disk has been corrupted and the system can not boot from the proper partition

Solution:

1) Boot with Ubuntu Live CD (or USB)

2) Open terminal (command prompt)

3) Type:

sudo fdisk -l

You will get a list of partitions, similar to the following list:

/dev/sda1 13 102400 de Dell Utility
/dev/sda2 * 13 1926 15360000 7 HPFS/NTFS
/dev/sda3 1926 30892 232676566 7 HPFS/NTFS
/dev/sda4 30893 60802 240245761 5 Extended
/dev/sda5 30893 59584 230467584 83 Linux
/dev/sda6 59585 60802 9777152 82 Linux swap / Solaris 

Ubuntu partition is the one with the name "Linux" (not necessarily the one with the star, although could be). On this case is on '/dev/sda5' so we have to mount it:

4) Replace in the following command 'sda5' with the partition name in your case:

sudo mount /dev/sda5 /mnt

5) And then install grub:

sudo grub-install --root-directory=/mnt /dev/sda

6) Reboot and verify that all is working fine.

OM55
  • 401
  • 3
  • 6