4

I've installed ubuntu 12.04, but after rebooting I get the message:

GRUB loading:
Welcome to GRUB!

error: file '/grub/i386-pc/normal.mod' not found
Entering rescue mode...
grub rescue>

I have the following partitons setup:

/dev/sda6:  /boot  ext2
/dev/sda9:  /      ext4
/dev/sda8:  swap
/dev/sda7:  /home  ext4

I guess that some of the prefixes for GRUB are wrong due to the /boot partition? Or there might be a problem with EFI? The hardware is a 1015bx asus netbook with c-60 amd fusion chipset. How can I fix this GRUB problem from the rescue prompt?

3cHeLoN
  • 59
  • To people considering closing this question: The OP has solved the problem and the OP's solution has been posted as an answer, so this question should not be closed as too localized. – Eliah Kagan Aug 30 '12 at 01:19
  • @EliahKagan That answer has since been deleted. What do you suggest now? – jokerdino Sep 02 '12 at 06:22
  • @jokerdino There may have been some good reason for it to have been deleted. I've pinged the user in chat who posted and (I believe) subsequently deleted it. Maybe it was wrong and we don't know if/how the problem was solved (in which case this should be closed as too localized). We'll probably find out soon. – Eliah Kagan Sep 02 '12 at 11:48
  • Hi, I had posted a perfectly fine solution and somehow it got removed. I don't know the exact details anymore, but I think I used the program Boot-Repair from the live cd. This solution was given in the documentation: https://help.ubuntu.com/community/Grub2/Troubleshooting if you want I can re-answer my question... – 3cHeLoN Sep 03 '12 at 09:50
  • I have the same problem, and none of these answers are correct. My /boot includes the directory /boot/grub/x86_64-efi/normal.mod, so there seems to be a package issue involved in some cases as well (v 12.10). – user239558 Mar 06 '13 at 08:21
  • @user80039 your exact words were "I've followed the following article: Boot-Repair The problem has been solved, although booting seems slower than usual, it takes a long time before the splash screen is shown. The problem was, I think, due to ubuntu installing the efi version of GRUB2, while my laptop only supports regular grub-bios." with a link to https://help.ubuntu.com/community/Boot-Repair, you never added as an answer, only in comments. – Mateo Mar 08 '13 at 04:07

2 Answers2

6

Boot your system into a live CD. Mount your system into the live CD:

sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts  /mnt/dev/pts
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys  /mnt/sys

Log into the mounted system:

sudo chroot /mnt

Install grub:

grub-install --boot-directory=/boot/ --recheck /dev/sda

Reboot your system.

Freefri
  • 193
  • 1
  • 6
1

You can type the command at grub rescue:

grub-install /dev/sda

Then quit the grub rescue mode and reboot the machine


Or :

You can install GRUB on your hard disk. You can do this by using bootable Ubuntu CD.

  1. Boot to LiveCD

  2. When you get Ubuntu Live Desktop. Open terminal ( What is a terminal and how do I open and use it? ) and type the following one line at a time:

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

You are done now. Reboot the machine.

This will install grub on MBR of your hard disk with dual boot. Try the latest Ubuntu 12.04 LTS.

Amit Rane
  • 1,310
  • 4
  • 13
  • 26
  • 5
    No, you can't do grub-install command in grub-rescue prompt. It is totally Wrong. I suggest you to remove the first part. And yes, the second part is better, but again you can't run sudo update-grub from Live CD as far as I know – Anwar Aug 30 '12 at 06:58