From: Neil Williams Date: Sat, 18 Oct 2014 08:36:44 +0000 (+0100) Subject: improve error message with a hint to install grub2-common X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=41f88537a1fd6363a0b2da9796a176f5a727e279;p=forks%2Fvmdebootstrap.git improve error message with a hint to install grub2-common --- diff --git a/vmdebootstrap b/vmdebootstrap index eb94ae5..8301bd5 100755 --- a/vmdebootstrap +++ b/vmdebootstrap @@ -483,7 +483,7 @@ class VmDebootstrap(cliapp.Application): self.runcmd(['chroot', rootdir, 'update-grub']) self.runcmd(['chroot', rootdir, 'grub-install', install_dev]) except cliapp.AppException as e: - self.message("Failed to configure grub2. Using extlinux.") + self.message("Failed. Is grub2-common installed? Using extlinux.") self.runcmd(['umount', os.path.join(rootdir, 'sys')]) self.runcmd(['umount', os.path.join(rootdir, 'proc')]) self.runcmd(['umount', os.path.join(rootdir, 'dev')])