Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have winxp and win7 on my HD and have just installed the Ubuntu 11.10 Desktop on the HD too.I decided to install boot files on a /boot partition and also install grub not at the MBR and install EasyBCD as a bootloader manager in win7. Here's my hard disk partitions:

/dev/sda1 winxp(ntfs)
/dev/sda5 win7(ntfs)
/dev/sda6 my other ntfs partition
/dev/sda7 /boot
/dev/sda8 swap
/dev/sda9 /

an i select /dev/sda7 as device for boot loader installation. I followed steps from this article:

but i get a fatal error on installing grub at the final step of ubuntu installation that said:

Unable to install GRUB in /dev/sda7   
Executing 'grub-install/dev/sda7' failed
This is fatal error

how can i solve it? should i reinstall ubuntu or just reinstall grub? is it a bug of ubuntu 11.10 ? can i reinstall grub from a knoppix live cd? I don't have ubuntu live cd.

thank you for helping.

share|improve this question

I got the same error message when I accidentally specified a partition (like you did, /dev/sda7) instead of the drive (/dev/sda). The bottom line is that you may have to install Grub in the MBR of /dev/sda and let Grub manage the booting of Linux and Windows. The article you referenced mentions this at the bottom.

To do this:

sudo grub-install /dev/sda

I don't think you'll have to update grub, but it can't hurt, since it will simply rebuild grub.cfg and ensure that the Windows OSes are in the Grub menu.

sudo update-grub

I hope this helps, Randy

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.