How to Install Ubuntu 23.10 & 22.04 on VMware Workstation 17

In this professional guide, we will examine how to install Ubuntu 23.10 & 22.04 on a virtual machine using VMware Workstation 17 Pro. It doesn’t matter whether you are just starting with virtualization or want to test this system on your existing Windows 10 & 11 system!

With our experienced content, I will show you the process of creating and configuring a VM (virtual machine) for the best Ubuntu experience. Let’s take a detailed look and discover how to run Ubuntu 23.10 & 22.04 seamlessly alongside your primary operating system using VMware Workstation.

How to Install Ubuntu 22.10 on VMware Workstation 17 in Windows 10

How to Set Up Ubuntu 23.10 & 22.04 on a Virtual Machine with VMware Workstation 17 Pro

VMware Workstation is the most popular Hypervisor Type 2 virtualization program developed by the VMware company. With this software, you can run multiple operating systems on your PC virtually. For example, installing Ubuntu on a virtual machine without a dual-boot installation can be helpful on the first try.

So, What’s New in Ubuntu 23.10 & 22.04?

Ubuntu 23.10 is great if you want to try out the newest technologies and software updates. Thus, it comes with the latest features and supports newer hardware.

Ubuntu 22.04 LTS is an excellent choice for users who need long-term support and stability. So, it’s perfect for businesses and long-term projects.

Ubuntu Versions and Features
Ubuntu VersionRelease DateDesktop EnvironmentLinux KernelSoftware UpdatesPerformance and StabilitySecurityOther FeaturesSupport Duration
23.10 (Mantic Minotaur)October 2023GNOME 44 or newerNewer Linux kernel version
  • Latest versions of Firefox, LibreOffice, Thunderbird
  • Modern software and toolsets like Python 3.12
  • Overall performance improvements and bug fixes
  • Optimizations for better energy efficiency
  • Security updates and enhanced security features
  • Improved capabilities for secure application execution and management
22.04 LTS (Jammy Jellyfish)April 2022GNOME 42Linux kernel 5.15
  • Latest versions of Firefox, LibreOffice, Thunderbird
  • Modern programming languages like Ruby, Python, PHP
  • General performance improvements
  • Security patches
  • Updated security and performance tools like OpenSSL 3.0, GCC 11
Enhanced support for Windows Subsystem for Linux (WSL)Provides security updates and maintenance for 5 years (until 2027)

How to Create a New Virtual Machine for Ubuntu

After installing VMware on your Windows 10 host computer, you can virtually install and run any version from Windows, Linux, or macOS operating systems distributions. Suppose you are considering installing a Linux system on your physical computer, and you are new to this business. In that case, you can gain experience by installing it on a virtual machine.

Step 1

After running VMware Workstation 17 Pro, click Create a Virtual Machine. Then select Custom (Advanced) in the new virtual machine creation window and click Next.

Advanced Virtual Machine Creation

Step 2

Configure the hardware compatibility setting of the virtual machine as Workstation 17.x.

Configuring Hardware Compatibility

Step 3

In the Guest Operating System Installation window, select “I will install the operating system later” and click the Next button.

I will install the OS later

Step 4

In the Guest OS selection window, select the Linux / Ubuntu 64-bit version and click Next.

Choosing a Guest Operating System

Step 5

If your physical computer has high storage capacity, you can install your virtual system in the default location. However, if you have a mechanical disk, we recommend installing your system on an external SSD storage device. Because mechanical disks are weaker in terms of performance, storing VMs on a USB 3.0/3.1 portable disk will provide you with extra performance.

Configuring the Virtual Machine Name and Location

Step 6

You should allocate additional virtual processors and adjust the core value according to the hardware capabilities of your computer. In short, you have the option to increase the performance of your Ubuntu virtual machine.

Increasing the Number of Virtual Processor Cores

Step 7

Pick how much memory your Ubuntu virtual computer needs based on how much your computer can handle. Click the blue arrow in the VM’s Memory window to set the most memory it can use automatically.

Choosing the Maximum Recommended RAM Size

Step 8

You can configure the network adapter settings of the virtual machine that will run on VMware according to your personal preferences or your project. Select the default NAT for the network adapter and click Next.

Choosing the NAT Network Adapter

Step 9

