Saturday, December 24, 2011

GRUB installation failed the 'grub-pc' package failed to install into /target/. without the GRUB boot loader, the installed system will not boot

On windows 7 install ubuntu 10.10 in virtual box. You will get the following error
GRUB installation failed the 'grub-pc' package failed to install into /target/.  without the GRUB boot loader, the installed system will not boot
Solution
boot ubuntu cd and select recover a broker system and then open a shell 
sudo apt-get update
sudo apt-get install grub-pc
sudo grub-install --recheck /dev/sda
sudo update-grub

2 comments:

  1. If your machine is connected with internet means this error will not shown during the installation.

    ReplyDelete
  2. Try this
    http://www.techsarjan.com/2016/01/how-to-solve-grub-pc-package-failed-to-install-target-device.html

    ReplyDelete