News for hackers. Stuff that matters.
Re:Microsoft Adds an OpenSSH Client to Windows 10 by outsideoflife on Tuesday December 12, 2017 @09:01AM (#15905597)
It was foisted on me, but I created a group in our approved software policy with just me in it, added Virtualbox to the group and managed to get the change request signed off! I use Ubuntu now for everything but MS Office and the dreaded ERP client.
Re:Microsoft Adds an OpenSSH Client to Windows 10 by liopleurodon on Tuesday December 12, 2017 @09:06AM (#15905617)
good lord. I would've gone the hyper-v route, that comes with Windows 10 pro, doesn't it? (another linux only user here, so idk). Should perform better than Virtualbox too
Re:Microsoft Adds an OpenSSH Client to Windows 10 by 0xcde4c3db on Tuesday December 12, 2017 @09:11AM (#15905636)
I found out the hard way that Hyper-V prevents other virtualization software from running, notably including the x86 Android emulator.
Re:Microsoft Adds an OpenSSH Client to Windows 10 by nlawalker on Tuesday December 12, 2017 @10:22AM (#15906157)
There's another gotcha here too: if your deployment uses Windows 10 Credential Guard and/or Device Guard, the Hyper-V hypervisor is installed even though Windows reports the Hyper-V role as not installed, and you will not be able to run other virtualization solutions.

https://support.microsoft.com/en-us/help/3204980/virtualizat...

https://exoticbaryon.anset.org/2017/09/18/when-virtualbox-wo...

Re:Microsoft Adds an OpenSSH Client to Windows 10 by sangnoir on Tuesday December 12, 2017 @10:13AM (#15906078)
My guess is virtualization software is mutually exclusive. On Linux, I can't run VirtualBox and KVM at the same time: if I want to run one, I have to unload the kernel modules belonging to the other.
Re:Microsoft Adds an OpenSSH Client to Windows 10 by tinus_hn on Tuesday December 12, 2017 @10:28AM (#15906209)
Actually, it’s virtualization hardware that is exclusive.

Microsoft pulled an old trick out of their sleeve and implemented a feature, Device Guard, that requires virtualization. And of course it blocks other uses of the virtualization hardware, except, surprise surprise, their own virtualization solution.

D-, does not play well with others.

If your company requires Device Guard you can only use software based virtualization or Hyper-V.

Re:Microsoft Adds an OpenSSH Client to Windows 10 by mey on Tuesday December 12, 2017 @11:04AM (#15906569)
Yes. Other virtualization solutions in Windows (virtualbox) run in it userland, hyper-v actually boots up below your windows system and makes your desktop os a virtual machine. Other VM run side by side your desktop os. The limitation being going turtles all the way down isn't supported by CPUs. Making the waters even more complicated is that some software moved from virtual box to hyper-v (docker for windows)
Re:Microsoft Adds an OpenSSH Client to Windows 10 by Vogtinator on Tuesday December 12, 2017 @11:13AM (#15906653)
This is not true, the NT kernel itself is the hypervisor.
Re:Microsoft Adds an OpenSSH Client to Windows 10 by sterlind on Tuesday December 12, 2017 @05:18PM (#15910024)
both of you are correct:

on init, the Hyper-V driver hijacks the running Windows instance, schedules it as the 'root partition', and runs it like just another VM.

unlike 'child partitions', the root partition still has non-virtualized drivers, which run unimpeded by privileged instruction traps.

when a child partition (guest VM) is started, it's scheduled as a peer to the root. its Virtual Processors (VPs) run alongside the root partition's VPs.

when the child partition traps into the hypervisor, or uses one of the enlightened drivers, the hypervisor dispatches a bus request to the root partition, which handles the IRQ using a Virtual Service Provider implemented by the host Windows kernel.

so the hypervisor is kind of a bridge between the host Windows and the child VMs, but the host Windows actually runs as a sort of privileged VM itself, just one with full hardware access and scheduling priority.

* I work for MS, but not on any of these things.

Re:Microsoft Adds an OpenSSH Client to Windows 10 by mey on Wednesday December 13, 2017 @02:01PM (#15916550)
Thank you for elegantly explaining what my quick riff did not.
Re:Microsoft Adds an OpenSSH Client to Windows 10 by johncslack on Tuesday December 12, 2017 @04:18PM (#15909570)
Hyper-V uses a type 1 hypervisor, which sits below the NT kernel. You might be thinking about the Windows Subsystem for Linux, which does sit on top of the NT kernel.

Disclosure: work at Microsoft on the Hyper-V team.

Re:Microsoft Adds an OpenSSH Client to Windows 10 by spilk on Tuesday December 12, 2017 @03:09PM (#15908996)
This is what makes Docker for Windows useless to me.
Re:Microsoft Adds an OpenSSH Client to Windows 10 by chrisper on Tuesday December 12, 2017 @09:13AM (#15905645)
Hyper-V sucks on the Desktop. Too many features missing to allow good integration between Windows host and Linux. (Like Clipboard sharing, shared folders etc.)
Re:Microsoft Adds an OpenSSH Client to Windows 10 by 0xcde4c3db on Tuesday December 12, 2017 @10:27PM (#15911778)
In my experience it's tolerable if you know how to wrangle Cygwin/X and Samba and treat the Linux guest like a remote machine that just happens to be on a phenomenally fast network. But it definitely does suck by comparison to something like VMWare or Virtualbox with proper integration support.
Re:Microsoft Adds an OpenSSH Client to Windows 10 by ThrowawayR2 on Tuesday December 12, 2017 @12:05PM (#15907184)
> I would've gone the hyper-v route, that comes with Windows 10 pro, doesn't it?

There's 2 huge things missing from the Hyper-V integration client (LIS) when running Linux with a GUI in a VM which makes it a non-starter:

1) There is no cut and paste between Windows and a Linux Hyper-V VM.

2) There is no way to resize a Linux Hyper-V VM window. The most you can do is to set it at boot time and the max size is 1920x1080.

Kind of a pity since Hyper-V itself works very well.

Re:Microsoft Adds an OpenSSH Client to Windows 10 by johncslack on Tuesday December 12, 2017 @04:25PM (#15909623)
You're absolutely right. Hyper-V has historically focused on server use cases and not on the desktop experience. This has led to all sorts of rough edges on Windows desktop. That said, this is starting to change [1], and I'm optimistic we'll make more progress in this space moving forward.

Disclosure: work for Microsoft on the Hyper-V team.

[1] https://blogs.technet.microsoft.com/virtualization/2017/11/1...

Re:Microsoft Adds an OpenSSH Client to Windows 10 by outsideoflife on Friday December 15, 2017 @08:16AM (#15931545)
Still on windows 7 at work, so doesn't help. Ubuntu runs beautifully under Virtualbox, but this is not true of all Linux distro's. I have had problems with Mint for instance.

In fact Ubuntu is so good in Virtualbox that I even get away with running HN's hated Electron apps in the VM!