Sorry I have to insist based on official Ubuntu documentation.
For current grub2 the installation command is:
sudo grub-install --boot-directory=/mnt/boot /dev/sdX
For GRUB 2 version 1.98 and earlier (Maverick Meerkat), the installation
command is slightly different. Rather than designating the --boot-
directory, the switch is --root-directory. In this case, the location
changes to /mnt
sudo grub-install --root-directory=/mnt /dev/sdX
You can find the document here:
https://help.ubuntu.com/community/Grub2/Installing
Please see after "Fixing a Broken System".
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020045
Title:
"grub-install" inserts wrong UUID when 2 disks
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1020045/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs