Make a virtual machine out of a G4L archive

Reading Time: < 1 minuteSo I took a backup of a disk using G4L.
Let’s import it into a virtual machine on a RedHat running Xen.

virt-install --import --file <myfile> --prompt

answer the few questions.
Choose "Fully Virtualized".
Turn the SELinux into permissive mode in order to configure the network. This is a known bug and it looks like it’s not corrected yet.

setenforce Permissive

Once the import is done your virtual machine should pop and boot properly.

 

Reading Time: < 1 minute

So I took a backup of a disk using G4L.
Let’s import it into a virtual machine on a RedHat running Xen.

virt-install --import --file <myfile> --prompt

answer the few questions.
Choose "Fully Virtualized".
Turn the SELinux into permissive mode in order to configure the network. This is a known bug and it looks like it’s not corrected yet.

setenforce Permissive

Once the import is done your virtual machine should pop and boot properly.

 

By Marc Olivier Meunier

Marc has spent the past few years putting oil on the fire of growth companies. He leads by example and puts a lot of emphasis on inclusion, constantly working to create a safe environment. A warm leader with a passion for memorable experiences and innovation.
Marc is available for contracting as a fractional Head of Customer Experience.
Find Marc on Linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *