Results 1 to 4 of 4

Thread: Reducing the size of a Virtual Machine

  1. #1
    Join Date
    Oct 2008
    Posts
    780

    Reducing the size of a Virtual Machine

    Hi Everyone,

    I am currently preparing a VMware virtual machine that I will have to send to a partner. My manager has agreed to send the DVD, only I'm afraid it is too big when I would finish.

    Are there any tools or other vmWare to reduce the size of the virtual image to the maximum (defragmentation, compression, ....) and do keep virtual disks that eventually bytes actually used (without changing the size of these theoretical discs)?

    Thanks for any help

  2. #2
    Join Date
    Dec 2008
    Posts
    239

    Re: Reduce size of Virtual Hard Disk, in Virtual PC

    The only option I've seen about this trainer is for the creation of the virtual machine. When you do again (assuming that this is the same for you) you have option "Allocate all disk space now" in the last page of the wizard (or something) that allows to say that vm file is exactly the size used on the disc this file to grow as the use of virtual hard disk increases.

  3. #3
    Join Date
    Nov 2008
    Posts
    173

    Re: Reduce size of Virtual Hard Disk, in Virtual PC

    Hi,

    => Zip compression, or better 7z is enough?

    => To reduce the size of the hard drive to the smallest size possible, you should be able to recover without a big problem. Ie:

    • Said yourself that your hard disk is comparable to a large physical partition, and you can not resize it, just create a new one, and delete.
    • In this case the procedure would be (all in the virtual machine, with his / her hard drives also virtual): you have a virtual hard disk with a partition dX pX:
    • Reduce X p ~ to its minimum (or equivalent via GParted, here we will use GParted in the virtual machine)
    • Clone the system partition pX dX disk to a new partition of pY dY a new disc (an additional virtual disk you have created to the size that goes well, cloning can also be done via GParted in the virtual machine) .
    • Remove the disc dX
    • DY hard link to your virtual machine to the former place of dX
    • Repair / redo the boot if necessary
    • It is ready

  4. #4
    Join Date
    Jan 2006
    Posts
    3,792

    Re: Reducing the size of a Virtual Machine

    You can't reduce the disk size, only increase. You'll need to add a second smaller HD and then from within the guest use either an imaging tool like ghost or MS robocopy with the /MIR /SEC options to copy the data from your large drive to your new smaller drive. When that's done, remove the old large drive, and away you go.

Similar Threads

  1. Reducing Swap Size in Linux Mint 10
    By Rufta in forum Operating Systems
    Replies: 4
    Last Post: 13-01-2011, 10:24 AM
  2. Reducing the PDF file size
    By Aaghaz in forum Portable Devices
    Replies: 4
    Last Post: 25-12-2010, 07:59 PM
  3. Reducing the font size of message in Samsung star 3G
    By Balamani in forum Portable Devices
    Replies: 6
    Last Post: 16-09-2010, 02:02 PM
  4. migrate Hyper-V virtual machine to virtual server/virtual PC 2007
    By Larry Scott in forum Windows Server Help
    Replies: 1
    Last Post: 18-03-2008, 03:32 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,565,397.04376 seconds with 17 queries