LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This 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


Reply
  Search this Thread
Old 03-18-2024, 02:24 PM   #1
iperv
LQ Newbie
 
Registered: Mar 2024
Posts: 7

Rep: Reputation: 0
which distro and virtualization sw for a local host and a few win11 VMs


Hi all.

After a week of headache with win11pro, it's time for me to swith to linux.

I need an host with 3 to 6 vm that will run in my laptop - core ultra 7, 32GB ddr5, 1 TB.
The VMs will be win11.
The key - from which the headache in windows host - will be to share single internet connection per VM, provided by 1 smartphone per VM via usb.
One smartphone will be an iPhone.

This will be a personal work environment, not a pro one but I need it to be very reliable.

So, I'm not a beginner in virtualization, but not a pro at all.
My previous experiences were to virtualize anything but one distro/os per time.

My questions are:

1 - is it doable and reliable? (I think yes, of course);
2 - i would prefer ubuntu or manjaro, but if there are better choices i have no problem to switch. But maybe better an lts distro instead of a rolling one.
3 - gnome box vs kvm/qemu, or...?
4 - the most difficult to me: which network manager to chose? Are they dependant by the virtualization sw?

I saw that is possible to tether usb via iPhone, and of course the other smartphones will be android.
My biggest problems with win11pro were to assign one connection per vm, I saw too many issues and conflicts with hyper v, vmware, virtualbox.
It did work the first time and then, every time i reboot, it didn't work anymore and i had to re-do everything.
In the end i realized the problem was not the sw but the os...

Any tips and suggestions will be much appreciated.

Last edited by iperv; 03-18-2024 at 02:29 PM.
 
Old 03-18-2024, 03:09 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by iperv View Post
Hi all.
After a week of headache with win11pro, it's time for me to swith to linux.

I need an host with 3 to 6 vm that will run in my laptop - core ultra 7, 32GB ddr5, 1 TB.
The VMs will be win11.
The key - from which the headache in windows host - will be to share single internet connection per VM, provided by 1 smartphone per VM via usb. One smartphone will be an iPhone. This will be a personal work environment, not a pro one but I need it to be very reliable. So, I'm not a beginner in virtualization, but not a pro at all. My previous experiences were to virtualize anything but one distro/os per time. My questions are:

1 - is it doable and reliable? (I think yes, of course);
2 - i would prefer ubuntu or manjaro, but if there are better choices i have no problem to switch. But maybe better an lts distro instead of a rolling one.
3 - gnome box vs kvm/qemu, or...?
4 - the most difficult to me: which network manager to chose? Are they dependant by the virtualization sw?

I saw that is possible to tether usb via iPhone, and of course the other smartphones will be android. My biggest problems with win11pro were to assign one connection per vm, I saw too many issues and conflicts with hyper v, vmware, virtualbox. It did work the first time and then, every time i reboot, it didn't work anymore and i had to re-do everything. In the end i realized the problem was not the sw but the os...
Any tips and suggestions will be much appreciated.
Bolded two things above for emphasis only, because nothing you've posted makes much sense. You first say you're having 'headaches' with Windows 11, so you want to run Linux. Then say your entire goal is to run virtual machines on Linux for the sole purpose of *RUNNING WINDOWS 11*??? Why bother?? Just run Windows and run VirtualBox on it with your other Windows systems.

Pretty much any distro of Linux can run virtual machines, but if you're trying to run (minimum) of 3 Windows 11 instances plus Linux on a single core 7 with only 32GB of RAM, have you thought about that?? Even if you only allocate 8GB to each Windows instance and only run 3, you're using 24GB just for those...not including the virtualization software, plus Linux.
 
Old 03-18-2024, 03:41 PM   #3
iperv
LQ Newbie
 
Registered: Mar 2024
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Bolded two things above for emphasis only, because nothing you've posted makes much sense. You first say you're having 'headaches' with Windows 11, so you want to run Linux. Then say your entire goal is to run virtual machines on Linux for the sole purpose of *RUNNING WINDOWS 11*??? Why bother?? Just run Windows and run VirtualBox on it with your other Windows systems.

Pretty much any distro of Linux can run virtual machines, but if you're trying to run (minimum) of 3 Windows 11 instances plus Linux on a single core 7 with only 32GB of RAM, have you thought about that?? Even if you only allocate 8GB to each Windows instance and only run 3, you're using 24GB just for those...not including the virtualization software, plus Linux.
Hi!

Thank you for your answer.

I focused on what I need.
I need Win11 as guests, and 4GB per vm will be enough because i know they will be enough.
The point is with windows as host, as I wrote in my message, is a nightmare to route the various tethering via usb and I think linux is a better way to do it.
I'm asking for a suggestion about a virtualization sw and a network manager.

I think everything i posted makes sense, actually.

On the other hand, if i was an expert of virtual machines, maybe i wouldn't even posted a question.

Peace.
 
Old 03-18-2024, 04:21 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by iperv View Post
Hi!
Thank you for your answer. I focused on what I need.

I need Win11 as guests, and 4GB per vm will be enough because i know they will be enough. The point is with windows as host, as I wrote in my message, is a nightmare to route the various tethering via usb and I think linux is a better way to do it.
No, it's still going to be problematic no matter what. Windows 11 on 4GB?? Good luck, especially trying to share ONE Core7 CPU for at least 4 machines.
Quote:
I'm asking for a suggestion about a virtualization sw and a network manager. I think everything i posted makes sense, actually. On the other hand, if i was an expert of virtual machines, maybe i wouldn't even posted a question.
Again, you can use any Linux distro for this. You can use VirtualBox, QEMU, or any number of other virtualization platforms, and a 'network manager' is fairly pointless, since the VM's are only going to have the interface to the host (unless you set more up), which means that if you have an outgoing connection from the host to the Internet you're done. This is EXACTLY the same in Windows.

And again, what makes zero sense is going FROM Windows 11 to Linux, for the SOLE PURPOSE OF RUNNING WINDOWS 11.
 
Old 03-18-2024, 05:48 PM   #5
iperv
LQ Newbie
 
Registered: Mar 2024
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
No, it's still going to be problematic no matter what. Windows 11 on 4GB?? Good luck, especially trying to share ONE Core7 CPU for at least 4 machines.

Again, you can use any Linux distro for this. You can use VirtualBox, QEMU, or any number of other virtualization platforms, and a 'network manager' is fairly pointless, since the VM's are only going to have the interface to the host (unless you set more up), which means that if you have an outgoing connection from the host to the Internet you're done. This is EXACTLY the same in Windows.

And again, what makes zero sense is going FROM Windows 11 to Linux, for the SOLE PURPOSE OF RUNNING WINDOWS 11.
At the same time the running vm will be 3, but i need 6 in total, hence i need 6 different internet connections.
Intel core ultra 7 has 16 cores and 22 threads.
I need win11 because of a proprietary sw i need.


I don't understand if you carefully read my post, since i said there will be 1 smartphone per vm fisically connected via usb to share one unique connection per vm.
And yes, is possible even with windows because i did it, but windows is a nightmare about bugs and conflicts and infinite threads about azure, powershell, hyper v manager and a different setup per different version of the same program.

I would need a tip about a way to do in linux 6 bridge connections.
I don't like virtualbox because it emulates, I prefer an os running through the kernel.

And yes, the best way would be hyper v in windows, but is superbuggy.


Edit:
anyway, i will find a way.
Thank you.

Last edited by iperv; 03-18-2024 at 05:55 PM.
 
Old 03-18-2024, 06:18 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by iperv View Post
At the same time the running vm will be 3, but i need 6 in total, hence i need 6 different internet connections. Intel core ultra 7 has 16 cores and 22 threads.
Great; and running 6 VM's plus the OS is still going to be a bit much.
Quote:
I need win11 because of a proprietary sw i need.
So, AGAIN...USE WINDOWS. Why on earth are you going to run Linux for the sole purpose of running Windows, so you can run a proprietary Windows application??? Makes zero sense.
Quote:
I don't understand if you carefully read my post, since i said there will be 1 smartphone per vm fisically connected via usb to share one unique connection per vm.
Again, fine...doesn't matter one single bit, since you'll have to share the USB/bluetooth/whatever connection from your cell phone through the host to the VM. So again: each VM is going to see *WHAT YOU TELL IT TO*, which (in this case) will be whatever device you have attached to it. If you connect USB port 1 to VM 1, then you're going to have that device available. Repeat as necessary.
Quote:
And yes, is possible even with windows because i did it, but windows is a nightmare about bugs and conflicts and infinite threads about azure, powershell, hyper v manager and a different setup per different version of the same program. I would need a tip about a way to do in linux 6 bridge connections. I don't like virtualbox because it emulates, I prefer an os running through the kernel. And yes, the best way would be hyper v in windows, but is superbuggy.
Again, you can use QEMU (mentioned before), along with other Linux solutions.

And this entire endeavor makes no sense...you're wanting to run Windows-only applications under Windows, you have a Windows only solution...yet somehow you think Linux is going to be a good fit??? Sorry, no.
 
Old 03-19-2024, 02:22 AM   #7
iperv
LQ Newbie
 
Registered: Mar 2024
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Great; and running 6 VM's plus the OS is still going to be a bit much.

So, AGAIN...USE WINDOWS. Why on earth are you going to run Linux for the sole purpose of running Windows, so you can run a proprietary Windows application??? Makes zero sense.

Again, fine...doesn't matter one single bit, since you'll have to share the USB/bluetooth/whatever connection from your cell phone through the host to the VM. So again: each VM is going to see *WHAT YOU TELL IT TO*, which (in this case) will be whatever device you have attached to it. If you connect USB port 1 to VM 1, then you're going to have that device available. Repeat as necessary.

Again, you can use QEMU (mentioned before), along with other Linux solutions.

And this entire endeavor makes no sense...you're wanting to run Windows-only applications under Windows, you have a Windows only solution...yet somehow you think Linux is going to be a good fit??? Sorry, no.

I understand your point, and this is why i never tought to go with Linux to run such a system, and i did with windows.
But it doesn’t work.

In the end, your suggestion is ‘go ask in a windows forum to make it up and running with windows’?
 
Old 03-19-2024, 08:24 AM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by iperv View Post
I understand your point, and this is why i never tought to go with Linux to run such a system, and i did with windows. But it doesn’t work. In the end, your suggestion is ‘go ask in a windows forum to make it up and running with windows’?
Again: you want/have-to run a Windows only application...that means you need Windows. You (somehow) think that your system is going to be able to run 6 instances of this, and that Linux is somehow going to make it 'easier'. It won't....you want Windows, then you need to run Windows. There is literally zero reason for you to run Linux, at all, for this.

If you want to run Windows, then you DO NOT NEED LINUX, period. So yes, go ask on a Microsoft/Windows forum if you have problems like "doesn't work" with a Windows application running on Windows.
 
Old 03-19-2024, 09:46 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,852

Rep: Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310
If I understand well you want to have all the VMs independent smartphone based net.
I think your problems will be the same on linux, the solution would be more or less similar on windows and linux.
 
Old 03-19-2024, 10:24 AM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by pan64 View Post
If I understand well you want to have all the VMs independent smartphone based net. I think your problems will be the same on linux, the solution would be more or less similar on windows and linux.
Agree 100%...especially since the OP wants only Windows 11 to run a Windows-only application, and to work with an iPhone. Not sure what kind of application needs to use an iPhone based Internet connection, but it certainly sounds sketchy.
 
Old 03-19-2024, 10:28 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
I also agree the host OS it not necessarily the problem. With USB passthrough (depending on virtualization software) the phone is connected to the guest so Network Manager on the host should not be a factor and your not sharing an internet connection. I have not played with tethering on guests. I also do not know why you would need 6 separate internet connections.
 
Old 03-20-2024, 06:10 AM   #12
iperv
LQ Newbie
 
Registered: Mar 2024
Posts: 7

Original Poster
Rep: Reputation: 0
Hi all.

Thank you for your answers.
In the end, i did follow the suggestion and solved with vmware and Windows host.
The problem as you pointed out was to assign single connectiin through usb per vm.
I solved assigning priority to the networks in windows host, so it was independant by the virtualization sw.

I ended up assigning 8GB and 4 cores per vm and it works flawlessy.
As i said, only 3 vms will run at the same time.

Thank you for have pointed me in the right direction.

Edit:
Just to clarify, every vm has a bridge connection, all the connections are active in the host, but i assigned priority to the wifi in the host, so the host will run with wifi and every vm with one single usb tethering.
This system will assign single public ip to the vms and to the host, and this was my goal because of the special need of me being connected in the same website with 3 different users at the same time, everyone with different ip.

Last edited by iperv; 03-20-2024 at 06:22 AM.
 
Old 03-20-2024, 06:19 AM   #13
iperv
LQ Newbie
 
Registered: Mar 2024
Posts: 7

Original Poster
Rep: Reputation: 0
Double post.

Last edited by iperv; 03-20-2024 at 06:21 AM.
 
Old 03-20-2024, 06:25 AM   #14
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,852

Rep: Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310
good to hear that. In that case you might want to mark the thread as solved
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install Win11 as Virtualbox 7 Guest on Ubuntu 22.04 and SparkyLinux 7 LXer Syndicated Linux News 0 07-05-2023 07:15 PM
[SOLVED] Speaking of Win11 and Updates and Partition Ids kjhambrick Slackware 5 11-05-2022 03:08 AM
LXer: How To Migrate Virtualbox VMs Into KVM VMs In Linux LXer Syndicated Linux News 0 07-10-2020 01:01 AM
[Tcptraceroute/Traceroute/Ping] Windows VMs & Linux VMs BiFo Linux - Networking 0 08-24-2010 02:07 PM
LXer: Using Xen With LVM-Based VMs Instead Of Image-Based VMs (Debian Etch) LXer Syndicated Linux News 0 01-14-2009 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration