How to Install Linux Mint 21 on VirtualBox 6.1

This article provides a comprehensive guide on setting up and operating Linux Mint 21, a widely recognized Linux distribution, on a newly created virtual machine using Oracle VM VirtualBox 6.1. The process is explained for Windows 10 or 11 operating systems. Following the stages below, you can easily install and utilize Linux Mint 21 on your virtual machine, enhancing your computing experience.

How to Install Linux Mint 21 on VirtualBox 6.1

How to Run Linux Mint on a Virtual Machine using Oracle VM VirtualBox 6.1.36

Installing virtualization software such as Oracle VM VirtualBox or any other suitable alternative is necessary to operate an operating system virtually on your host computer. You can make a new virtual computer once you have successfully installed the virtualization software. Subsequently, you can establish and use the operating system of your choice within the virtual environment.

Linux Mint is undoubtedly one of the most highly coveted Linux distributions available. Most Linux entry-level users may choose this distribution because of its easy use and good support platform.

You can easily install software like VirtualBox or VMware on Microsoft Windows platforms and Linux distributions. This way, you can use an operating system virtually without losing performance without installing a dual boot system on your computer.

How to Create a New Virtual Machine for Linux Mint

After successfully installing VirtualBox on your computer, the first movement is creating a new virtual appliance and establishing your preferred operating system, Windows, Linux, or macOS. Then, you can run it efficiently without any issues.

Step 1

After opening Oracle VM VirtualBox, click New from the icons you see on the homepage, and then type the name of the system you will install in the virtual computer wizard and check the automatically determined values in the Type and Version section.

You can confidently modify the backup location of your Linux Mint virtual machine by either selecting a different location or sticking with the default one.

Creating a New Virtual Machine for Linux Mint

Step 2

Set the Memory Size setting to a suitable value according to the RAM size of your host computer. If your PC contains 16GB of RAM, allocating a memory size of 8GB to your virtual machine is safe.

Configuring Virtual Memory Size

Step 3

Since you will install a Linux Mint from scratch in the Hard Disk configuration, check the Create a virtual hard disk now switch and continue.

Create a New Hard Disk Now

Step 4

Configure the virtual hard disk file type as Oracle recommended VDI (VirtualBox Disk Image) and continue.

Selecting the VDI Virtual Disk File

Step 5

You can allocate your virtual disk dynamically or fixedly on your physical computer. If you choose the Dynamically Allocated option, space will be given from your host as much as the disk space required by the guest machine.

When you choose Fixed Size, when you configure the size of the virtual disk as 40 GB, the space you specify from your host disk will be allocated.

Choosing a Dynamically Expanding Disk Structure

Step 6

Configure the virtual disk size of the Linux Mint guest machine to 40 GB or higher, and click Create after checking the backup location.

Configuring the Size of the Virtual Disk

Step 7

Click Settings to better configure the hardware settings of the Linux Mint virtual computer.

Opening the Virtual Machine's Settings

Step 8

Open General / Advanced settings and change Shared Clipboard and Drag’n’Drop properties to Bidirectional so you can transfer files or copy text between host and VM.

Enable Shared Clipboard and Drag'n'Drop in Virtual Machine

Step 9

Disable Floppy from the devices in the Boot Order section in the System / Motherboard hardware settings and configure the Optical device as primary in the boot phase.

Configuring the Primary Device as an Optical Drive

Step 10

In the motherboard settings, specify a suitable number of virtual processors according to the CPU power of your host computer in the Processor setting.

Increasing the Number of Virtual Processors

Step 11

Leave the Paravirtualization Interface value as Default in the Acceleration settings. VirtualBox automatically determines the default value for the guest operating system you create.

Leaving the Virtualization Interface as Default

Step 12

After enabling the 3D Acceleration feature in the Display settings, increase the Video Memory size to 128 MB.

Enabling 3D Acceleration and Setting Video Memory to 128 MB

Step 13

Open the Storage device settings and delete the IDE Controller.

Deleting the IDE Controller

Step 14

Select SATA Controller and enable the Host I/O Cache feature under Attributes on the right.

Enable Host I/O Cache for SATA Controller

Step 15

Configure the Linux Mint.vdi virtual disk file as Solid-State Drive (SSD).

Setting Linux Mint.vdi as Solid-State Drive

Step 16

After selecting the SATA controller, click the optical drive icon and the Leave Empty button in the Optical Disk Selector window.

Adding an Empty Optical Drive

Step 17

After adding a blank optical drive, click the CD/DVD icon to add the Linux Mint ISO file to the virtual machine and click Choose a disk file from the options.

Adding a Linux Mint ISO File to a Virtual Machine

Step 18

Please confidently choose the Linux Mint 21 Cinnamon 64-bit ISO file you previously downloaded from this source and proceed to open it on your computer.

Choosing the Linux Mint ISO File

Step 19

To operate your USB 3.0/3.1 devices within the virtual guest OS, navigate to the device settings and activate the xHCI Controller.

Enabling the USB 3.0/3.1 Controller

Step 20

Run your prepared Linux Mint virtual computer.

Running the Virtual Computer

