Comment 4 for bug 256989

Martin Pitt (pitti) wrote :

I think I got it: grub.postinst calls "/usr/sbin/kernel-helper -i", which in turn calls update-grub at the end. I -x'ed the script and dropped the >/dev/null, to see the grub error messages. It fails because /boot/grub does not exist yet. Apparently d-i installs grub first, and then calls install-grub, and calls update-grub later.

Therefore a solution which fixes the installation is to only call update-grub if /boot/grub exists. This might not be the correct conceptual solution, though; Ben, can you comment whether this should work differently?

I'm going to apply that change now to get working CDs for Alpha-4.