Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A while ago I turned my PC into dual boot with Windows and Ubuntu.
But my experience is, that I rarely boot into Ubuntu, so I wanted to make it available as virtual machine in Windows rather than as a second OS.
Can you provide me some information which is the tool of my choice and how I can achieve this migration? I already have VMWare Player installed.

share|improve this question

Have you tried VMWare vCenter Converter (http://www.vmware.com/products/converter/)? The information on the page looks promising as well as being free.

share|improve this answer
    
Yeah this looked promising on the first sight, but unfortunately it just converts the running (Windows) or a remote machine, there's no option for another local OS – Dan Lee Apr 15 '12 at 15:11
1  
@DanLee There is a Linux version of the vCenter Converter. It's on the download page right beneath the Windows version. – Scott Chamberlain Apr 23 '12 at 20:37
    
@ScottChamberlain Thanks for hinting this, I couldn't register on the site on this date, so I had to rely on 3rd party sites. However I have another machine where I need to apply the same procedure. If this will work there, I will change my accepted answer to this. – Dan Lee Apr 23 '12 at 20:47
    
Unfortunately that was a dead end too. Either I am too dumb or it simply does not work like I intend it to. But on that way I found another possibility to it, and it's edited in my answer. – Dan Lee Apr 25 '12 at 19:49
up vote 1 down vote accepted

After much juggling around, I finally found a tutorial which helped me the way through: Virtualizing a Linux System

Basically it's simple but needs a bit of work.

I needed to create images from all the existing partitions on my physical Ubuntu. I recreated a similar virtual machine and then I restored the boot loader. That's it.


Another method is to use Remastersys (much easier!)

share|improve this answer

Here I explain another way for those who have Windows OS beside the linux OS on the same machine.All of these steps are done in Virtual machine and it doesn't have any effect on your physical drives. First I give a summery to show the main idea and then I give more details.

1-In the Windows environment, create a backup of your linux EX4 partition.You can use any available backup software.(Here I used Acronis True Image 2016)

2-Create a new virtual machine in Vmware and start recovering process using the backup that you've created in previous section.

3-After doing recovery, you have the same Linux partition in your new virtual machine. Now to enable booting, you need to repair the Linux Grub which is capable of booting your system....And its done!

Some Details for implementation:

In the case of using "Acronis True Image 2016", these notes will be helpful.

1-When your are going to create a new virtual machine in Vmware, you should add "tow" hard drives for it.One hard drive must have "physical" access to your external HDD which your backup resides there.Another one must be the "virtual drive" and must be a little bigger than your Ex4 Linux partition.

2-For doing recovery process in boot, Acronis Gives you a rescue disk. Use this rescue disk in Vmware and boot the virtual system.

3-Because the virtual HDD that Vmware gives your is Raw, it is not accessible in Acronis rescue boot menu. So before starting recovery , you must create an EX4 partition from "add new disk" menu in rescue disk boot menu.

4-After doing the recovery process, you will have the exact copy of Linux EX4 partition in your VM.Now For Enable booting, use a Ubuntu live Disk for Repairing boot menu. To do so you can use this link.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.