Ubuntu – Install grub from live CD

bootdual-bootgrub2installation

I have installed my Ubuntu onto a partition on the same drive where my windows is. I would like to install GRUB, but cannot access the Ubuntu installation as Windows starts instead. I am in the USB Live Version trying to install grub but I get this:

grub-install dev\sda4

cannot create directory /boot/grub/i386-pc permission denied

Please help me install GRUB.

Best Answer

NO NEED TO RE INSTALL!

You can use what is called a chroot to access your installed partition from a live CD. See How to chroot Ubuntu using Live CD to fix GRUB rescue prompt.

Basically how it works is you boot of the live CD and mount your Ubuntu install. You run chroot, and you are dropped into a command prompt for the installed Ubuntu instance instead of the CD. The guide above should tells you what you need to do.

Related Question