Skip to the content.

« Main Page

Installing Linux

In this blog I will write about the installation of 3 of linux operating systems : Ubuntu, Debian & MX Linux, via WSL2 and VMware Workstation 16 Player.

Installing Ubuntu 22.04 LTS with WSL2.

In order to use WSL2. We have to start by downloading Windows Subsystem for Linux Preview from Microsoft store.

Windows Subsystem for Linux Preview

You can open Windows Subsystem for Linux Preview now but it won’t be useful until we install a distribution.

After that download Ubuntu 22.04 LTS from Microsoft store.

Ubuntu 22.04 LTS

Then open the downloaded Ubuntu. This will start the installation of Ubuntu 22.04 LTS, asssuming you have already downloaded Windows Subsystem for Linux Preview.

Installing Ubuntu

Then select you language.

Language Selecting in Ubuntu

Setup your profile.

Setting up Profile in Ubuntu

You can leave this section as it is and continue.

Advanced setting in Ubuntu

The installation is complete!

Ubuntu setup completed

After that you will be greeted with a terminal.

Ubuntu Terminal

Try updating and upgrading all software by :

Then terminate Ubuntu so the settings can be applied.

wsl -t Ubuntu-22.04

Terminating Ubuntu

After open WSL2 or Ubuntu again all the settings are applied and Ubuntu is ready to be used.

Testing Ubuntu 1 Testing Ubuntu 2 Testing Ubuntu 3

Installing Linux on VMware Workstation 16 Player Virtual Machine.

Installing VMware Workstation 16 Player.

Start by Downloading VMware Workstation 16 Player from https://www.vmware.com/products/workstation-player.html.

Download page

After opening the installer, when this window pop up, restart your computer to let Windows finish the neccessary updates.

Restart prompt

Open the installer again.

VMwareInstaller

Accept the terms in License Agreement.

VMware License Agreement

Tick Install Windows Hypervisor Platform (WHP) automatically.

Install WHP

Tick both options.

Custom Setup

Tick both options.

User Experience Settings

Tick where you want VMware Workstation 16 Player’s shortcut to be in.

VMware Shortcut

Begin the installation.

Install VMware

Click Finish.

Finish Installing

Restart your computer to let VMware Workstation 16 Player finish setting up its configuration.

Restart Prompt

Open VMware Workstation 16 Player. You can use VMware Workstation 16 Player for free for non-commercial use.

Version Select
Finally done with setting up VMware

Now VMware Workstation 16 Player is ready to be used.

VMware

Installing Debian 11.4 on VMware Workstation 16 Player Virtual Machine.

Start by downloading Debian 11.4 iso image from https://www.debian.org/distrib

Debian's Website

This blog will only cover how to install Debian via the Internet using Small CDs or USB sticks option.
https://www.debian.org/distrib/netinst
For x64 download amd64.
For x32 download i386.

Installing Debian via the Internet

Open VMware Workstation 16 Player. Create a new virtual machine.

VMware

Install the guest OS with the downloaded iso file.

Installing guest OS

Name your virtual machine and select its location.

Name VM and set its location

Specify disk capacity for your virtual machine. Choose split virtual disk into multiple files for easier time moving the virtual machine to another computer.

Specify virtual disk size

Click Customize Hardware.

Ready to create

Adjust the virtual machine’s memory to your liking.

Adjusting memory

Open the virtual machine. Choose Graphical install.

Debian BIOS

Select a language.

Select a language

Select your location.

Select your location
Select your location
Select your location

If there is no locale defined for the language and location you selected you will have to choose your locale.

Select your locale

Configure you keymap.

Select your keymap

Enter the hostname for the system.

Hostname

Enter your domain name. Home users can leave this blank.

Domain Name

Set up password for root account.

Root's Password

Enter your full name.

User's full name

Enter your username for your account.

Username

Set up password for your account.

Your Password

For inexperienced users, choose Guided - use entire disk.

