grub2 (1.96+20080717-2) experimental; urgency=low
- * upgrade-from-grub-legacy now calls update-grub if there's no
- grub.cfg
+ * upgrade-from-grub-legacy now calls update-grub if grub.cfg doestn't exist
+ and prints a big warning if it failed.
* Update Standards version to 3.8.0. No changes need.
- * Added Build-Dep for po-debconf and a lintian overide, to make it happy.
+ * Added Build-Dep for po-debconf and a lintian override, to make it happy.
[ Updated translations ]
* Swedish (sv.po) by Martin Ă…gren (Closes: #492056)
if test ! -f /boot/grub/grub.cfg ; then
echo -e "\nCalling update-grub to generate grub.cfg\n" >&2
- update-grub
+ update-grub || cat << EOF
+Failed to generate /boot/grub/grub.cfg but GRUB2 has been already installed to
+your MBR.
+THIS MEANS YOU HAVE CURRENTLY AN UNBOOTABLE SYSTEM.
+Either fix the error from update-grub and run $0 again
+or install old grub again and run grub-install from it to have again
+grub-legacy in your MBR.
+EOF
fi
# These never contain any valuable information, and they aren't useful for