$ sudo grub-install --root-directory=/media/sarge-root/ /dev/sda
Password:
Due to a bug in xfs_freeze, the following command might produce a segmentation
fault when /media/sarge-root//boot/grub is not in an XFS filesystem. This error is harmless and
can be ignored.
xfs_freeze: specified file ["/media/sarge-root//boot/grub"] is not on an XFS filesystem
Installation finished. No error reported.
This is the contents of the device map /media/sarge-root//boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb
(hd2) /dev/sda