[Bug 556167] Re: vmbuilder uses parted to create disk images, which leads to broken sector counts (cannot use grub2 on disk images created by vmbuilder/parted)
Kees Cook
kees at ubuntu.com
Wed Nov 16 18:41:34 UTC 2011
Hm, I don't agree. I think the problem is in libparted/arch/linux.c
init_file():
dev->bios_geom.sectors = 32;
vs _device_probe_geometry() which defaults to what the LBA reports or:
dev->bios_geom.sectors = 63;
So, when vmbuilder uses parted to build the disk, parted treats the disk
file differently than it would a real LBA mode drive. Fixing this is the
core cause of the problem, as far as I see it.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/556167
Title:
vmbuilder uses parted to create disk images, which leads to broken
sector counts (cannot use grub2 on disk images created by
vmbuilder/parted)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/556167/+subscriptions
More information about the Ubuntu-server-bugs
mailing list