Comment 11 for bug 420992

Michele (wyrdmeister) wrote :

I can confirm this bug in Ubuntu 10.04 beta1 alternate cd, installing on a ATI SB600 fakeraid (raid0 formed by /dev/sda and /dev/sdb). Grub installer fails trying to install the boot loader on the first disk of the array (/dev/sda), instead of the array /dev/mapper/pdc_xxxxxxx.

From the logs (attached syslog.gz) it seems that grub-install cannot map the boot device due to missing device.map. There are also many errors related to failed access to /proc which is not mounted inside /target.

I can successfully install grub2 manually on the fakeraid array following these steps:
1) create /target/boot/device.map containing "(hd0) /dev/mapper/pdc_xxxxxxx"
2) mount /proc inside target with "mount -o bind /proc /target/proc"
3) run "chroot /target grub-install /dev/mapper/pdc_xxxxxxx"
4) run "chroot /target update-grub"

Also update-grub cannot find my Windows partition, but re-running the command after booting in Lucid solves the problem.

grub-installer 1.49ubuntu7
grub-pc 1.98-1ubuntu1