M
M
Mikhail T2021-03-11 10:13:52
Virtualization
Mikhail T, 2021-03-11 10:13:52

How to virtualize a physical CentOs7 server?

the remote physical server at the hoster
on a raid of two SSD 250 runs CentOs7, in it the VMBitrix
hoster made a bit-by-bit copy of the disk in the * .hdd format
, I have Hyper-v, the virtual machine
deployed a clean CentOs7, I mounted the image with a copy of the copy
via dd on a separate disk, on sda - the machine does not start
how to do it right?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
rPman, 2021-03-11
@rPman

The hoster gives you two *.hdd files, what are they? sector-by-sector copy?
create a machine in the virtual machine manager, set the amount of memory processor network, add two disks, each from its own file, start the machine
if it does not start, then select the correct boot disk in the machine settings or change the order of the disks (I don’t know how your boot was organized)
If was efi, then you need to enable its support in the virtual machine, I don’t know if hyper-v has this option, but other virtual machines like qemu-kvm/virtualbox have support

A
Alexey Dmitriev, 2021-03-11
@SignFinder

Deploy VMBitrix on a virtual machine, not pure Centos, and copy the necessary configuration files to /etc/ (bitrix, mysql, nginx, httpd, php)_, the website \ sites data itself and the databases from them.
Or figure out why it doesn't start - for example, the disk names do not match in fstab, etc.

J
justhostRU, 2021-03-12
@justhostRU

>copy via dd to sda - the machine won't start
, why should it start? I don't see anything about installing bootloader.
install the grub bootloader according to any convenient manual on the net

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question