Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm a beginner in Hyper-V and virtualization, but I'm familiar with WSL. I recently encountered a challenge:
writing a PowerShell script to enable both WSL and Hyper-V functionalities. Additionally, I have a custom Linux ISO that I'd like to run within a Hyper-V virtual machine launched from WSL, is it possible to create PowerShell script to enable both the functionalities along with the installation of a custom made Linux distro image onto WSL and hypervisor. thanks
Last edited by ZainDurrani; 03-18-2024 at 12:23 AM.
Which distro will host this "WSL" guest? PowerShell and WSL are both Windows problems, so if you do go that route, you need to go ask over on one of the many, many Windows forums.
If, on the other hand, you wish to upgrade the host system to a GNU/Linux (Devuan or Linux Mint or Rocky Linux) or other Linux distro (such as Alpine) then you have much better possibilities and options for virtualization or even containers. For virtualization, Qemu and VirtualBox are quite useful and flexible. For containers, LXC is one way to go.
Alright thanks, I am actually using ubuntu WSL, and want to acheive this, is there a possibility using WSL to do this?, I have already enabled Hyperv functionality along with WSL by PowerShell script
Last edited by ZainDurrani; 03-18-2024 at 12:44 AM.
No,iam using windows 10 and on it wsl ubuntu 22.04 jammy, for custom ISO image can we install onto wsl? or it just work on hyper v , virtualbox
Ok, if you're going to erase Windows 10 and install Ubuntu so that you can run VirtualBox or Qemu, we are here. Otherwise you are barking up the wrong tree. There are other forums for Windows support, not this one.
The initial questions are more correctly addressed to a Windows forum, but specific (WSL) Ubuntu queries are valid here.
WSL code was contributed by Canonical (the parent company of Ubuntu) as was the Ubuntu guest code. WSL 2 runs as a light-weight virtual guest - similar but less "sophisticated" than hyper-V from a virtualization perspective (my wording). I'm not sure either would support second level virtual guest (i.e. a guest initiating a different guest), but I'd doubt it.
Personal opinion only.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.