Make a virtual machine out of a G4L archive

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.

 

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 a hyper growth ad tech company. At Smartly.io he was in charge of scaling the support and its culture. At Eficode he is now leading an engineering team and running operations. He leads by example and puts a lot of emphasis on diversity and inclusion, constantly working to create a safe environment. A warm leader with a passion for memorable experiences and innovation.
Find Marc on Linkedin

Leave a Reply

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