This area does not yet contain any content.
« Using XCode with SVN - some Gotchas | Main | Why Jotspot is not a good wiki »
Saturday
Dec082007

Resizing a Fedora 8 Vmware Fusion image

This is how I managed to resize a VMware image for Fedora 8.

I started with a VMware Fedora 8 from thoughtpolice and a copy of VMWare Fusion.

Step 1 Resize the virtual disk

Under OS X run:
/Applications/VMware Fusion.app/Contents/MacOSdiskTool -X 40Gb fedora-8-i386.vmdk

(where fedora-8-i386.vmdk is the VMWare disk image file)

Step 2 Create an Ext3 partition in the free space.

Download the latest GParted ISO.Connect it to Vmware Fusion (VirtualMachine | CD/DVD | Choose Disk Image)

Restart Vmware but during the initial boot go into the virtual bios settings and change the boot order to make CD boot before hard disk.

Restart VMware to boot up GParted. (You can not resize the partition as it shows as unknown - but do not cry at this point!)
Select the free space and turn it into an ext3 partition.

Shutdown and disconnect the Virtual GParted CD Image.

Step 3 Adding the new partition into the Logical Volume.

I booted up into fedora to change the Logical Volume size - this may not be the best way to do it but it worked for me. then as root i executed the following.

pvcreate /dev/sda3

vgextend VolGroup00 /dev/sda3
vgdisplay -v VolGroup00

Somewhere it will display a number for Free PE on /dev/sda3

Now enter
lvextend -l xxxx /dev/VolGroup00/LogVol00

where xxxx is the Free PE number.

Finally the last step is a bit scary it resizes the partition to make use of the larger volume whilst the filesystem is mounted. But it did seem to work for me!

resize2fs /dev/VolGroup00/LogVol00

After a while the result should show something like:

resize2fs 1.40.2 (12-Jul-2007)
Filesystem at /dev/VolGroup00/LogVol00 is mounted on /; on-line resizing required
old desc_blocks = 1, new_desc_blocks = 2
Performing an on-line resize of /dev/VolGroup00/LogVol00 to 8380416 (4k) blocks.
The filesystem on /dev/VolGroup00/LogVol00 is now 8380416 blocks long.

And bingo my disk size has gone up from 7gig to 30Gig

[root@localhost dev]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
31G 3.1G 27G 11% /
/dev/sda1 190M 13M 169M 7% /boot
tmpfs 125M 12K 125M 1% /dev/shm

“In the middle of difficulty lies opportunity.”

PrintView Printer Friendly Version

EmailEmail Article to Friend

References (37)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Response: referencement
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Response: gold Ira
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Response: olejki do masażu
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Response: chiroractic
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Response: denta.elpix.pl
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Response: las vegas escort
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Response: ​Max Light
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Response: her explanation
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Response: Tods Peas Shoes
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    Resizing a Fedora 8 Vmware Fusion image - Posts - Gridfire - Matt Cooke
  • Response
    To enhance the study skills of students they should be evaluated by taking objective type exams. Teachers should have the aim to clear the concepts of students. They should focus on the most significant part of the subject.

Reader Comments (10)

Thanks, this was precisely the information I needed, and it saved me a lot of time. The only detail I had to look up elsewhere was how enter the BIOS setup mode; the thing that worked for me was 'just keep restarting, quickly click in the window and press F2 often until you got lucky'. Again, thanks a lot.

February 7, 2009 | Unregistered CommenterPeter Tax

So nice and greatest technology shared on the site. In the post has been discussed about the Resizing fedora so that can be know that in this technology. Often people are very like it.

Online Reklame

December 19, 2011 | Unregistered CommenterOnline Reklame

Mostly are very used in this technology. It is informative and interesting post shared on the site because in the site so greatful and more informative post shard on the site that can be enjoy it.
Søgeoptimering

December 21, 2011 | Unregistered CommenterSøgeoptimering

How to used fedora 8 Vmware that can be more enjoyment in this post and can be learn something new so nice and more fantastic post shared .
Etageadskillelse isolering

December 23, 2011 | Unregistered CommenterEtageadskillelse isolering

Define the Fusion i maze so that can be able to understand and know that regardinbg post. Mostly are very like it in this technology and grateful technology shared on the site.

it outsourcing

January 2, 2012 | Unregistered Commenterit outsourcing

Often are used in this software because in the discussed about the Resizing a Fedora software so that can be know that regarding post. Mostly people are very like it and enjoy it.

double glazed units

January 10, 2012 | Unregistered Commenterdouble glazed units

Author has been good efforts for the published in this technology because in the development and useful technology shared on the site so that can be able to know that and used also.


Hulmursisolering

January 23, 2012 | Unregistered CommenterHulmursisolering

Fusion images is very interesting software and useful that can be used and enjoy it in this technology. In the good and informative and also interesting technology so that can be used and enjoy it.


shop fronts

January 30, 2012 | Unregistered Commentershop fronts

Fusion image creation is a new task came into existence. The whole process of resizing the image is well written. That's nice and appreciable to share such information.
Portland Condos

February 8, 2012 | Unregistered CommenterPortland Condos

Regarding post that can be know that and how to work and used in this technology so that can be know that regarding post. Mostly are very like it. The greatful site and enjoyable so that can be used and know that about it in this technology.


société de référencement

February 10, 2012 | Unregistered Commentersociété de référencement

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>