QEMU: increase image size with FreeBSD partitions ...

Ivan Voras ivoras at freebsd.org
Tue Dec 9 01:16:03 PST 2008

Marc G. Fournier wrote:
> I have FreeBSD 7 running in a QEMU VM ... works like a charm, but I'm wondering 
> if there is some way of *increasing* the size of the image beyond what I 
> configured it for?  I'm only finding stuff pertaining to NTFS/FAT32, but 
> nothing about Unix in general, or FreeBSD specifically ...
> Is there any way of doing this, or do I have to build a new, larger img, and 
> copy the data from diskA -> diskB, and reboot on diskB?  Doable, but time 
> consuming ...

I don't think there's anything automatic but you can grow the virtual
disk, then modify the last partition size by hand, then use growfs.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081209/11a45ad9/signature.pgp

More information about the freebsd-questions mailing list