Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-02042 // Views: 22 // Created: 2021-10-05 11:07:06 // Last Updated: 2021-10-05 11:07:06
HowTo
How to create an image of the hard disc of your Simulator and to import it into a Virtual Machine

Requirements
  • A hard disc, which can be formatted and has enough space to duplicate the simulators OS 
  • A LIVE-USB of a Linux Distribution with installed fdisk, dd, qemu-img and cifs-tools 
Steps
  1. Boot the OPAL-RT simulator into your Live-Linux 
  2. Check if the hard disc got recognised:
    sudo fdisk -l
    Expected result:
  3. Mount the external hard disk/network storage in the live OS to the path using /mnt
    sudo mount /dev/sdb1 /mnt [for external hard disc] 
    sudo mount -t cifs -o rw,username=gast,password=gast //<hostIP>/<ShareName> /mnt [for network distributions]
  4. Create a bit copy of the original hard disk:
    sudo dd if=/dev/sda of=/mnt/OP5600.img status=progress
    This image is already qemu/kvm compatible at this point and can be mounted there as a harddisk
  5. Convert the created image to a VM compatible format
    sudo qemu-img convert -f raw -O vmdk /mnt/OP5600.img /mnt/OP5600.vmdk
  6. Follow this KB to import the image into a Virtual Machine:
    https://www.opal-rt.com/support-knowledge-base/?article=AA-01281
    As the hardware changed, a new license is required to use the VM as your target. Follow this KB to request a new license:
     https://www.opal-rt.com/support-knowledge-base/?article=AA-01022