When i try to install grub 2 by the command
sudo grub-install --root-directory=/media/grub2 /dev/sda
I get the error: failed to get canonical path of '/cow'.
When I try to install grub by
sudo grub-install --root-directory=/mnt /dev/sda
message is: installation finished.no error reported
.
Then when I run the command
sudo update-grub
I get the same error: failed to get canonical path of '/cow'.
I will give you brief why I was trying this.
I had old desktop with XP and Ubuntu 10.10.
I opened the system after 3 years. Everything was working. I thought to upgrade 10.10 to 14.04. made the bootable usb through 10.10. Now installation is crashing at the stage of file transfer. I have P4 system .. Hard disk is Sata( through convertor). My cd drive is old & only cd WR... Have external dvd drive but not booting the bootable dvd through usb. Now I am trying to install the Ubuntu 14.04 through Hard disk.
To do same I need to install grub 2..
I do not know much of Linux and coding... all this i have understood by Google.
umount /dev/sdaX
– Maythux Jun 08 '15 at 16:14