<div>Thank You. I used something called clonezilla which did the same.</div>
<div> </div>
<div>But what you said might work too. But you are right I want to build the dest and remove the source.</div>
<div> </div>
<div>-Narahari<br><br></div>
<div class="gmail_quote">On Sun, Dec 4, 2011 at 2:10 PM, Michael H. Warfield <span dir="ltr"><<a href="mailto:mhw@wittsend.com">mhw@wittsend.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">On Sun, 2011-12-04 at 09:11 -0500, Narahari 'n' Savitha wrote:<br>> Friends:<br>><br>> I created a VMPlayer VM containing Lubuntu 11.10. It is working perfect.<br>><br>> When I created the VM though, I made it dynamically expanding upto 12GB<br>
> instead of "allocate all space now". Let us call this DISK1<br>><br>> I am trying to convert from dyanmically expanding to "allocate all space<br>> now" but I could not do it directly withing VMPlayer.<br>
><br>> I then created another disk of size of 12GB the vmdk file with "allocat all<br>> space now" option. Let us call this DISK2.<br>><br>> I mounted both drives and then logged in with GParted and used that to copy<br>
> the DISK1 Partition to DISK2 Partition.<br><br></div>This is actually a little vague here. Are you saying you copied the<br>logical partitions or the entire disk image?<br>
<div class="im"><br>> However when I make DISK2 the only drive and then start the VM it just<br>> hangs.<br><br>> I am not sure what else I am supposed to do like copying MBR or anything<br>> else.<br><br></div>
If all you did was clone the logical partitions from the first disk to<br>the second disk, yeah, your MBR and bootloader didn't get copied.<br><br>I don't think I would have used gparted for this. Assuming that the<br>
capacity of the drive images are identical, I would have just used dd to<br>copy one whole drive image over the other like this:<br><br>dd if=/dev/sda of=/dev/sdb bs=16M<br><br>That will overwrite your MBR and partition table as well as do all the<br>
partitions.<br><br>If the sizes are NOT identical, you can still do this so long as the<br>target is larger (you can expand the partition after). It might cause<br>VMPlayer to expand out the source as you access blocks that were not<br>
previously accessed but I imaging gparted would have the same effect and<br>I imagine you're planning on discarding it later once you have the new<br>image tested and working.<br>
<div class="im"><br>> Please shed some light.<br><br>> -Narahari<br><br></div>Regards,<br>Mike<br><span class="HOEnZb"><font color="#888888">--<br>Michael H. Warfield (AI4NB) | <a href="tel:%28770%29%20985-6132" value="+17709856132">(770) 985-6132</a> | mhw@WittsEnd.com<br>
/\/\|=mhw=|\/\/ | <a href="tel:%28678%29%20463-0932" value="+16784630932">(678) 463-0932</a> | <a href="http://www.wittsend.com/mhw/" target="_blank">http://www.wittsend.com/mhw/</a><br> NIC whois: MHW9 | An optimist believes we live in the best of all<br>
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!<br></font></span><br>_______________________________________________<br>Ale mailing list<br><a href="mailto:Ale@ale.org">Ale@ale.org</a><br><a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br><a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br><br></blockquote></div><br>