How to Install Linux Mint

After creating a new virtual machine for Linux Mint and adjusting the performance settings, you can start installing your system as if you were installing it on a physical PC.

Step 1

After running the Linux Mint guest machine, press Enter in the “Start Linux Mint” option in the boot menu.

Welcome to Linux Mint 21 Cinnamon 64-bit

Step 2

Wait while the Linux Mint system boots up.

Starting Linux System

Step 3

You can try before installing to experience the system when Linux Mint is opened, or you can start installing the system by clicking “Install Linux Mint” and opening the installation wizard.

Install Linux Mint

Step 4

Indicate which language you want to use in your Linux Mint guest system by selecting one of the languages listed on the left panel and clicking Continue.

Selecting the System Language

Step 5

Configure your virtual computer’s keyboard layout according to your host computer’s keyboard layout and continue.

Choosing the Keyboard Layout

Step 6

If you want to install the required codecs for some video formats on your virtual system now, check the Install Multimedia Codecs option and continue.

Installing Multimedia Codecs

Step 7

Since you have installed a clean system, delete the virtual disk’s contents and check and confirm the changes on your disk after clicking the Install Now button.

Erase Disk and Install Mint

Step 8

Select your place of residence on the map and continue.

Location Selection

Step 9

Type the name of your virtual computer and click Continue after creating a strong root password.

Making User Account Settings

Step 10

Wait while the Linux Mint operating system is installed on the virtual computer.

Copying Linux System Files

Step 11

Restart your VM after system installation.

System Reboot

Step 12

Press Enter to eject the installation media from the virtual computer during reboot.

Press Enter to Remove Installation Media

Step 13

Input your username and password that you have created, and confidently hit Enter.

Typing User Account Password

Step 14

You can review some information about the Linux system in the Welcome window.

Closing the Welcome Window

How to Install Guest Additions

After installing Linux Mint on VirtualBox, you must install Guest Additions to install the drivers for your virtual system.

Step 1

Click Devices / Insert Guest Additions CD Image from the tool menu of the Linux Mint guest machine.

Installing Guest Additions

Step 2

Click Run to start the installation from the VBox_GAs_6.1.36 media.

Running the Guest Additions Setup

Step 3

After installing the Guest Additions software on the Linux Mint guest machine, press Enter and restart your system.

Kernel Update

Step 4

You can check the full-screen resolution when you restart your virtual system.

Controlling the Full Screen Resolution

Step 5

You can see that the file transfer is successful when you drag and drop a text document from the desktop location of your host system to your virtual machine.

Transferring Files Between Host and VM

How to Configure Shared Folder

You can make faster file transfers using the Shared Folder feature in the virtual machine.

Step 1

Click Devices / Shared Folders / Shared Folders Settings from the guest machine’s tool menu.

Shared Folder Configuration

Step 2

After clicking the add new share icon in the Shared Folders settings, click the down arrow in the Folder Path section of the Add Share window and click Other.

Specifying the Folder Location

Step 3

When the Select Folder window opens, create a new public folder in a specific location of your host.

Creating a Public Folder on Host

Step 4

After adding the folder’s location, check the Auto-Mount and Make Permanent options and click OK.

Making Sharing Permanent and Automatic

Step 5

Suppose you get an error like the image below when you click on the Shared Folders shortcut created on the desktop of your guest machine. In that case, you must make the current user a member of the vboxsf group.

Shared Folder Access Permission Error

Step 6

Open the terminal, execute the sudo adduser $USER vboxsf command, and then reboot your system for the changes to take effect.

sudo adduser $USER vboxsf

Adding User to VBOXSF Group

Step 7

When you check the public folder between the host and the VM, you can see that the Shared Folder feature works successfully.

Checking the Public Folder Between Host and VM

How to Use USB Flash Memory

A USB flash memory is another way to transfer files between your host and virtual computer. This way, you can quickly transfer documents with massive file sizes to your virtual machine.

Step 1

To start, confidently insert your flash drive into your computer’s USB 3.x port. After that, create a new folder titled “Backup”.

Creating a Folder Called Backup on Flash Memory

Step 2

Click Devices / USB / Your USB Name from the tool menu to connect your USB flash drive to the virtual machine.

Connecting USB to Virtual Machine

Step 3

You can now seamlessly use your USB 3.0/3.1 devices in your Linux Mint virtual system.

Checking Contents of USB Disk in Virtual Computer

Video

Installing Old Versions

Mint Version
YouTube Video
Slide
19
21 (NEW)

 

Related Articles


How to Install Guest Additions on Windows VMs
How to Install VirtualBox on Kali
How to Run Debian with VirtualBox
How to Run Ubuntu with VirtualBox
How to Install Oracle VM on Mint

3 Comments

  1. Vinicio 3 March 2020

    Thanks! Very useful.

    Reply
    • Tolga Bagci 3 March 2020

      You’re welcome, Vinicio!

      Reply
  2. drnee 12 May 2023

    Everything is neat and clean. Instructions are awesome. Thanking You Togla.

    Reply

Add a Comment

Your email address will not be published. Required fields are marked *