1)Shutdown the vm
2) vmware-vdiskmanager   -x <new size> <file.vmdk>
3) boot the VM
4) Resize the partition & filesystems using standard linux tools... (parted,etc...)

Voila.

On 10/26/06, Shachar Shemesh <[EMAIL PROTECTED]> wrote:
Michael Ben-Nes wrote:
> Hello,
>
> I need to move Debian from a Vmware with 1GB space to a new one with 2GB.
> What is the easiest way to achieve exact copy ?
Same as between hard disks, I guess.

Connect the new hard disk to the existing machine. Create the partition
layout you want. Copy the files over (I use tar for that, usually).
Don't forget that /dev/ is mounted as a ramdisk, but it has a couple of
crucial files on the main partition, so those must be copied as well.

When you're done, chroot into the new disk, install grub/lilo, and you
should be done.
>
> Thanks,
> Miki
>
Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting ltd.
Have you backed up today's work? http://www.lingnu.com/backup.html


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




--
Not gonna be king of the world if you're slave to the grind
- Skid Row

Reply via email to