this remains a problem in 10.04.1 and likely in maverick as well:
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
# grub-install --version
grub-install (GNU GRUB 1.98-1ubuntu5)
# grub-install --no-floppy "(md0)"
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea..
/usr/sbin/grub-setup: error: embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
i also tested 1.98-1ubuntu7 from lucid-updates and 1.98+20100804-5ubuntu3 with the same results. this appears to be an ubuntu-specific issue introduced between 1.97~beta4-1ubuntu2 and 1.97~beta4-1ubuntu3 (as mentioned in the original report). on a whim i tried the straight-up debian version of the package (1.98+20100804-5) which installed to md0 with "No error reported".
this remains a problem in 10.04.1 and likely in maverick as well:
# lsb_release -a grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.. grub-setup: error: embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
# grub-install --version
grub-install (GNU GRUB 1.98-1ubuntu5)
# grub-install --no-floppy "(md0)"
/usr/sbin/
/usr/sbin/
i also tested 1.98-1ubuntu7 from lucid-updates and 1.98+20100804- 5ubuntu3 with the same results. this appears to be an ubuntu-specific issue introduced between 1.97~beta4-1ubuntu2 and 1.97~beta4-1ubuntu3 (as mentioned in the original report). on a whim i tried the straight-up debian version of the package (1.98+20100804-5) which installed to md0 with "No error reported".
the workaround from http:// ubuntu- ky.ubuntuforums .org/showthread .php?p= 9638149 was helpful.