Ideally the installer should test for a properly sized MBR gap earlier on, so it can fail before going to the trouble of installing the OS, only to have grub-install inevitably fail. Windows 7 uses LBA 2048/1MB aligned first partition, and maybe even Vista did. XP does not, it starts the first partition at LBA 63. Older versions of parted do the same.
Next, the use of the --force flag for grub-install on a whole block device seems ill advised. As far as I know, it's useful when directed to a partition formatted ext[234] so that the boot strap code and block list is placed in the VBR instead of the MBR gap. The --force flag will fail on XFS and Btrfs.
In any case, the work around is to repartition with something even somewhat recent, so that partition 1 starts at LBA 2048.
Ideally the installer should test for a properly sized MBR gap earlier on, so it can fail before going to the trouble of installing the OS, only to have grub-install inevitably fail. Windows 7 uses LBA 2048/1MB aligned first partition, and maybe even Vista did. XP does not, it starts the first partition at LBA 63. Older versions of parted do the same.
Next, the use of the --force flag for grub-install on a whole block device seems ill advised. As far as I know, it's useful when directed to a partition formatted ext[234] so that the boot strap code and block list is placed in the VBR instead of the MBR gap. The --force flag will fail on XFS and Btrfs.
In any case, the work around is to repartition with something even somewhat recent, so that partition 1 starts at LBA 2048.