503-Labs
Reading preference
Virtualization

How to set up a Linux VM (Windows)

In this guide we will set up a Linux Virtual Machine (For Windows)

linuxvirtualizationvirtual-machinevm-setupbeginnerstep-by-stepGUI

How to Install a Linux VM on (For Windows)

1. Download VMware

  1. Download VMware by first making an account to BROADCOM: https://www.vmware.com/products/desktop-hypervisor/workstation-and-fusion
  2. Once account is made log in and head to https://support.broadcom.com/group/ecx/productdownloads?subfamily=VMware%20Workstation%20Pro&freeDownloads=true
  3. Select "VMware Workstation Pro 26H1 For Windows" → 26H1u1
  4. Open terms and conditions, then after tick "i agree" on the box, but you need to open the actual terms and conditions to be able to press the button then download.
  5. On install just next your way through. No changes needed unless you want to untick marketing question

2. Download Ubuntu Desktop 26.04.1 LTS

get your Linux distro here - Ubuntu Desktop 26.04.1 LTS (64-bit Intel/AMD)

3. Configure the VM

  1. When you open VMware click the big "create new virtual machine" button.
  2. select "typical (Recommended)" then go next.
  3. On the "guest operating system installation" screen. Change the tickbox from "installer disc" to "installer disc image file (ISO) and select "browse" and navigate to your downloaded linux ISO. Note that you can select other distro's. However the installation may be different then this guide. Pasted image 20261109001355.png
  4. On "select a Guest Operating System" Select "Linux" and on on version go "Ubuntu 64-bit"
  5. Select a name for the machine and go next
  6. Allocate disk space. I will set 40 for mine. Note that you need to retain at least enough for the Ubuntu installation + some then go next
  7. You can chose to grab the summary and save it in a notepad for inventory or you can just click Finish.
  8. Click "power on this virtual machine"graphic-681d5b0de23178351310bda4a7be75cd-01a1b920748c7b9c9529cee6549c8c54.png
  9. If you get the below box, Just tick "do not show again" and press "ok" It is just general information about removable devices.Pasted image 20261102201852.png
  10. On below screen, select "try or Install ubuntu" If you leave it too long it will just select that and move on by itself so if it just started doing stuff, thats why. Nothing to worry about:Pasted image 20261102202640.png
  11. If you get the below screen, just wait a few minutes it should go away by itself, it is a harmless warning due to ubuntu dectecting a virtual hardware controller that isnt fully enabled. Pasted image 20261102202757.png
  12. The below screen is just ubuntu doing its installs of its prerequisites, such as the graphical user interface and much more, let it sit for a few minutes: Pasted image 20261102203031.png
  13. If you get a black screen dont worry. It should eventually just boot into desktop, this can take several minutes: Pasted image 20261102205727.png
  14. Select your language, go next,
  15. either set your accessibility settings that you like or skip by going next,
  16. set your keyboard language, go next
  17. set your internet connection (if any)
  18. select "install ubuntu" if you want this to become a persistent bootable install.
  19. Selecting "interactive installation" will be a guided install. I recommend to select this: Pasted image 20261102210014.png
  20. Next screen after just set "default" selection. It just gives you the essentials. A standard installation. You can always customise later as you learn.
  21. Next screen, unless you know for a fact you need something on the lists, skip it.
  22. Next screen on "how you want to install Ubuntu" select "erase disk and install ubuntu" It will only erase the virtual disk inside the VM.
  23. Next screen select whether you want encryption. For the purpose of this guide I selected no encryption. But this would essentially allow you to set a encryption and guard your files with a password.
  24. Fill in details, or username. and password. and decide whether you need password to log in or not then go through your region and finally "install"
  25. Now you will see it "copying files" this can take a couple minutes also.Pasted image 20261102210620.png
  26. Once done you should see this screen and you can go ahead and restart to finalise the install: Pasted image 20261102211700.png
  27. When you see this screen below, just press enter. The machine should reboot and land you inside the vm.Pasted image 20261102212801.png
  28. If it doesnt and just brings you back to above screen, press CTRL+ ALT so cursor is brought back to your machine, select "VM" then "removable devices" then "disconnect" On screenshot below there is no disconnect because VMware did it automatically: Pasted image 20261102213209.png
  29. your ubuntu is now installed: the following screens you can just next / skip or make changes as you please. Pasted image 20261102213232.png
  30. I do recomend however to create a snapshot of this fresh state in case you in the future need to roll back the VM to a "safe state", you can do this by pressing CTRL+ALT again and right click your VM on the left library, then select "snapshot" then "take a snapshot" or by going into snapshot manager then click "take snapshot" and fill in some details such as name and description: Pasted image 20261102213434.pngPasted image 20261102213543.png
  31. And to rollback poor decisions you can click on your snapshot and select "go to" Note that doing this will revert any changes you have made on the machine, any downloads you have done, any installs and files you have saved to whatever you had on the very moment this snapshot was taken. Pasted image 20261102213640.png Thats it! You have now successfully installed Ubuntu on a Linux VM