No internet after converting from qcow2
Posted: 10. Mar 2021, 15:35
Hello,
I will start by explaining my whole predicament. I am using a Windows 10 host system with WSL2 used heavily for coding and as part of my studies, I need to run a provided Debian 10 system image. Problem is, we are expected to use qemu with KVM and the format is qcow2. Without KVM it is impossibly slow and since it does not work in WSL and afaik nested virtualization in VBox requires disabling Hyper-V (thus breaking WSL), I decided to convert the file to vdi and import it into VBox (v6.1.18). Everything seems to work fine apart from the fact that there is no network connection with either NAT or Bridged Adapter. To get internet in qemu I used the following flag
Now, I'm no expert when it comes to VMs and would like to ask whether there is some additional configuration on the guest side I should try or maybe there is a different solution that would enable me to work with this image on Windows with hardware acceleration and Hyper-V enabled? On the host side, I've tried different adapters, with various promiscuous mode settings and changed the paravirtualization interface to KVM. Installing Linux on dual-boot is a last resort for me.
Thanks in advance
I will start by explaining my whole predicament. I am using a Windows 10 host system with WSL2 used heavily for coding and as part of my studies, I need to run a provided Debian 10 system image. Problem is, we are expected to use qemu with KVM and the format is qcow2. Without KVM it is impossibly slow and since it does not work in WSL and afaik nested virtualization in VBox requires disabling Hyper-V (thus breaking WSL), I decided to convert the file to vdi and import it into VBox (v6.1.18). Everything seems to work fine apart from the fact that there is no network connection with either NAT or Bridged Adapter. To get internet in qemu I used the following flag
Code: Select all
-net nic,model=virtio -net userThanks in advance