Continue with the LSI Logic option selected by default in the I/O Controller window.

Selecting the LSI Logic I/O Type

Step 10

In the Disk Type window, select NVMe instead of the default SCSI type and continue.

Selecting the NVMe Disk Type

Step 11

To make a new virtual disk, choose “Create a New Virtual Disk” in the disk setup. If you already have a virtual disk you want to use, select “Use Existing Virtual Disk.”

Creating a New Virtual Disk

Step 12

If you pick “Store virtual disk as a single file,” you’re choosing to save the whole virtual hard disk as one file. This makes backing up easier because all the disk data is in just one file. In addition, after configuring the maximum disk size for the Ubuntu VM, you can allocate disk space on your host disk as much as the disk size you specified by checking the Allocate all disk space, which is now an option for even more disk performance. This option increases the performance of the guest machine much more on the mechanical disk.

If you’re installing the virtual machine just for testing, you can choose a smaller disk size. The maximum size allocated here means your host computer will allocate space as needed for the guest machine.

Setting the Maximum Disk Size

Step 13

In the Specify Disk File window, leave it as default to back up the virtual disk to the location where you will install the guest machine.

Configuring the Location of the Virtual Disk

Step 14

Click Customize Hardware to add the ISO file to the Ubuntu VM and configure some hardware settings.

Customize Hardware

Step 15

In the Hardware window, click on the processor device and enable the virtualization feature by ticking the Virtualize Intel VT-x/EPT or AMD-V/RVI, Virtualize CPU Performance Counters, and Virtualize IOMMU (IO Memory Management) options in the Virtualization Engine section. You see on the right.

Also, depending on your usage, you can achieve more efficiency and performance by removing the printer and sound card devices from the VM.

Enabling the Virtualization Feature

Step 16

Download the Ubuntu 23.10 & 22.04 ISO file to your computer from this link, and then click Browse to add the ISO file to the CD/DVD device and specify the location.

Adding Ubuntu ISO File to Virtual Machine

Step 17

Change the USB Compatibility option to 3.1 in the settings of the USB Controller device.

Setting USB Controller to 3.1

Step 18

In order to better process 3D graphics in the virtual machine in the Display settings, enable the 3D feature and set the graphics memory size in accordance with the graphics card specifications of your host.

Enabling 3D Graphics Acceleration

Step 19

After creating your Ubuntu guest machine, review the summary hardware information and click Finish.

Checking the Summary Hardware Information of the Virtual Machine

Step 20

To start installing Ubuntu on VMware Workstation, click “Power on” for this virtual machine.

Running the Virtual Computer

How to Install Ubuntu

After running the Ubuntu guest machine, you can complete the installation steps as if you were installing on a physical computer.

Step 1

Press Enter on the Ubuntu option to run the system on the GNU GRUB version 2.04 screen.

GNU GRUB Boot Menu

Step 2

Wait while Ubuntu boots up.

Opening Ubuntu

Step 3

When the installation wizard opens, click the Install Ubuntu button to start the installation. If you only want to open and test the system once, you can click Try Ubuntu.

Install Ubuntu

Step 4

Please choose the keyboard layout that you are most comfortable with and then click on the ‘Continue’ button to proceed.

Choosing the Keyboard Layout

Step 5

In the Updates and other software window, you can continue by choosing either Normal Installation or Minimal Installation. The difference between the two options is the installation of essential tools and more advanced applications only.

Normal Installation

Step 6

To do a fresh install, choose “Erase disk and install Ubuntu,” then click “Install Now,” and finally, click “Continue” to confirm the changes to the disk.

Confirming Changes to Disk

Step 7

After marking the location you live in on the map, click Continue.

Choosing Your Living Location

Step 8

Type your username for your Ubuntu virtual system and continue after creating a strong root password.

Typing Username and Creating Root Password

Step 9

Wait while Ubuntu is installed on the virtual computer you created. At this stage, some files will be downloaded and installed automatically from the Internet.

Installing System

Step 10

After the installation wizard has copied the Ubuntu system files and installed the necessary software, restart your system.

System Reboot

Step 11

When you see the “Please remove the installation medium, then press Enter” warning on the screen to enable the system to boot, continue by pressing the Enter key.

Removing Installation Media

Step 12

Type the root password you created to log in, and press Enter.

Login

Step 13

After logging in, the system configuration wizard will appear. Suppose you want to log in to Google, Microsoft, or other services in Ubuntu. In that case, you can do so by typing your personal information in the Online Accounts window.

If you prefer to configure your account later, click the Skip button.

Connect Your Online Accounts

Step 14

Check “Yes, send system info to Canonical” to help develop Ubuntu and click Next.

Send System Info to Canonical

Step 15

If you want to allow the applications you use to access your location information, enable Location Services.

Choosing Location Services

Step 16

In the final step, click ‘Done’ in the window that says you can use the software to install sample programs on your Linux virtual machine.

Application Setup Wizard

How to Install VMware Tools

Under normal conditions, when installing a guest operating system with VMware on your host computer connected to the Internet, VMware Tools is automatically installed. If you are going to connect your VM to the Internet later, you should temporarily install VMware Tools on VMware.

VM Tools is installed automatically in Ubuntu 19.10, 20.04, 20.10, 21.04, and 22.04 versions. However, you have to do this manually in old versions of 18.04, 18.10, and 19.04.

VMware company recommends using open-vm-tools or open-vm-tools-desktop to install your VMware Tools.

Step 1

Open Terminal in your Ubuntu virtual system and execute the command sudo apt install open-vm-tools-desktop. After this process, press the Y key and then Enter to confirm the additional disk space usage and continue.

sudo apt install open-vm-tools-desktop

Installing VMware Tools

Step 2

After installing VMware Tools on your Ubuntu system, execute the sudo reboot command and restart your system.

sudo reboot

Sudo Reboot

Step 3

After restarting your virtual system, you can transfer a file from your host system’s desktop location to your VM by dragging and dropping or using the Ctrl + C / Ctrl + V keys.

If you are encountering the Drag and Drop is not Supported error while copying the file, you can fix this problem by installing Extensions and Nemo file manager on your system.

Execute the “sudo apt install gnome-shell-extension-prefs” command in the Terminal, find the extension in the start menu, and run it. Disable Desktop Icons NG (DING) in the Extensions window.

sudo apt install gnome-shell-extension-prefs

To install the Nemo file manager after turning off desktop icons, execute the “sudo apt install nemo” command in the Terminal, open Startup Applications Preference, and click the Add button to enable the file manager at startup.

sudo apt install nemo

Fill in the Name, Command, and Comment fields in the Add Startup Program window as below and click the Add button again. Then, after rebooting your Linux system, you can now use drag-and-drop file transfer between the host and your VM.

  • Name: Nemo Desktop
  • Command: nemo-desktop
  • Comment: Nemo Desktop

Drag and Drop File Transfer Between Host and VM

Step 4

You can also use your Ubuntu guest machine in full-screen resolution.

Controlling the Full Screen Resolution

How to Enable and Configure Shared Folder

Another method of transferring files between your host computer and your Ubuntu virtual computer is to use the Shared Folder feature.

Step 1

Click VM / Settings from the tool menu to enable and configure Shared Folder in Ubuntu.

Opening Virtual Machine Settings

Step 2

After clicking the Options tab in the virtual machine settings, select Shared Folders and then tick Always Enabled. Click Add to specify a folder path from your host system in the Folders section.

Click Next when the Add Shared Folders Wizard opens.

Enable Shared Folder

Step 3

Click the Browse button in the Host Path section, and then select the folder you specified.

Choosing the Shared Folder on the Host

Step 4

After selecting the folder on your host, make sure Enable This Share is checked and close the wizard.

Enabling the Shared Folder

Step 5

Close the settings of your Linux virtual machine.

Closing VM Settings

Step 6

Create one or more text documents in the folder you shared.

Creating a Text Document in a Shared Folder

Step 7

To access the Shared Folder from your Ubuntu guest system, go to Home > Other Locations > Computer > mnt > hgfs and view the shared folder.

Viewing the Contents of the Shared Folder on the Guest Machine

Step 8

Execute the below command in the Terminal to create a shortcut to the desktop location for UbuntuSharedFolder.

sudo ln -s /mnt/hgfs/UbuntuSharedFolder/ ~/Desktop

Creating a Shortcut for Shared Folder

Step 9

When you restart your Ubuntu virtual system, you can see that the Shared Folder shortcut is Broken. You can’t access the public folder right away because it doesn’t mount automatically. To fix this problem, first, run the command below in the Terminal and reactivate the shared folder.

sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other

Re-enable the shortcut

Step 10

Execute the “sudo nano /etc/fstab” command in the Terminal to edit the fstab file and automatically mount the public folder.

sudo nano /etc/fstab

Editing Fstab

Step 11

After opening the fstab file, type the command below, press CTRL + X, press Y, and then enter to save the file.

.host:/UbuntuSharedFolder /mnt/hgfs/UbuntuSharedFolder fuse.vmhgfs-fuse allow_other

Auto-Mount the Shared Folder

How to Use USB Flash Memory

In order to use your USB 3.0/3.1 flash memories in your Ubuntu system, make sure to change the current 2.0 value in USB compatibility, then insert your flash memory into your host system and change the file system of your device to FAT32 or ExFAT.

Step 1

Create a folder named BACKUP in your USB flash memory that you have inserted in your host.

Creating a Folder Named Backup in Flash Memory

Step 2

To add your flash memory to your virtual computer, click on VM / Removable Devices / Name of your USB / Connect (Disconnect from Host) from the VMware tool menu. However, if the Connect option is grayed out and inactive, as in the image below, close your guest system and open the VMX file.

Connect USB Disk Option Grayed Out

Step 3

Change usb.restrictions.defaultAllow = “FALSE” to “TRUE” in Ubuntu 23.10 & 22.04.vmx file and save the file.

usb.restrictions.defaultAllow = "TRUE"

Editing VMX File for USB Restriction

Step 4

After turning on your virtual computer again, connect your USB flash memory to your Linux system.

Connecting USB Disk to VM

Step 5

You can now use your USB 3.0/3.1 flash drives or storage devices on your Ubuntu guest machine without any problems.

Viewing Contents of USB in VM

Video

Installing Old Versions

Ubuntu Installation Sources with Old VMware Versions
Ubuntu / Workstation VersionYouTube VideoSlide
16.10 / 12 ProWatch
17.04 / 12 ProWatch
17.10 / 14 ProWatch
18.04 / 14 ProWatch
18.10 / 14 ProWatch
18.10 / 15 ProWatch
19.10 / 15 ProWatch
20.10 / 16 ProWatchView
21.04 / 16 ProWatch
21.10 / 16 ProWatch
22.04 / 16 ProWatchView
22.10 / 16 ProWatchView
22.10 / 17 Pro (NEW)Watch

 

Frequently Asked Questions (FAQ)

  1. What do I need to install Ubuntu on VMware Workstation 17?
First of all, before starting the installation, you must install one of the VMware Workstation 17 Pro & Player versions on your system. Immediately afterward, prepare the necessary needs by obtaining the ISO file from the Ubuntu official website.
  1. What settings do I need to configure for the Ubuntu virtual machine?
When creating a new virtual machine for the Ubuntu operating system, be sure to configure the system version. Then, adjust the CPU, RAM, and video card memory according to the power of your host PC. For example, if you have a PC with the latest hardware, you can increase the number of processor cores. Moreover, if you have 32 GB of Memory, you can assign 16 GB to the VM. But remember, give this value if you run a single virtual system.
  1. Do I need to install VMware Tools for Ubuntu?
Yes, I recommend installing VMware Tools for better integration and performance. As soon as you install the Ubuntu VM, install VMware Tools from the Workstation menu. This will give you both better screen resolution. Additionally, you will create a better virtual system interaction with your host PC. For example, you can use devices such as USB or share your files with Shared Folder.

Conclusion

As a result, you can install Ubuntu 23.10 & 22.04 on a virtual machine using VMware Workstation 17 Pro. This gives you an easy and risk-free way to get used to a new operating system. With all the steps I have provided in this article, you can use Ubuntu without any problems, especially if you are starting. In short, it helps you create and configure a virtual machine. Moreover, it allows you to explore its features and functions without affecting its primary systems.

Adopting virtualization technology doesn’t just make learning easier. Plus, it also gives you the opportunity to try different operating systems in a controlled environment. You can start your virtualization journey with the detailed information I share here.

Add a Comment

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