All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brad Campbell <brad@wasp.net.au>
To: opi@le-bit.de, qemu-devel@nongnu.org
Subject: Resizing partitions - was Re: [Qemu-devel] crash (SIGSEGV)
Date: Mon, 04 Oct 2004 23:03:09 +0400	[thread overview]
Message-ID: <41619E6D.1080600@wasp.net.au> (raw)
In-Reply-To: <200410041950.15860.opi@le-bit.de>

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

      reply	other threads:[~2004-10-04 19:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-03 23:50 [Qemu-devel] crash (SIGSEGV) Alexander Opitz
2004-10-04  1:14 ` Hetz Ben Hamo
2004-10-04  7:43   ` Alexander Opitz
2004-10-04 17:50     ` Alexander Opitz
2004-10-04 19:03       ` Brad Campbell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41619E6D.1080600@wasp.net.au \
    --to=brad@wasp.net.au \
    --cc=opi@le-bit.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.