[Vmdebootstrap-devel] Bug#767913: vmdebootstrap: Make room for grub on disk also when --bootsize is used
Petter Reinholdtsen
pere at hungry.com
Tue Nov 4 07:49:58 UTC 2014
It might be an idea to apply this patch to make it easier to see why grub fail:
--- vmdebootstrap.orig 2014-10-18 20:35:19.000000000 +0200
+++ vmdebootstrap-grubexcept 2014-11-04 08:48:21.884205084 +0100
@@ -486,6 +486,7 @@
self.runcmd(['chroot', rootdir, 'update-grub'])
self.runcmd(['chroot', rootdir, 'grub-install', install_dev])
except cliapp.AppException as e:
+ self.message(str(e))
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')])
With this patch in place, it is obvious that the problem is missing
space at the front between the partition table and the start of the
first partition.
--
Happy hacking
Petter Reinholdtsen
More information about the Vmdebootstrap-devel
mailing list