Running Virtual Machines on Android (without Root !!)




Setting Up Virtual Machine on Android is now possible without root.


Walkthrough Video -




Commands -


pkg update ; pkg install wget qemu-system-x86-64-headless qemu-utils -y


mkdir ~/alpine ; cd ~/alpine 


Get Iso image for Virtual Machine of Alpine Linux from here


wget -O alpine.iso <link of the iso image>



qemu-img create -f qcow2 alpine.qcow2 10G



qemu-system-x86_64 -m 512 -netdev user,id=n1,hostfwd=tcp::2222-:22 -device virtio-net,netdev=n1  -cdrom alpine.iso -nographic alpine.qcow2


Watch video to setup alpine, and after poweroff follow below commands


echo "qemu-system-x86_64 -m 512 -netdev user,id=n1,hostfwd=tcp::2222-:22 -device virtio-net,netdev=n1 -nographic alpine.qcow2" >> ~/alpine/alpine.sh


bash alpine.sh




Post a Comment (0)
Previous Post Next Post