S
S
sm1tt2016-07-01 08:23:53
Debian
sm1tt, 2016-07-01 08:23:53

How to migrate debian 6 system from selectel hosting to wmvare virtual machine?

Hello! There is a cloud server on selectel with debian6 installed. I made an image of the entire disk on the fly to a remote server with the command: dd if=/dev/xvda | ssh [email protected]_of_New_Server "dd of=/path/to/disk.img"
Then on the virtual machine Wmware booted from the Debian LiveCD and performed a restore operation from the image to the /dev/sda device, all partitions were restored exactly as on the hosting, but when trying to start the system, I got an error error 13 invalid or unsupported executable format. Grub Legacy bootloader. The system uses an LVM volume. The bootloader is moved to a separate section. Tell me where to dig?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
sm1tt, 2016-07-01
@sm1tt

Ever Selectel support wrote:

This error means that the loader failed to load the Xen-specific kernel that is used in our cloud. Probably vmware does not support this kernel.

Screenshot of the download error:
5428fdc22bcc4b05bb1e1e726a900a32.png

N
nikolayvaganov, 2016-07-01
@nikolayvaganov

Onlive bitwise transfer threatens with jambs from the file system.
In the current realities, such a transfer without reconfiguring the software on the target node looks something like this:
1. We raise docker to the resource machine
2. We bring it to a working form
3. We pull containers
4. We raise docker to the target machine
5. We migrate

P
Puma Thailand, 2016-07-01
@opium

install vmware debian 6
on both systems update the packages to the latest version
then do
rsync rsync -xrlptgoEv --progress -e ssh --exclude-from=/root/exclude.txt [email protected]:/ /
exclude.txt
/etc/fstab
/root
/boot
/backup
/tmp
/etc/sysconfig/network-scripts/ifcfg-eth0
/proc
/sys
/dev
/mnt
/var/www
/var/lib/mlocate
/var/lib/php/session
/var/lib /sphinx
exclusives need to be corrected for themselves
, that is, this must be done by turning on the sound

K
ky0, 2016-07-03
@ky0

Why not determine the list of services needed for transfer, back up their configs / databases, and then restore this case to the current version of debian quietly installed in the virtual machine?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question