I have started using ubuntu 7.04 (Feisty Fawn) recently. But for some of our office work, I needed older version of ubuntu(6.06). And for that I used VMWare.
Initially I allocated 6GB space to ubuntu 6.06 virtual machine, which I found that is not sufficient for my work. So decided to increase it to 10GB. And after some search in google found a way to increase VMWare disks spaces. Following blog entry is to record the steps which I followed and it might be useful for others also.
I initially tried to increase ubuntu6.06 virtual machine disk size using the following commands:
$cd /var/lib/vmware/Virtual Machines/Ubuntu6.04
$vmware-vdiskmanager -x 10Gb Ubuntu6.04.vmdk
It gave the following errors:
Using log file /tmp/vmware-msubramanian/vdiskmanager.log
This disk is part of a snapshot chain in '/var/lib/vmware/Virtual Machines/Ubuntu6.04/Ubuntu6.04.vmx'.
The selected operation can only be executed on a disk with no snapshots.
I found I have snapshots of ubuntu6.06 vmware disk.
Used the following method to remove the snapshots:
In the VMWare menu, used the Remove Snapshot option,
VM --> Remove Snapshot .. ( This is done while the Virtual machine is switched off)
Again tried using vmware-vdiskmanager it worked.
$vmware-vdiskmanager -x 10Gb Ubuntu6.04.vmdk
Using log file /tmp/vmware-msubramanian/vdiskmanager.log
Grow: 100% done.
The old geometry C/H/S of the disk is: 783/255/63
The new geometry C/H/S of the disk is: 1305/255/63
Disk expansion completed successfully.
WARNING: If the virtual disk is partitioned, you must use a third-party
utility in the virtual machine to expand the size of the
partitions. For more information, see:
http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647
$
4 comments:
Why not just create an additional virtual disk, and format it ? I did just a couple of weeks back.
For modest opinions,check my blog
www.tamilpayapulla.blogspot.com
Thanks Mugs..
It worked for me also. Landed here while browsing for the solution.
Thanks again...
Hi all,
I am working for a software integrator company. My projects includes working on Java and Ruby on Rails and Ajax. I think Web Services is really cool. We also recently have to now work on REST and they are talking about mashups and Struts. Can anyone tell me if there are some good training or conferences so that me and my team members can get to speed with these technologies. Learning from books is not my cup of tea, even not when I was doing engineering ;)
All the help that group members can provide in this regard is much appreciated.
Thanks,
Vaibhavi
Post a Comment