Thanks. The problem here is that the initrd line is wrong. One of the changes in GRUB 2 from GRUB Legacy is that it fixed what's now considered a design error: GRUB Legacy numbered partitions from 0, but GRUB 2 numbers them from 1. This means that you have "initrd (hd0,2)/boot/initrd.img" when it should be "initrd (hd0,3)/boot/initrd.img".
Actually it's rather unusual to have a partition here at all; just "initrd /boot/initrd.img" would be fine, I'm sure. I'll leave this bug as Confirmed rather than Triaged until we figure out whether this would best be fixed in grub2 or in os-prober.
Thanks. The problem here is that the initrd line is wrong. One of the changes in GRUB 2 from GRUB Legacy is that it fixed what's now considered a design error: GRUB Legacy numbered partitions from 0, but GRUB 2 numbers them from 1. This means that you have "initrd (hd0,2) /boot/initrd. img" when it should be "initrd (hd0,3) /boot/initrd. img".
Actually it's rather unusual to have a partition here at all; just "initrd /boot/initrd.img" would be fine, I'm sure. I'll leave this bug as Confirmed rather than Triaged until we figure out whether this would best be fixed in grub2 or in os-prober.