Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C6ZvI-0002Ue-Ip for qemu-devel@nongnu.org; Sun, 12 Sep 2004 15:22:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C6ZvG-0002Tc-CC for qemu-devel@nongnu.org; Sun, 12 Sep 2004 15:22:03 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C6ZvG-0002TK-46 for qemu-devel@nongnu.org; Sun, 12 Sep 2004 15:22:02 -0400 Received: from [131.111.8.135] (helo=ppsw-5.csi.cam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C6ZpJ-0005g5-Aw for qemu-devel@nongnu.org; Sun, 12 Sep 2004 15:15:53 -0400 From: "Mark A. Williamson" Subject: Re: [Qemu-devel] Re: resize qemu image... Date: Sun, 12 Sep 2004 20:16:53 +0100 References: <200409121226.09607.os2@videotron.ca> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409122016.53368.mark.williamson@cl.cam.ac.uk> Sender: maw48@hermes.cam.ac.uk Reply-To: mark.williamson@cl.cam.ac.uk, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, daimon55@free.fr > I was just curious to try to increase the size of one of my images too, I > have just used dd and succeeded with not much problems. > My image was 500Mo with win98 on it, resized to 1Go with > dd if=/dev/zero of=win98.dsk seek=1024000 count=1024000. > Boot: ok > Dos Fdisk can add a new partition on the newly created non allocated space. Additionally, for Linux guest operating systems, if you grow the underlying partition for the existing filesystem you may be able to extend the existing filesystem to seamlessly use the extra space. Make sure you give a seek value that corresponds to the end of your virtual disk, otherwise you'll wipe some data... If you have the space you could also consider making a backup of the original before playing with resizing ;-) Mark