From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CEYDf-0007fY-3z for qemu-devel@nongnu.org; Mon, 04 Oct 2004 15:09:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CEYDd-0007ep-Sk for qemu-devel@nongnu.org; Mon, 04 Oct 2004 15:09:58 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEYDd-0007eL-Gb for qemu-devel@nongnu.org; Mon, 04 Oct 2004 15:09:57 -0400 Received: from [203.190.192.17] (helo=wasp.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEY6S-0007oU-Hb for qemu-devel@nongnu.org; Mon, 04 Oct 2004 15:02:32 -0400 Message-ID: <41619E6D.1080600@wasp.net.au> Date: Mon, 04 Oct 2004 23:03:09 +0400 From: Brad Campbell MIME-Version: 1.0 Subject: Resizing partitions - was Re: [Qemu-devel] crash (SIGSEGV) References: <200410040150.49551.opi@le-bit.de> <4160A400.1040003@dad-answers.com> <200410040943.08907.opi@le-bit.de> <200410041950.15860.opi@le-bit.de> In-Reply-To: <200410041950.15860.opi@le-bit.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: opi@le-bit.de, qemu-devel@nongnu.org Alexander wrote: > Hi, > > this time all worked, I've choose to format the partition ext2 and not > ext3 ... system is now installed and updated to debian unstable, network > works ... YEAH :) > > But the partition was to small :/ so I msut do it again. > where your partition file is xx.file dd if=/dev/zero bs=1M count=1000 >> xx.file (will add an extra gig to the file size) From within the VM, booting off a floppy or other image file. fdisk /dev/xxx and delete then re-create the parition with the same starting block but to fill the rest of the partition. e2resize /dev/xxx (whatever you use). I did a dodgy by copying my image. Loading both of them in qemu, expanding the non-mounted second one, then restarting the vm with the second one as the root disk. Schweet Moite! Save you a full re-install. (Works for UML's too) Brad