1 Oct 02:36
Re: Increase size of file-based diskimage (with MBR, partitions + fs)
Todd Deshane <deshantm <at> gmail.com>
2008-10-01 00:36:20 GMT
2008-10-01 00:36:20 GMT
On Tue, Sep 30, 2008 at 6:54 PM, Henrik Holmboe <henrik <at> holmboe.se> wrote: > Hello all, > > I have been struggling with a problem for some time and haven't quite > found a working solution. Tried to search the mailing list and other > online resources but still got stuck. > > What I have: a diskimage stored in the fs on dom0. The image is not > just a filesystem, but contains a full disk presented to the domU. Thus > it contains an MBR, partition table and a single ext3 filesystem. No > LVM is not used in the domU. Both dom0 and domU is Centos 5.2. > > What I want to accomplish: increase the size of this diskimage, resize > the partition and filesystem. > There are a couple ways that are slight variations on the things that you have tried that have worked for me. Simplest way, if it works, is to simply create a "disk image" with dd and append it onto your disk image. Something like: dd if=/dev/zero of=space.img bs=1M seek=1024k count=1 cat space.img >> your_small_image.img Then what you have is unallocated space at the end of your image file, which you can then resize the partitions the way you want to get them to use the newly added space(Continue reading)
.
>
> Kindest regards,
>
> Peter.
>
> On Friday 22 August 2008 17:38:14 Dustin Henning wrote:
> > Peter,
> > Regarding installing SP1a and SP2, it may be possible to go directly
> > to SP2 (unless you are referring to.net 2.0 service packs and not WinXP
> > service packs), but I don't remember for sure, and this wouldn't affect your
> > problem, it's just a thought for future reference.
RSS Feed