Can linux run on vmware

How to Install Ubuntu Linux in VMWare

Virtualization is a good way to try Linux from the comfort of Windows. WSL and WSL2 might be easier but not everyone has access to them. And for a relatively better desktop experience, a VM is better.

You may have to use Linux as part of the course curriculum, for some development tools (like Docker) or just for experimenting with Linux desktop before making the switch. VMWare and similar virtualization software can be of great help.

You don’t have to make actual changes to the disk partition, no changes in the boot and Linux runs like any other application inside Windows.

In this tutorial, I will show how to install Ubuntu inside Windows using VMWare.

Installing Linux inside Windows using VMWare

Your actual operating system is called host OS and the operating system you install in the virtual machine is called guest OS. I’ll use this terminology in the tutorial here.

The virtual machines use your host OS’s system resources. Ubuntu GNOME requires 4 GB of RAM to function properly, your system should have 8 GB to allocate 4 GB to the guest OS (Ubuntu) and keep 4 GB for the host OS (Windows).

Let’s see all the requirements.

Requirements

  • Good internet connection to download software and Linux ISO. (You can also use some other computer with an internet connection to download these files.)
  • Windows system with at least 20 GB of free space. A 25GB+ Free space is good for installing the latest version of Ubuntu.
  • Windows system with 8 GB of RAM. (It can work with less RAM as well, but your system will start to lag while using Linux in the virtual machine.)
  • Make sure to enable virtualization in the BIOS
Читайте также:  Поменять название сервера linux

I am installing Ubuntu 22.04 in this tutorial, but the same steps apply to any other Linux distribution. If you prefer videos, you can watch the one below from our YouTube channel.

Step 1: Download and install VMWare Player

Go to VMWare website and download the .exe file of VMWare Player. At the time of writing this article, VMWare player 16 is the latest version.

Once downloaded, double-click the exe file and follow the on-screen instructions to install VMWare.

Step 2: Download the Linux ISO

Next, you need to download the ISO file of the Linux distribution. You can get this image from the official website of the Linux distribution you are trying to use.

I am using Ubuntu in this example, and you can download ISO images for Ubuntu from the link below:

Step 3: Install Linux using VMWare

You have installed VMWare and you have downloaded the ISO for Linux. You are now set to install Linux in VMware.

Now, start VMWare and click on Create New Virtual Machine.

create new virtual machine in vm ware

Select “I will install operating system later” option and press next.

select install operating system later button 1

On the next screen, set the Operating system to Linux and the version to Ubuntu 64bit.

select linux type and ubuntu 64 type

Give the virtual machine a name and press Next.

name the virtual machine

In the next screen, set the disk size to a minimum of 20 GB and also select “Store Virtual Disk as a single file” option.

select disk size and store as single file

From the next screen, you can either press Finish and set ISO file later by right-clicking and Settings. Or you can select the ISO file on the go. For this, press “Customize Hardware” button.

Читайте также:  Remote copy ssh linux

press customise hardware button

On this screen, you can tweak memory, processors, etc. But you need to select “New CD/DVD” button and add the Ubuntu ISO as shown in the screenshot:

set iso image file from customize hardware dialog box

Now, you can close this and press the finish button. Once done, you can now start the VMWare virtual machine and start the installation of Ubuntu.

select the virtual machine to start install

Now, you can use it after installation by opening the virtual machine by name from VMWare home screen.

Quick note about VMWare Easy install

This is another mode of installation in VMWare. Here, instead of pressing “ISO file later,” you can select the downloaded ISO file and start the process.

select disc install option for easy install

But I found both the process almost the same because the installer asked for the same steps in the previous method here also.

Installing Ubuntu in VMWare

Once the created machine is opened, you will get the Ubuntu boot screen.

ubuntu boot screen in vmware

You need to press enter on Try or Install Ubuntu. This will take you to a live environment. Here, you can either test the system before install or install it directly. Since it’s a VM, you can install it directly by pressing the Install Ubuntu button.

select install ubuntu to start installation process

Next, you need to set your Keyboard Layout, which by default is set to English US.

select keyboard layout

Ubuntu provides Normal and Minimal install options, with the former containing all of the essential software like office, media players, etc. In contrast, the latter will contain only essential utilities and a web browser. Also, there are several other choices, you can install third-party codecs, download updates while installing etc.

Читайте также:  Astra linux примонтировать диск fstab

updates and other software preferences

Once set, press continue. The next step is setting the installation. Several options are there, like erase and install, custom partition etc.

For the purpose of VM, you can accept the default (Erase and install) and proceed.

Don’t worry. It won’t erase your disk on the host OS (Windows). You created a virtual disk for it and that’s the disk it is taking about.

select installation type

Once done with your settings, you can press the Install Now button. This will ask you to provide a time zone. Normally, it detects your time zone automatically. Otherwise, you can click on the region in the associated map to set your time zone.

set time zone

Pressing Continue will ask you to provide user credentials like name, password etc. Provide them all and press Continue.

provide user credentials

Now the installation will be started and once completed, you can start using Ubuntu by restarting the system.

press restart button once installation is completed

This will prompt a message Remove Installation Media and Press Enter. The installation media that is the attached ISO is automatically removed once the installation is completed in VMWare. So, you can press enter here.

prompt to remove the installation disk

If the iso is not removed automatically, you can remove the ISO by going to Player > Removable Devices > CD/DVD.

vmware player menu button

Once done, you will have Ubuntu 22.04 installed inside VMWare.

ubuntu running inside vmware in windows

Wrapping Up

That’s all you need to do to install Linux in VMWare on Windows. If you have any doubts or if you encounter any issues, please feel free to ask your questions in the comment box below.

Источник

Оцените статью
Adblock
detector