qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] resize qemu image...
@ 2004-09-12 16:26 Marc Collin
  2004-09-12 18:18 ` [Qemu-devel] " Ronald
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Collin @ 2004-09-12 16:26 UTC (permalink / raw)
  To: qemu-devel

hi

i created 1gb hard disk image for qemu, how to resize it to 2gb ?

thanks
-- 
La boîte à prog http://www.laboiteaprog.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] Re: resize qemu image...
  2004-09-12 16:26 [Qemu-devel] resize qemu image Marc Collin
@ 2004-09-12 18:18 ` Ronald
  2004-09-12 19:16   ` Mark A. Williamson
  0 siblings, 1 reply; 3+ messages in thread
From: Ronald @ 2004-09-12 18:18 UTC (permalink / raw)
  To: qemu-devel

Le Sun, 12 Sep 2004 12:26:09 -0400, Marc Collin a écrit :

> hi
> 
> i created 1gb hard disk image for qemu, how to resize it to 2gb ?
> 
> thanks

Hi Marc,

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Re: resize qemu image...
  2004-09-12 18:18 ` [Qemu-devel] " Ronald
@ 2004-09-12 19:16   ` Mark A. Williamson
  0 siblings, 0 replies; 3+ messages in thread
From: Mark A. Williamson @ 2004-09-12 19:16 UTC (permalink / raw)
  To: qemu-devel, daimon55

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-12 19:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-12 16:26 [Qemu-devel] resize qemu image Marc Collin
2004-09-12 18:18 ` [Qemu-devel] " Ronald
2004-09-12 19:16   ` Mark A. Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).