grub---problem

Ralf Mardorf silver.bullet at zoho.com
Sun Nov 29 06:34:18 UTC 2015


On Sun, 29 Nov 2015 03:55:55 +0000, Ramachandran Chidambaraiyer wrote:
>Used Live CD of 14.04 for my 14.04 instalation, read details from GNU
>GRUB Manual, I used the command  (sudo grub-install /dev/sda) and I
>got this messg.
>(installing for i386-pc platform.
>grub-install:  error: failed to get canonical path of '/cow' )
>Where can I get this cow ??

You did not explain what you want to obtain.

My guess is, that you need to do this:

1.
sudo mount /dev/sd* /mnt/point_root_directory_of_linux_install
                  ^ replace * with device of the root directory

2.
sudo systemd-nspawn -bqD /mnt/point_root_directory_of_linux_install

or alternatively

sudo chroot /mnt/point_root_directory_of_linux_install

chroot might requires to mount more, then just the root directory
partition, as far as I know systemd-nspawn does it automagically.

3.

sudo grub-install /dev/sda

Regards,
Ralf





More information about the ubuntu-users mailing list