Partition Disk

Select your virtual disk to be partitioned.

Partitioned Disk

For inexperienced users, choose All files in one partition.

Partitioning Scheme

Finish Partitioning and write changes to disk.

Partition Summary

Click Yes.

Confirm Partitioning

If you want the installer to scan additional DVD installation media to install some additional packages on your system click Yes. Otherwise click No.

Scan extra installation media

Select a Debian archive mirror country that is close to your network for faster download time.

Debian archive mirror country

Select a Debian archive mirror. Usually, deb.debian.org is a good choice.

Debian archive mirror

If you use need to use a HTTP proxy to access the outside world, enter the proxy information. Otherwise leave this field blank.

Proxy information

Choose if you want to participate in the package usage survey.

Package usage survey

Choose additional softwares that you want to install. You can leave it as the installer suggested.

Additional software

Install the GRUB bootloader on the primary virtual drive.

Grub bootloader

Select the primary virtual drive.

Select the primary virtual drive

Finish the installation.

Finish the installation of Debian.

Now your Debian is ready to be used.

Debian

But you need to add your user to sudo group first in order to use any sudo command in Debian.

Not in sudo group

In sudo group

Some more testing.

Testing Debian
Testing Debian
Testing Debian

Installing MX Linux on VMware Workstation 16 Player Virtual Machine.

Start by downloading MX-21.1 iso image from https://mxlinux.org/download-links/.

MX Linux website

Open VMware Workstation 16 Player. Create a new virtual machine.

VMware

VMware Workstation 16 Player doesn’t know what OS this iso file is, so we will install the OS later.

Installing guest OS
Creating a blank machine

Let the virtual machine use Ubuntu or any Linux for now.

Placeholder OS

Name your virtual machine and select its location.

Name VM and set its location

Specify disk capacity for your virtual machine. Choose split virtual disk into multiple files for easier time moving the virtual machine to another computer.

Specify virtual disk size

Click Customize Hardware.

Ready to create

Adjust the virtual machine’s memory to your liking.

Adjusting memory

Connect to your iso file and finish the creation.

CD/DVD (SATA) setting

Open the virtual machine. Select MX-21.1 x64 (April 9, 2022) or the version of MX that you downloaded.

MX Linux BIOS

You will be greeted with a desktop right before the installation. Select or open Install MX Linux.

Install MX Linux

Change your keyboard setting to your liking then click next.

Term of Service and Keyboard setting

For inexperienced users, select Regular install using the entire disk.

Select type of installation

Click yes to format the virtual disk.

Format confirmation

Install GRUB for Linux and Windows on MBR and use your virtual disk as system boot disk. You can press next now, The installer will need your inputs to finish installing.

Install GRUB

You can leave computer network names as they are and click next.

Computer network names

Select your locales and timezone. You can make the system clock use your timezone time and choose clock format.

Locale and time

Set your user account’s and the root account’s names and passwords. Your account username can’t have spaces.

Accounts

Finish the installation.

Finish with MX

After rebooting the virtual machine, The MX Linux is ready to be used.

MX

Or it might not be ready to use.

Unable to update

We can use MX Updater to upgrade our softwares.

Run MX Updater.

MX Updater

Click View and Upgrade.

MX Updater

Click Upgrade.

MX Updater

Enter your password.

MX Updater

After MX Updater done upgrading software. Run sudo apt update again. It will say that it couldn’t connect to the MX repository.

Can't connect to MX repository

So, let’s use MX Repo Manager to change our MX repository.

MX Repo Manager

Enter your password.

MX Repo Manager

Select a MX repository that’s close to you or the Utah or Milan mirrors.

MX Repo Manager

Now sudo apt update and sudo apt upgrade should be working properly.

Updated
Upgraded

Some more testing.

Testing MX Linux
Testing MX Linux

MX Linux uses a lot more space than Debian did. I’m glad there was still availble disk spaces.

MX disk spaces