S
S
Spaceoddity2020-11-13 06:17:27
linux
Spaceoddity, 2020-11-13 06:17:27

Linux on a virtual machine or a second OS?

Without holivars and preaching!
I googled a bit and tend to choose "virtual". But there are a few points.

1. Linux is needed for work (frontend). Not directly needed, needed, but occasionally it is necessary to deploy some kind of development environment specifically on Linux. I want the system to be ready for this (the necessary software, ideas, settings). Here, as far as I understand, installing a second OS will not give any special advantages and, in principle, you can sit on a configured virtual machine.

2. How problematic will it be to install a second OS in terms of disk resources? Those. it is necessary to chop off the partition for the second system from the first HDD. And what about the second HDD (not system, NTFS) - will it be available for Linux? Or is it better to have disk space for it in conditional ext4? How much does a conditional Ubuntu with software for IT development approximately take?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
V
Vladimir Korotenko, 2020-11-13
@Spaceoddity

It's better to install WSL
https://habr.com/en/post/412633/
For more difficult tasks, it's definitely virtual machines and it's better to take hyper-v since it's built into windows-10
The only case when you need Linux on a physical machine is computing on a video card and access to physical iron, and cunning iron. Type of network card or modem

P
Pavstyuk, 2020-11-13
@Pavstyuk

I don't think you need Linux at all. What's so special about linux that you're going to do that won't let win? What is this specific software?
One thing seems to me true, if you put linux in a virtual machine, then it won't take long to wait until the second axis. And then in a year or two, the first one will no longer be needed.

C
CityCat4, 2020-11-13
@CityCat4

NTFS ro - will work fine, although I recently encountered that not all reparse points are supported. NTFS rw - I personally try not to use it - I don't know how ntfs-3g was written - according to official documentation or reverse, I don't want to risk it.

A
Adamos, 2020-11-13
@Adamos

If you only need to emulate a server for development - a virtual machine, of course.
This is also true for Linux as the main system.
The real system makes sense if you are going to work in Linux and are ready to ask yourself sooner or later if you need Windows at all.

D
Dmitry, 2020-11-13
@silverstringer

Use docker, you can deploy on any OS, preferably Linux. If there is no need for CI/CD and use KVM etc.

A
Aryeh Leonid R., 2020-11-19
@aryeh

I'm in a similar case (working from home on Win 10, server development - must be Debian) using VirtualBox and a Debian guest. I have several VMs for different projects. Everything is very convenient.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question