Forums

Resolved
0 votes
Hi,

Does anybody has experience or knows how to convert an completly installed COS system to a VMware virtual file ?
I like to convert my server to a VMware server, but don't want to reinstall everything
Saturday, April 01 2023, 06:20 PM
Share this post:

Accepted Answer

Saturday, April 15 2023, 11:21 AM - #Permalink
Resolved
1 votes
Ok. All working now.

I needed to reconfigure my xorg su=ince the graphical card is not available any more in VM
Also i added Modes "800x600" in the xorg.conf

see : https://sfj48-fkj200.heiksthsd.cf/clearfoundation/social/community/solved-blank-screen-on-complete-fresh-install-edit-vm-conf-does-nothing

Now i can enter hte graphical console again and reconfigure the network cards easily
The reply is currently minimized Show
Responses (8)
  • Accepted Answer

    nuke
    nuke
    Offline
    Wednesday, April 12 2023, 03:49 PM - #Permalink
    Resolved
    1 votes
    Hi @Patrick.

    I suspect you might find something via Google for Centos 7 to VMWare conversion steps? Something like vmware converter software might help? Converting Physical Machines to VMWare or VMWare Converter

    I have not done the conversion you mention but I had a thought that might be helpful if this converter software isn't right for your purpose.

    When I had a failing hard drive, I tried to move/clone my installation from the failing drive to a new drive. That process was unsuccessful. However, I was able to export all my settings from the failing drive, do the install on the new drive and then import my settings. If I remember correctly it worked pretty well. Perhaps this approach would be a solution?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 13 2023, 09:08 AM - #Permalink
    Resolved
    0 votes
    nuke wrote:

    Hi @Patrick.

    I suspect you might find something via Google for Centos 7 to VMWare conversion steps? Something like vmware converter software might help? Converting Physical Machines to VMWare or VMWare Converter

    I have not done the conversion you mention but I had a thought that might be helpful if this converter software isn't right for your purpose.

    When I had a failing hard drive, I tried to move/clone my installation from the failing drive to a new drive. That process was unsuccessful. However, I was able to export all my settings from the failing drive, do the install on the new drive and then import my settings. If I remember correctly it worked pretty well. Perhaps this approach would be a solution?

    Hi Nuke,

    Cloning my physical disk is no problem. I've clones many times my disks to another disk

    I want change my setup from a physical disk to VMware image
    On;y when i clone a disk to VMware it is not working.
    I haven't found a program to clone directly to VMDK, but it is in 2 steps. For examply fist to VHD and then to VMDK

    To problem the booting after cloning.
    I get an error with Plymouth and then it fails

    dracut-initqueue timeout starting timeout scripts


    Warning : /dev/clearos/root does not exist
    Warning : /dev/clearos/swapdoes not exist
    Warning : /dev/clearos/clearos-root does not exist
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 13 2023, 12:52 PM - #Permalink
    Resolved
    0 votes
    Ok. I've found the problem.
    On default VMware is making Virtual machine with SCSI disks (recommended).
    Since the physical disk is a SSD disk on a SATA port this was not correct. Changed the setting in VMware machine to SATA and it is running.

    Only now my network cards are not working
    I think in the ClearOS setup my old hardware is still linked to the network setup.

    For some reasom the Graphical console is not working so i can not remove or add network cards.

    Any idea how to do this in the shell menu ?
    The reply is currently minimized Show
  • Accepted Answer

    nuke
    nuke
    Offline
    Friday, April 14 2023, 02:44 PM - #Permalink
    Resolved
    0 votes
    Just a thought regarding the webconfig not working. Have you checked the ports in your VM's firewall are open?

    I can't remember how I added network cards in the past. I am pretty sure that I installed the cards and then just let ClearOS find them automatically. However in in VM, you'll need to make sure that the cards have been allocated and allowed to access the vm. Sorry I can't be of much assistance.

    One other thought is to look at the redhat documentation for Redhat 7 and see how network cards can be added from the command line. I'd bet that they have this in their documentation. (???)
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 14 2023, 02:59 PM - #Permalink
    Resolved
    0 votes
    Thanks.

    It is strange.
    If I make a new machine and install ClearOS the network cards are available and no further issues.

    From the clone the network cards are not linked.
    If i do LSPCI i see the hardware, but no possibility to connect them.

    What i do not understand that graphical console is not starting.
    In the console you can easily add or change the network cards
    In other new installed COS it is working
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 18 2023, 11:51 AM - #Permalink
    Resolved
    0 votes
    Here y'go Patrick...

    You'll first need to identity the card id .. it'll be something like this ... enp3s0 - that's probably what's killing you .. the physical machine's card id probably doesn't match the VM.
    The steps/location of the files are identified in this url.

    https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-configure-centos-7-network-settings/
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 25 2023, 02:15 PM - #Permalink
    Resolved
    0 votes
    Hi Patrick,

    I always use vmware converter.It all works well, but you have to set the network card(s) on dhcp during conversion.
    After conversion is completed you have to boot in safe mode and fix the grub boot menu list, some how its flooded with "@" .
    Then you can boot and set the network card right.
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 27 2023, 09:33 AM - #Permalink
    Resolved
    0 votes
    Tux Brothers GFORCE1 wrote:

    Hi Patrick,

    I always use vmware converter.It all works well, but you have to set the network card(s) on dhcp during conversion.
    After conversion is completed you have to boot in safe mode and fix the grub boot menu list, some how its flooded with "@" .
    Then you can boot and set the network card right.


    Unfortunately i've no succes with vCenter Converter to clone the live disc directly.
    I'm getting this error

    Unable to query live source machine


    So i've cloned it first to VHD and converted to VMDK
    The reply is currently minimized Show
Your Reply