From owner-freebsd-questions@FreeBSD.ORG Wed Dec 10 02:35:42 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 EE3C91065673 for ; Wed, 10 Dec 2008 02:35:42 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id AB8308FC14 for ; Wed, 10 Dec 2008 02:35:42 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.183]) by hub.org (Postfix) with ESMTP id 5CD7711A2872; Tue, 9 Dec 2008 22:35:42 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 24443-08; Tue, 9 Dec 2008 22:35:41 -0400 (AST) Received: from [192.168.1.2] (blk-224-204-104.eastlink.ca [24.224.204.104]) by hub.org (Postfix) with ESMTPA id B605A11A2731; Tue, 9 Dec 2008 22:35:41 -0400 (AST) Date: Tue, 09 Dec 2008 22:35:38 -0400 From: "Marc G. Fournier" To: Ivan Voras , freebsd-questions@freebsd.org Message-ID: <1EBF6B0D0F2CD9C5E4255890@ganymede.hub.org> In-Reply-To: References: <4CF66154353CD7ABCB17FB03@ganymede.hub.org> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: 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 02:35:43 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Tuesday, December 09, 2008 10:15:45 +0100 Ivan Voras wrote: > 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. 'k, that is what I figured, but how do I grow the virtual disk? I've checked the qemu-img man page, and there doesn't appear to be a method of doing this ... - -- Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkk/KvoACgkQ4QvfyHIvDvOEfQCghv9LtctUGSuagAlFbcEoNrWu udMAnixLBpCcfwOTUVkhjep/2dQSzNaD =YjqB -----END PGP SIGNATURE-----