From 41f88537a1fd6363a0b2da9796a176f5a727e279 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Sat, 18 Oct 2014 09:36:44 +0100 Subject: [PATCH] improve error message with a hint to install grub2-common --- vmdebootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')]) -- 2.39.5