The steps below will go through restoring a Centos 7 system with software RAID 1 VMWare instance to the IONOS environment.

Test from scratch:

  1. Create server image on IONOS with just 2 disks
  2. Add Cdrom
  3. Boot from Acronis rescue image
  4. Choose Rescue Media
  5. Go to Tools Menu and choose “Volume Representation” change to linux-like representation
  6. Choose “Manage this machine locally”
  7. Choose “recover”
  8. Choose “Select Data”
  9. Click “Browse”
  10. Select Cloud storage on left and then choose “Login”
  11. Login with contract-backup unit name and password
  12. Click OK
  13. Choose backup file then click “Hide Archives and Backups”
  14. Click check box at top of each section to select all disks and files
  15. Click Apply RAID/LVM configuration
  16. Leave defaults and click “OK” to begin restore
  17. When complete click close
  18. Upload a Centos 7 install ISO to your DCD environment, follow instructions here https://docs.ionos.com/dcd/administration/images-and-snapshots
  19. In DCD select CDROM drive and set image to Centos live Iso
  20. Resolve errors that come up by setting HD volume metadata to linux
  21. Right click on server and go to console
  22. At Centos Boot screen choose “troubleshooting”
  23. In terminal/console run dracut -f
  24. Then choose “Rescue a Centos System”
  25. Choose 1 continue
  26. Press enter to get shell
  27. Chroot /mnt/sysimage
  28. Run command blkid and screen cap for UUID reference (or can take UUID from grub2.cfg)
  29. Run dracut –mdadmconf –fstab –add=”mdraid” –add-drivers=”raid1″ -f /boot/initramfs-3.10.0-1160.42.2.el7.x86_64.img 3.10.0-1160.42.2.el7.x86_64 your kernel.img and version will probably be different, enter your own versions for initramfs-your kernel and your kernel number again
  30. Vi /etc/grub2.cfg
  31. Change first set root with mduuid to new UUID no dashes
  32. Change kernel path section from dev/md2 with ROOT=UUID=new UUID with dashes
  33. grub2-mkconfig -o /boot/grub2/grub.cfg
  34. Vi /boot/grub/menu.1st and change UUID as changed before in /etc/grub2.cfg
  35. Boot from disk by selecting boot from local disk in centos DVD boot menu, or detach/delete CDROM drive from your instance and set first disk as boot in IONOS DCD.

Other Resources

Download

Copy to Clipboard