|
You could use Disk2Vhd on a windows box to create a virtual hard drive from a system where VS2017 is installed. Not sure if the vhd produced will be mountable or runnable with virtualbox or not.
Disk2vhd - Windows Sysinternals | Microsoft Docs[^]
This may save you the time of installing VS2017 and Windows on a virtualbox VM.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
I plan to basically ghost this VM as soon as VS is installed on it. It's the only app in my windows installation. All I've done so far is install Win10 and then install VS2017 (in progress)
Both in the VM on my ubuntu machine. I no longer have a primary windows machine since I was only using windows for a couple of things I can hopefully do in a VM instead
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Virtualizing a physical machine in this way will more than likely migrate whatever problems might exist on the physical machine.
The best way IMNSHO is almost always to do a clean install, run all updates, then set up whatever apps you need, then once you're happy with the results, take a snapshot and/or back up the virtualized drive while it's still clean. From that point on, getting back to a clean, but ready-to-use state, is just a matter of copying over the one file representing the virtualized drive. I've done it countless times.
|
|
|
|
|
That's precisely what i intend to do.
I'm still working on building the initial disk though - installing VS right now.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
You're making assumptions. What you suggest is exactly what I said, except that it'd be a physical box instead of a VM. But whatever.
I've done the same countless times with the same result you've had.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Well, if you're going to start clean, you may as well do it in a VM since, well, there won't be a physical-to-virtual step.
The problem with any P2V conversion is that the physical machine may have drivers that can cause problems with a virtual machine. Or, at the very least, won't be necessary.
|
|
|
|
|
I got it running and got a state saved from a fresh install so I'm good.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Several years ago, I did some side-by-side comparisons of VmWare and VirtualBox, and discovered that DiskIO on VmWare was a lot better that VBox. I don't know if that's still true. I do have recent-ish releases of both, so I can do some testing and let you know how things compare, if you're interested.
|
|
|
|
|
That would be cool. Is VMware free?
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
VmWare player is free for non-commercial use. I like VmWare because I know how to set it up so that when you close the virtual screen, the instance keeps running in the background. Much of the stuff I do is terminal based, with the occasional foray into emacs as my IDE, so not having a gui isn't an issue, for me.
|
|
|
|
|
That's cool. I wish I would have known that before I got halfway through installing visual studio though. I'm going to see how virtualbox runs this. Maybe I'll try vmware if this doesn't work out, but if not it's back to windows as my primary OS.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
I'm running Fedora and used VirtualBox for years to run Windows in virtual machine for SQL server and Visual Studio... It worked great especially the seamless mode... However the fact that you put Windows in VM do not cure its hunger for resources so you still will hit the wall with your setup...
(As today I run SQL on Fedora and use VS Code)
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
Yeah I'm not trying to trim windows. I alloced 5GB and change of my 8GB of RAM for the VM. I'd give it more, but my host OS still needs some room to breathe.
I just was worried it would be too laggy to use, but it runs fine at my current settings.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
[Evil bastritch mode]
On Linux, you should use eclipse.
[/Evil bastritch mode]
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Eclipse crashes all the time on me. MonoDevelop is okay
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Then you have to work on the infrastructure that supports eclipse.
You're doing it wrong until 40% of your time is spent on maintaining eclipse.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark_Wallace wrote: You're doing it wrong until 40% of your time is spent on maintaining eclipse.
I'm happy with my current setup, thanks
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Might be worth considering if you really need a full VS installation -- I fully switched to Ubuntu as primary OS a couple of months ago. My C# development now all happens with .NET Core and VSCode as IDE... granted, I don't use C# that much anymore (mostly switched over to Rust, absolutely loving that language) and it's definitely not an option for you if you need VSIX projects, but it could be worth thinking about
|
|
|
|
|
I really don't like VScode. I don't know why. I like MonoDevelop on linux.
Still yeah, I need VSIX and all that. I write a lot of code generation utilities
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Why would windows in a VM be faster than just Windows?
|
|
|
|
|
I never said it was. In fact I was worried it wouldn't be fast enough. I thought that was clear in my OP.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
So if your computer is too slow, why not just install windows?
|
|
|
|
|
Because windows gets slower and slower over time and my VS seems to like to wreck windows.
It breaks on VSIX projects and then no matter what, no visual studio installation, even new installs will build vsix projects on the machine.
it's ridiculous but it's part of why i'm running in a VM. So i can just restore state and keep developing.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|