Ah, that was not too hard.

In /usr/share/pyshared/VMBuilder/disk.py line 282/283, I changed:
    def mkfs_fstype(self):
        return { TYPE_EXT2: ['mkfs.ext2', '-F'], TYPE_EXT3: ['mkfs.ext3', 
'-F'], TYPE_XFS: ['mkfs.xfs'], TYPE_SWAP: ['mkswap'] }[self.type]

into:
    def mkfs_fstype(self):
        return { TYPE_EXT2: ['mkfs.ext2', '-F'], TYPE_EXT3: ['mkfs.ext3', '-I 
128', '-F'], TYPE_XFS: ['mkfs.xfs'], TYPE_SWAP: ['mkswap'] }[self.type]

This made the dapper vm boot.
However, the kernel line in grub is not correct and needed to be edited during 
the boot:
kernel          /boot/vmlinuz-2.6.15-52-amd64-server root=/dev/hd<bound method 
Disk.devletters of <VMBuilder.disk.Disk object at 0x7feee257c8d0>>1 ro quiet 
splash

-- 
Dapper images fail to boot
https://bugs.launchpad.net/bugs/285093
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to