From owner-freebsd-questions@FreeBSD.ORG Wed Dec 10 10:31:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24792106567E for ; Wed, 10 Dec 2008 10:31:45 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9E0EB8FC1B for ; Wed, 10 Dec 2008 10:31:44 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LAMM2-0007rJ-O6 for freebsd-questions@freebsd.org; Wed, 10 Dec 2008 10:31:42 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Dec 2008 10:31:42 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Dec 2008 10:31:42 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Wed, 10 Dec 2008 11:31:34 +0100 Lines: 59 Message-ID: References: <4CF66154353CD7ABCB17FB03@ganymede.hub.org> <1EBF6B0D0F2CD9C5E4255890@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4BE9293672D63465145C2AD0" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.18 (X11/20081125) In-Reply-To: <1EBF6B0D0F2CD9C5E4255890@ganymede.hub.org> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: QEMU: increase image size with FreeBSD partitions ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 10:31:45 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4BE9293672D63465145C2AD0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Marc G. Fournier wrote: >=20 >=20 > --On Tuesday, December 09, 2008 10:15:45 +0100 Ivan Voras =20 > wrote: >=20 >> 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 i= mg, 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. >=20 > 'k, that is what I figured, but how do I grow the virtual disk? I've ch= ecked=20 > the qemu-img man page, and there doesn't appear to be a method of doing= this ... >=20 I think I've incorrectly assumed you're using plain raw disk images - from the context I'd say that you're actually using one of qemu's own formats, right? The only thing I've found is this: http://kev.coolcavemen.com/2007/04/how-to-grow-any-qemu-system-image/ --------------enig4BE9293672D63465145C2AD0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJP5qIldnAQVacBcgRArDPAKC4zwq/t/AsweOsbJQu2Am2kkzlrgCgqHdn INhAvNAhTfE/bUKnSdZ5Q4U= =iVzs -----END PGP SIGNATURE----- --------------enig4BE9293672D63465145C2AD0--