I noticed that grub-probe gets the list of devices to probe from the existing /boot/grub/device.map. If I removed the line from that file that mentioned /dev/fd0 (which has never existed on this system) then grub-probe no longer fails. However, I still can't get grub2 to install:
# dpkg --configure --pending Setting up grub-pc (1.95+20070507-1) ... Updating /boot/grub/grub.cfg ... Found linux image: /boot/vmlinuz-2.6.18-4-k7 Found initrd image: /boot/initrd.img-2.6.18-4-k7 done Auto-detection of a partition map module failed. Please specify the module with the option `--modules' explicitly. dpkg: error processing grub-pc (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of grub2: grub2 depends on grub-pc; however: Package grub-pc is not configured yet. dpkg: error processing grub2 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: grub-pc grub2 -- Sam Morris http://robots.org.uk/ PGP key id 1024D/5EA01078 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078
signature.asc
Description: This is a digitally signed message part