+ Post New Thread
Results 1 to 12 of 12
*nix Thread, Converting Physical to VM in Technical; So I download the VMWare Converter application and try to convert a Ubuntu box we have. It will only let ...
  1. #1

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241

    Converting Physical to VM

    So I download the VMWare Converter application and try to convert a Ubuntu box we have. It will only let me convert it to the destination type for ESXi.

    I need to convert it for use on VMware Server, but this option is not available - yet when I try to convert my local XP machine the option is available....

    Has anybody done this?

  2. #2

    vikpaw's Avatar
    Join Date
    Sep 2006
    Location
    Saudi Arabia
    Posts
    5,848
    Thank Post
    671
    Thanked 1,383 Times in 1,145 Posts
    Rep Power
    350
    which version of vmware server? it only supports certain OS types, so if your ubuntu is a version it doesn't support the option might be hidden.
    i recently upgraded from version 2 to 2.2 (or something like that) and it's got better support for host RAM, more OS support and some other changes.
    i have an Ubuntu VM on my Mac which uses VMware fusion and that definitely works.
    Try creating an Ubuntu VM from scratch on the VMware Server host to prove it is possible.

  3. #3

    Join Date
    Mar 2007
    Posts
    25
    Thank Post
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    16

    re

    When ever I've had to P2V a linux machine I found this useful:

    Personal Backup (VMware) Appliance

    Get the pba vm and host it, boot source machine using the pba client, image source machine and restore to new vm
    Last edited by Marc; 15th December 2009 at 01:06 PM.

  4. #4

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    I am testing this now (Ubuntu 9.10) and it was a nightmare to get the converter to run (Root login over SSH) but it seems be running now (We are using ESXi btw)

    The only "issue" is that it seems to want to create a Virtual Disk of the size of teh Physical Disk (250GB in our case) and wont allow us to resize it down

  5. #5

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,623
    Thank Post
    1,240
    Thanked 777 Times in 674 Posts
    Rep Power
    235
    Quote Originally Posted by Hightower View Post
    So I download the VMWare Converter application and try to convert a Ubuntu box we have.
    Whenever I've wanted to convert an Ubuntu machine into a VM I've simply tar-ed up the whole filesystem and un-tar-ed it on a new VM.

    --
    David Hicks

  6. #6

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    Quote Originally Posted by dhicks View Post
    Whenever I've wanted to convert an Ubuntu machine into a VM I've simply tar-ed up the whole filesystem and un-tar-ed it on a new VM.

    --
    David Hicks
    And you've not experienced any problems by doing this?

  7. #7

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,623
    Thank Post
    1,240
    Thanked 777 Times in 674 Posts
    Rep Power
    235
    Quote Originally Posted by Hightower View Post
    And you've not experienced any problems by doing this?
    Nope. Our DansGuardian / Squid box was turned in to a VM, as was our Web / Moodle server, with associated MySQL databases. Both machines just kept on running the same as if they were still physical boxes. They aren't even running the same kernels they originally had as the ones we had available compiled with Xen support were different versions, and they had different filesystems - ext3 instead of ext2. You have to change the fstab entries, probably some boot options in grub.conf, and maybe some metwork settings, but that's about it.

    --
    David Hicks

  8. #8
    danrhodes's Avatar
    Join Date
    Sep 2008
    Location
    Wath Upon Dearne
    Posts
    1,513
    Thank Post
    157
    Thanked 181 Times in 150 Posts
    Rep Power
    67
    How would I tar up a Censornet Box? bit dumb on Linux!

    D

  9. #9
    clodhopper's Avatar
    Join Date
    May 2007
    Location
    Portsmouth
    Posts
    93
    Thank Post
    0
    Thanked 11 Times in 11 Posts
    Rep Power
    18
    I'd be a little careful converting a Censornet box to a virtual machine. I know a local college that tried it and couldn't manage the traffic they had. Give the Censornet guy a shout & ask them the best way to do it, I've always found them very helpful.

    If you look at the Censornet site they have a VMware based virtual appliance now, so they might say it's best to just backup your existing box & restore the backup to the virtual appliance. I've done this for a demo that I did to show how we use CNv4 in college , installed VMPlayer on my laptop & restored a backup from our live system to show whilst off site.

    Just my two pennies :-)

  10. #10

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,623
    Thank Post
    1,240
    Thanked 777 Times in 674 Posts
    Rep Power
    235
    Quote Originally Posted by danrhodes View Post
    How would I tar up a Censornet Box?
    Can you boot from a CD or USB stick with something like SystemRescueCD? Do you have a network share somewhere where you can dump large-ish (10GB?) files? If so, simply boot your Censornet machine from CD/USB, mount the file share, mount the local disk, and create a tar file containing everything from you local disk:

    Code:
    cd /mnt
    mkdir local
    mkdir network
    mount //server/share /mnt/network
    mount /dev/sda1 /mnt/local
    cd local
    tar cf /mnt/network/machineImage.tar *
    --
    David Hicks

  11. #11
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,548
    Thank Post
    517
    Thanked 56 Times in 50 Posts
    Rep Power
    29
    So if I have a moodle install running on ubuntu on a physical box could I get that running as a vmware on my windows server 2008?

    I really have missed the boat when it comes to virtualisation!

  12. #12

    dhicks's Avatar
    Join Date
    Aug 2005
    Location
    Knightsbridge
    Posts
    5,623
    Thank Post
    1,240
    Thanked 777 Times in 674 Posts
    Rep Power
    235
    Quote Originally Posted by reggiep View Post
    So if I have a moodle install running on ubuntu on a physical box could I get that running as a vmware on my windows server 2008?
    Yes. You could get your new VM on your Windows server to boot from SystemRescueCD, partition your new VM's harddrive accordingly (or attach multiple virtual harddrives, depends how your current Ubuntu machine is configured) and just un-tar your old files right on to the new server. Don't forget to re-install Grub, too.

    --
    David Hicks

  13. Thanks to dhicks from:

    reggiep (1st February 2010)

SHARE:
+ Post New Thread

Similar Threads

  1. Physical to Virtual
    By garethedmondson in forum Windows
    Replies: 43
    Last Post: 14th January 2010, 02:15 PM
  2. Thin Client Physical Security
    By Axel in forum Thin Client and Virtual Machines
    Replies: 5
    Last Post: 11th July 2009, 12:54 AM
  3. Physical to virtual copy
    By leco in forum How do you do....it?
    Replies: 22
    Last Post: 24th April 2009, 09:53 PM
  4. physical inventory of assets
    By LCPSWolf in forum How do you do....it?
    Replies: 3
    Last Post: 18th March 2009, 09:32 AM
  5. VMWare Physical Configuration
    By JamesC in forum Thin Client and Virtual Machines
    Replies: 12
    Last Post: 26th February 2008, 11:11 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •