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

In this article, we will examine how to run Ubuntu 22.10 on a new virtual machine using the VMware Workstation 17 Pro virtualization program on the Windows 10 operating system.

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

How to Set Up Ubuntu 22.10 on a Virtual Machine using 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 in a virtual machine without a Dual-Boot installation can be helpful on the first try.

Ubuntu 22.10 (Kinetic Kudu) was released on October 30, 2022. The 22.10 release includes what’s new in versions 22.04 and 21.10. This version ships with GNOME 43, an open-source desktop environment. It also includes Kernel 5.19 which includes memory error checking and features Landlord working with Linux security modules (LSM). Other features can be listed as follows;

  • GNOME 43 was first released with 22.10 as the default desktop environment.
  • The quick settings menu has been added to the Power tab with GNOME 43.
  • With the newer Nautilus file manager, a more modern design has been developed, thanks to the adaptive folder view.
  • The list view within the directory has been redesigned. Thus, multiple file selections can be made more accessible.
  • WebP image files can now be opened with the default photo viewer.
  • Also, Firefox 105, Thunderbird 102, and LibreOffice 7.4 come with version 22.10.

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. If you are considering installing a Linux system on your physical computer and you are new to this business, 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

According to the hardware features of your computer, you can add one or more virtual processors for the Ubuntu virtual machine and increase the virtual core value.

Increasing the Number of Virtual Processor Cores

   Step 7

In the same way, set a value suitable for the memory capacity of your host for the Ubuntu virtual computer. You can automatically determine the maximum memory value of the program by clicking the blue arrow in the Memory for the Virtual Machine window.

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 according to 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

You must create a new virtual disk with the Create a New Virtual Disk option in the Select a Disk configuration. If you want to use a previously installed virtual disk, you must continue with the Use an existing virtual disk option.

Creating a New Virtual Disk

   Step 12

Select Store virtual disk as a single file to back up the virtual hard disk as a single 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 now option for even more disk performance. This option increases the performance of the guest machine much more on the mechanical disk.

If you want to install the virtual machine for testing purposes only, you can configure a smaller virtual disk size. The disk size here is the maximum value and disk space will be dynamically allocated from your host as much as the guest machine will occupy.

Setting the Maximum Disk Size

   Step 13

In the Specify Disk File window, leave it as default to backup the virtual disk to the location where the guest machine will be installed.

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 get more efficiency and performance by removing Printer and Sound Card devices from the VM.

Enabling the Virtualization Feature

   Step 16

Download the Ubuntu 22.10 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

Click Power on this virtual machine to start installing Ubuntu on VMware Workstation.

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

Select your preferred keyboard layout and click Continue.

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 basic tools and more advanced applications only.

Normal Installation

   Step 6

To do a clean install, select Erase disk and install Ubuntu and click Install Now and click Continue to confirm the changes to be made on 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. If you want to log in to Google, Microsoft, or other services in Ubuntu, 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.

Location Services

   Step 16

In the last step, click Done in the window that states that you can use the Software to install the 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 and then 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 Nemo file manager after disabling desktop icons, execute “sudo apt install nemo” command in the terminal and then open Startup Applications Preference and click Add button to enable 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 Shared Folder from your Ubuntu guest system, go to Home / Other Locations / Computer / mnt / hgfs and view the common 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. This is because the public folder is not automatically mounted to the system. 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 to automatically mount the public folder.

sudo nano /etc/fstab

Editing Fstab

   Step 11

After opening the fstab file, type the below command and press CTRL + X and 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, simply 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 22.10.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 / Workstation Version
YouTube Video
Slide
16.10 / 12 Pro
17.04 / 12 Pro
17.10 / 14 Pro
18.04 / 14 Pro
18.10 / 14 Pro
18.10 / 15 Pro
19.10 / 15 Pro
20.10 / 16 Pro
21.04 / 16 Pro
21.10 / 16 Pro
22.04 / 16 Pro
22.10 / 16 Pro
22.10 / 17 Pro (NEW)

 

   Related Articles


How to Install macOS in VMware
How to Install Windows 10 in VMware
How to Install Debian in VMware
How to Install Linux Mint in VMware
How to Install Kali Linux in VMware

Add a Comment

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

error: