The itch to try out Linux is universal. Almost everyone who is into technology has heard of it, and having another operating system option besides Windows and macOS sounds pretty appealing. However, there are many ways to run Linux and so many different distributions that it can be super overwhelming.
Having felt this itch, I started to dip my toes into the world of Linux over a year ago. However, while booting from an external USB drive quickly became my favorite way to run Linux, a lot of headaches (I almost bricked one of my laptops) and wasted time could have been avoided if I instead started my Linux journey with a virtual machine.
Related
New to Linux? Here are 7 of the best beginner-friendly distros for you to try
Get up and running with Linux in no time.
Why use a virtual machine?
There are other ways to run Linux, so why this one?
Linux can be hard to get a hang of. For some, having to memorize specific terminal commands (with each distribution having different commands for the same thing) can be overwhelming — even installing packages from the terminal can feel like a foreign concept. Plus, there are so many Linux distributions and desktop environments that even choosing which “version” of Linux to use can be a tedious task. Rather than making things even more complicated by making a separate disk partition or learning how to boot from an external USB drive, a virtual machine allows you to easily test out Linux without making things more difficult for yourself.
Using a virtual machine allows you to try out different Linux distributions quickly. For example, if you don’t like Arch Linux and think it’s overhyped, you can quickly download Fedora and boot it up on a virtual machine in minutes. Plus, if you end up not liking Linux, then you wouldn’t have wasted your time struggling with disk partitions or boot drives. If you do end up liking Linux, you can dabble in more advanced things.
Related
4 reasons you should embrace virtual machines instead of jumping straight to dual-booting
Give VMs a try
Setting up your virtual machine
So, you want to use a virtual machine, huh?
Before you set up your virtual machine, you need to choose your Linux distribution and download its ISO image. Most people recommend Linux Mint as a good jumping-off point when it comes to Linux, but since there are so many other options, you should also do some more research to find a distro that appeals to you. For example, if you like extensive customization, I highly recommend trying Fedora with KDE Plasma.
Once you have downloaded your chosen distribution’s ISO, you can pick a hypervisor (which allows you to create virtual machines). Windows 10 and Windows 11 professional and enterprise editions actually come with one built-in called Hyper-V. If you don’t want to use Hyper-V, or don’t have a supported Windows version, Oracle VirtualBox and VMware Workstation Pro (or VMware Fusion for Mac users) are good options.
If you choose to download and use a hypervisor on a Windows version that supports Hyper-V, consider turning Hyper-V off before using it. Microsoft states that keeping Hyper-V enabled could cause other virtualization software to not start or perform worse. The quickest way to turn off Hyper-V is to open PowerShell as an administrator and type Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor. To turn this feature back on, type Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor. You can also go into Control Panel, search for Turn Windows features on or off, and then check or uncheck Hyper-V.
If the above commands don’t work, you might need to disable Virtualization-based Security.
If you do not feel comfortable disabling these settings, VirtualBox and VMware have worked fine for me so far without disabling these settings.
After you choose a hypervisor, all you need to do is create a virtual machine! This is different for every virtualization software, but the previously mentioned ones are pretty intuitive. When setting up your virtual machine, you will be prompted to give your virtual machine memory and storage. Going with the default memory has fared well for me (make sure to double-check the recommended memory for your selected distro), but I recommend giving your virtual machine a good amount of storage (10 or more Gigabytes).
If your virtual machine fails to start, double-check that Hyper-V is disabled. If that doesn’t work, make sure virtualization is enabled in the BIOS.
Related
4 of the coolest things you can do with VirtualBox
Step aside virtualization platforms! Here are some fun projects you can run on your daily driver with VirtualBox
Alright, what next?
After testing different Linux distributions, you may feel more comfortable with Linux and want to try different ways of running it. My personal favorite way to run Linux is by booting from a personal USB drive. I currently do this by installing the Linux Operating System directly onto my drive, but since I recently learned that this could potentially damage it, any future Linux endeavors will be run on a Live USB with persistence.
You can also create a separate partition on your computer and install Linux on that. If you really like Linux and are okay with its quirks, you can even install it as your main OS and replace Windows (or macOS if you are daring enough). I recommend the latter approach if you have an old, unused computer (or Chromebook!) that could benefit from you breathing new life into it.

