I may be reading this patch wrong: lp:~brightbox/vmbuilder/exclude-first-cylinder
but that would appear to create the first partition 63 sectors in. If so, this is incorrect (note I haven't tried it). Technically you should get the geometry from the disk, but most disks (not all) have 63 sectors per track and 255 heads. 63 sectors is one track in, not one cylinder in. Partitions are normally cylinder aligned, and you want a full cylinder to allow grub to have room for the MBR. Therefore, the first partition should be 63*255 sectors in, i.e. 16065 sectors, and 16065s is the offset that should be passed to parted, not 63s. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/578199 Title: ubuntu-vm-builder builds images with no post-MBR gap -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs