Linux On Windows 10: Running Ubuntu VMs Just Got a Lot Easier, Says Microsoft (zdnet.com)
Liam Tung reporting for ZDNet: Ubuntu maintainer Canonical and Microsoft have teamed up to release an optimized Ubuntu Desktop image that's available through Microsoft's Hyper-V gallery. The Ubuntu Desktop image should deliver a better experience when running it as a guest on a Windows 10 Pro host, according to Canonical. The optimized version is Ubuntu Desktop 18.04.1 LTS release, also known as Bionic Beaver. Microsoft's work with Canonical was prompted by its users who wanted a "first-class experience" on Linux virtual machines (VMs) as well as Windows VMs. To achieve this goal, Microsoft worked with the developers of XRDP, an open-source remote-desktop protocol (RDP) for Linux based on Microsoft's RDP for Windows. Thanks to that work, XRDP now supports Microsoft's Enhanced Session Mode, which allows Hyper-V to use the open-source implementation of RDP to connect to Linux VMs. This in turn gives Ubuntu VMs on Windows hosts a better mouse experience, an integrated clipboard, windows resizing, and shared folders for easier file transfers between host and guest. Microsoft's Hyper-V Quick Create VM setup wizard should also help improve the experience. "With the Hyper-V Quick Create feature added in the Windows 10 Fall Creators Update, we have partnered with Ubuntu and added a virtual machine image so in a few quick minutes, you'll be up and developing," said Clint Rutkas, a senior technical product manager on Microsoft's Windows Developer Team. "This is available now -- just type 'Hyper-V Quick Create' in your start menu."
A few years back that might be useful..... it's too little too late.
Who would slap a crappy distro on top of W10?
Has proven to be a bad idea every single time.
It would be nice to have this the other way. I use Linux as my Desktop OS, but it might be nice to run Windows in a VM condom to play games without having to physically disconnect my primary Linux hard drive to keep Microsoft's dirty mitts off of it when I boot Windows.
Can I run Linux's new Code of Conduct on Windows natively nor or what?
First you speak of Linux... by which, I assume, you mean Linux/GNU, and not e.g. Linux/Android.
But then you speak of Ubuntu... which is also not Linux/GNU, but Linux/systemd/Gnome3.
So... which one is it?
And in case you mean GNU, why would I run a professional OS on a toy OS? Except "because I can", of course. :) :)
But in that case, I would prefer to run said Windows inside a browser too first, and THEN run Linux inside of that.
Why would I want to run Linux in a Windows VM when I can do the opposite?
Liberty - Security - Laziness - Pick any two.
but can you turn off the windows 10 bullshit and control updates from within linux? because that's the only fucking reason i'd use windows 10 to run linux instead of just.. i dunno.. just running linux
until then, it's a tuned and stripped-down 8.1 (recent change from 7) and virtualbox to run a linux console for testing and such without needing to fuck around with a kvm or my actual debian workstation. when 2023 rolls around, the 8.1 gets kicked to the curb with no replacement. there's no way and no how windows 10 ever makes it into my house. ever. unless some big giant significant changes happen to it and microsoft's current path.
I can always appreciate such feats, and find even the insanity virtual machines running in the browser fun. (I’m not OP, btw.)
But it takes no religion to hate Microsoft. Only to be a victim of the countless crimes they committed and were convicted for or got away with.
Which, realistically, is almost everyone who ever used a personal computer. Whether they are aware of it, or not.
Hate is so immature though. It's when the triggers control you. So since I’m not a SJW or Mediterranean Mafiosi, my reaction is natural contempt. :)
I wonder why this (presumably) automatically triggers wording like that in you though... Projection?
Why would I want to run Linux in a Windows VM when I can do the opposite?
Why would I want to run Windows, AT ALL, even in a VM, even with a gun to my head, when there's GNU/Linux? Okay, maybe with a gun to my head, but that's about what you'd have to do...
Our reign has gone on long enough. Indeed. Summon the meteors.
Both Wine and various VM solutions usually run Windows programs just fine.
And thanks to Valve, now basically any game in the Steam catalogue can run on Linux. Period. Which is huge.
(Even if it actually runs on a Windows with a Linux backend, since Steam is not actually a Linux application, but merely disguising itself in some Wine wrapper, with the un-Unixy/Linuxy uglinesses hanging out left and right. Like its complete ignorance of LSM rules of where which files should go, its attempt to be its own package manager instead of using the OS one, and so on. But hey... baby steps.)
Nowadays, basically only specialty/niche software (e.g. for music production or certain industries) sometimes have problems with Wine, and otherwise, everything runs under Linux.
Not that the never-worked-fully-and-never-will Wine never stopping to be a half-done work of progress isn’t an annoying problem, of course. (I truly appreciate every bit of work that went in there, though.)
It's not Linux's job to be compatible with some greedy corporations's shitty non-platform-agnostic software (or hardware) though.
Obviously because he his the religious type.
Windows 10's update system and the complete lack of control over it has me going the other way. Some of us run simulations that can take days to complete. Some of these machines are on private networks and do not require constant updates. Microsoft has not accounted for this AT ALL. We're moving away completely...
Don't like this? Great! Stop spamming.
This works great but the Quick Create image has only ~10 GB disk space and nothing I tried was able to successfully resize the partition. I started installing my dev tools (IntelliJ, Google Cloud SDK, etc..) and I started getting low disk space warnings before I could install the final couple of applications. You can get the same result with the same enhancements if you do your own installation of Ubuntu 18.04 under Hyper-V with your own disk space requirements by following the instructions at https://blogs.technet.microsof.... Just use the ubuntu/18.04 folder instead of the 16.04 for running the install.sh script. The display performance is not as good as VMWare Workstation and there is no sound but I found Hyper-V more stable with Ubuntu than VMWare Workstation or VirtualBox. Both of which would occasionally freeze on my workstation running Linux distributions.
Now that lin-sux is programmed by stupid pathetic losers, I'm switching to Windows full time. Windows has really always been true home of radical and revolutionary masculine Logos, and nurtures total acceptance
of responsibility, roughly speaking,
Slashdot needs to start deleting some of APK's spam. I understand the desire to prevent censorship. However, it's not censorship to restrict APK to posting his spam comments to once per article. When it gets modded down, so be it. Then delete the spam when he reposts it. He's not being censored because his message has still been posted. He just doesn't get to post it over and over for the purpose of circumventing moderation. Nobody would be stopping APK from speaking, no matter how asinine the content is. He would, however, be prevented from flooding articles with garbage posts. He's been known to post the anti-semitic comment over 20 times on one article, and that's excessive. Let him post it once so he's heard, then delete any reposting in the same article.
Doesn't the host become a baremetal Hyper V and your Windows 10 Pro instance then becomes a guest? I haven't used Gen 2 Hyper V yet so forgive my ignorance.
Kriston
Do they provide complete source code, including any required compilation scripts and data that can be used to build this exact binary image that they're distributing?
Because that's what the GPL **requires** them to do.
Yea. I was going to say "Linux related article. I wonder why the APK spitballers aren't here? Their work is so important and their dedication to the betterment of humanity so vital that they deserve their own dedicated threads, sites, TLDs and network. Unfortunately, gosh darnit all to heck, none of them have a z/OS version, or I'd be a super loyal and dedicated customer.
Why would I want to run a Linux VM inside of my windows VM? Seems like that would be a huge performance hit to me. Plus my windows VM has no networking so that it can't phone home and the lack of network connectivity would be a huge inconvenience for the Linux VM. Why wouldn't I just run whatever I want natively, or in docker, or in a Linux VM?
Often hardware virtualization support defaults to off in the BIOS. With it on, there will generally be no noticable slowdown in a VM provided you give the VM a reasonable amount of RAM. You might see it called Intel VT-x or AMD-V in the BIOS. Enable it.
Sometimes people give a VM 256MB of RAM, then they are suprised that it's almost as slow as a machine with 256MB of RAM. If top performance is needed, a VM should have almost as much RAM assigned as you'd use in a bare-metal machine withh the same OS. IO buffer in the host reduce the RAM requirements a little bit.
The other thing that can happen is if you have a VM that does a ton of IO, you want to use virtio. Set the VM settings to use virtio rather than emulating a particular network card and hard drive. That can significantly faster, if the VM writes to disk a lot or it's pumping a hundreds of megabits through the network card.
I tried running Linux in a virtual machine under Windows 10, and it ran half as fast as in native mode.
This article is full of buzz words to make the concept look much more attractive than it really is.
Good points, thanks. Will definitely check out the virtio feature and pump up the RAM.
Or do you think the shit MS currently pulls with Windows 10 is not a "transgression"?
(Alright, it isn't. It’s a crime! At least in the book of actual people with actual spines, who won't take it up the ass for a few glass beads.)
How the hell you can even handle Windows 10, with its shitty window manager, non-existing package management (no an "app store" for tablet apps does not count), shitty file system, shitty cumbersome GUI, shitty platform, shitty APIs, shitty everything ... constantly spying on your every move and uploading it, looking ugly as fuck even though it puts looks above usability, requiring an anti-virus / firewall / anti-malware / anti-everything solution just to work, and "make it less shitty" software just to keep MS from making it shitty again every time it just force-reboots in the middle of work because it got a new update to add even more spying and adware and shitty crap?
You must be so numb, you wouldn’t feel a spinning ball of NATO barbwire up your asshole ...
Clearly this is not targeted at developers since Linux admins do not install guis or require RDP support. So who is this targeted for?
[the Steam store's] attempt to be its own package manager instead of using the OS one
Which is "the OS one"? Linux does not provide a package manager. Nor does GNU alone. Package management under GNU/Linux is currently the job of distributions, and different distributions' package managers tend to be mutually incompatible. So which distribution's package manager should Steam be wrapping?
Components of WSL distributed as free software are subject to the Microsoft Open Source Code of Conduct. It's based on a combination of the same Contributor Covenant 1.4 that Linux uses and a (discontinued) TODO Group Code of Conduct.
Your comment echoes WSL issue 107. The solution is to enable source debs or source RPMs or whatever in the distribution that you install in WSL, and you will get complete corresponding source code for all packages provided by the distribution.
https://tech.slashdot.org/comments.pl?sid=12520486&cid=57184660 Ray Morris sucks nazi cock on his way to molest children, HANG THIS DISGUSTING LYING NAZI FAGGOT.
Brought to you by the same people who brought you the same vacuous quasi-religious texts as "Look mom, everyone who disagrees with me is a NAZI!", "101 things to do with a bike lock" and my favorite "50 shades of blue: conforming to stereotypes without thinking THE EASY WAY"
As a VM or not. No need for Windows for that.
"Jusr fucking trust us" --Satya Nadella
"No, we won't" --experience
I need 2 things to make this useful:
A) a means to script loading/creating/launching/interacting with these virtual machines.
Perhaps Vagrant is the solution
B) I require USB support - like VMWare or Virtual Box - I need to be able to “virtualy unplug” a USB device from the host - and move it to the VM, or move it back over - Via the above script.
Why would I want to run Windows in the first place ?
even worse :
Why would I want to run Windows 10 in the first place ?
aaaaaaa
Features that VirtualBox has had for many years.
but does it run IN FAST KERNEL mode?
CLI paste? paste.pr0.tips!
Have they resolved the incompatibility of Hyper-V with other virtualization engines yet? I would love to try it, but enabling Hyper-V has always meant disabling my other VMs, which makes it virtually useless for me.
Of course they'll be happy to let you run Linux in a VM on top of Windows... then at some point they will claim to regulators and anybody else who is worried that whatever new obnoxious Windows-lock-in tech they come up with is not REALLY anti-competative, since you can still run other operating systems in a VM on top of Windows (obfuscating the otherwise obvious issue that it would require you to buy Windows in order to run Linux).
Remember when Linux people worried about replacing the generic PC BIOS with UEFI and how hard it was to install Linux on some systems during the transition?
Imagine some future motherboard tech that will not let you boot anything other than Windows and thus will not even allow you to uninstall Windows and replace it with Linux. Microsoft will assure everyone that it's for your benefit and it improves security and you can still run that toy operating system called Linux within a "safe" VM...
It's now much easier to be vulnerable to both Windows and Linux attacks.
It wasn't a good experience. You would think, after all this time, that Microsoft could create a VM package that could run a linux distro without all the massive input lag from the mouse. It's performance was abysmal.
Secondly, Hyper-V causes a few unacceptable conflicts with it just installed on the machine. There was the ATI Radeon Re-Live overlay problem. It took quite some time troubleshooting that issue down to something that isn't even remotely related. Not being able to run other VM software is another issue. One could almost make the anti-trust parallel that got Microsoft in trouble for long ago with IE.
I am sure other people experienced other unintended behavior.
Relevant to this article: Hyper-V will not run without virtualization features enabled in BIOS.
In addition to your valid points on RAM etc,, also ensure that the appropriate number ov virtual CPUs are configured. Hyper-V defaults to one.
There's a noticeable slowdown when you stress the graphics card with intense rendering or even bitcoin mining.
I just happen to be working on something where I need a windows port of a python app, and enabling ssh on a windows box is great, and I then ssh into it from from ubuntu laptop, and I can use cmd, powershell, or even bash. great! Installed vim, but I can't use it, the curses library/screen refresh doesn't work properly. If I do man man, I get the first page, and then the following pages don't show up. refresh in vim doesn't work. if I start typing the whole window goes blank. totally unusable. any idea who/where I would ask?
I just setup a nice gaming rig... i7, 32 gigs ram, 1050 TI nvidia card, ssd primary drive, 2 gig hdd, blue lights out the wazoo, and Linux Mint 19. Damn thing is zipping along better than the Windows 10 version of it with the 1080 video card. Best of all no crappy spyware installed from the OS manufacturer or unwanted software. Steam and other games are purring like a kitten on that thing.
There really isn't any need for Microsoft anymore unless you like lock ins and the threat of paying a monthly fee to run an OS you can't really manage on your own because they decide what updates and software gets installed.
I'm still not sure what canonical (ubuntu) thinks they will get out of this deep corporation with microsoft.
Did MS make them some promises (that we're not aware of)?
If there is one thing that history has taught us, it's that those who work with MS hardly get any benefit (to put it lightly), still people keep thinking - this time it will be different!
On a long enough timeline, the survival rate for everyone drops to zero.
VMs can have direct access to hardware. Once I tried adding a Windows virtual machine on top of Linux (KVM) with a PCI graphics card dedicated to that machine. I was able to get almost 100% performance out of the card (tested with a mining software) and can even overclock it.
The issue is you need a separate PCI card for each virtual machine, (or purchase an extremely expensive server class GPU with multiple VM access). There are guides for similar setups, where you'd most likely to have the on board GPU for the Linux desktop, and a PCI one for Windows gaming VM. That also requires a KVM of sorts, since they would have discrete outputs.
Why on earth would you want to run the OS that has the a much lower security posture (both default and configurable) as the host?
...lipstick on a pig
Pump pump pump it up! Pump up the Ram...
I object to power without constructive purpose. --Spock
It is noteworthy now that you can run a dedicated GPU and have the display show up on integrated graphics, all beamed through the motherboard's PCIe bus. It works cross vendors e.g. AMD integrated graphics and Nvidia separate GPU ; the reason behind this working reliably is that laptops have been exclusively using this set up for several years. Same happens when running an external GPU on a Macbookpro (with a choice of laptop internal LCD or outputs on the external graphics card).
I will stress though that you can expect this to run under Windows or Mac OS, but I will stop short of saying this works in a hypervizor or VM set up or even on single OS native Linux. (the latter might be perfectly doable if running all GPL graphics drivers but I have no idea if these set ups are tested/supported)
In the news lately : on Windows you now can run AMD integrated graphics (Ryzen 2200G and 2400G) and nvidia dedicated graphics, and get Freesync support if plugging the monitor on a motherboard output. (a feature you don't get natively on an nvidia graphics card alone). Hence my little awareness on this topic. It was also said you can use two dedicated graphics cards (AMD and nvidia) but for some technical reason the Freesync support doesn't work unless the application is aware of the set up.
So, there is reasonable hope we might have a VM set up where we don't care about dealing with two different video outputs (it would be all the more interesting for it to work on a laptop, where dual GPU is extremely common! I disabled the secondary GPU, even for running Windows...)
That also requires a KVM of sorts, since they would have discrete outputs.
Poor man's way is to use a monitor with dual input.
No, no, NO!
For the average Linux fanatic here, who certainly hates both Windows and Microsoft, the only acceptable position is this:
Linux is Gold. Linus Torvalds shits gold bricks. Microsoft is Satan and Windows is the Spawn of Satan. Thou shalt not partake of the Unclean Beast lest thou receive the Mark of Evil and be cast down forevermore!
Take a look at: https://github.com/gnif/Lookin...
Windows 10 is a glorified spyware and DRM platform. Ubuntu is a vanity project which has done for linux everything that factory farming has done for chickens.
Depends, Linux KVM has a gpu passthrough functionality and can pass the gpu through 1:1 performance tests show that you will get a 5% max performance hit if you run games that way. You will need some APU or second graphics card in your system though.
I tried it, and the performance is hot garbage, GUI stuttering all over the place and somehow the ssh-agent integration broke. ;-)
Just stick to Virtual Box guys, (or better go native
Yes, you want to run Linux on windows 10? Telemetry will surely let them know how and what you're doing. Wonderful.
Run Linux in VMWare or on bare metal.
DONT trust Microsoft, the ones who injected telemetry code in software that you write!
Often hardware virtualization support defaults to off in the BIOS. With it on, there will generally be no noticable slowdown in a VM provided you give the VM a reasonable amount of RAM. You might see it called Intel VT-x or AMD-V in the BIOS. Enable it.
Sometimes people give a VM 256MB of RAM, then they are suprised that it's almost as slow as a machine with 256MB of RAM. If top performance is needed, a VM should have almost as much RAM assigned as you'd use in a bare-metal machine withh the same OS. IO buffer in the host reduce the RAM requirements a little bit.
The other thing that can happen is if you have a VM that does a ton of IO, you want to use virtio. Set the VM settings to use virtio rather than emulating a particular network card and hard drive. That can significantly faster, if the VM writes to disk a lot or it's pumping a hundreds of megabits through the network card.
When Ram prices come down, and the standard desktop cpu is 64gigs of ram, I will run virtual I/O
Leslie Satenstein Montreal Quebec Canada
Are you thinking of virtio auto memory ballooning?
I was talking about IO (disk and network) through virtio.
It's faster and less resource intensive to just memory copy directly from the guest to the host rather than pretending to be an Ethernet chip, or a SATA card. It uses less memory, as the virtio driver is basically just a line of code - copy data from guest memory to host.
Memory auto ballooning lets the VM memory usage dynamically adapt. You CAN set it to allow the memory usage to go higher than you would go statically, or you can just set the max thr same as you would and allow it to go lower via ballooning when the guest isn't using that much RAM.