Comment 7 for bug 556167

Revision history for this message
Kees Cook (kees) wrote :

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.