this post was submitted on 13 Sep 2024
44 points (95.8% liked)

Linux

48187 readers
1369 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I have a friend thats setting up linux (ubuntu) on his machine. He has a windows installation. I personally use mac as my primary OS, but I've had a linux partition on my machine as well, and I'm having a slightly hard time giving him good advice as to what solution he should choose when setting up linux (I don't even know how I would partition a disk on a windows machine to prep it for dual booting).

My question is quite simple: What are the pros/cons of WSL vs. Dual Booting vs. Virtualbox, both with regards to setup and with regards to usage?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 2 months ago

In my book WSL and VM share the same downside in that you're only abstracting Linux functionality in relation to the hardware.

Linux really shines when it has full access to the actual hardware as opposed to asking it's environment nicely if it's allowed to do something.

For example, I routinely need to change my IP address to talk to specific networks and network hosts, but having to step over the virtualisation or interpretation layer to do so is just another step, thus removing the advantage of running linux in the first place.

Sure, VMs and dual booting have their uses, but the same uses can be serviced by an actual linux install while also being infinitely more powerful.

I played around with WSL for a while, but you notice really quickly that it is not the real thing. I've used virtual box for some use cases, but that too feels limiting ad all of the hardware you want to fully control is only abstracted.

I would say that unless he has a really good reason why he wouldn't want to go for dual boot, then he should do just that.