[1/3] Arch Linux in VMware Workstation – Setup the virtual machine

Posted by

This article is part of the series Arch Linux in a “VMware Workstation”.

In the first article I will explain to you how I configured my VMware Workstation (on Linux) virtual machine that I use with my script to install Arch Linux.

Configuration I use:

  • Ubuntu 18.04 Desktop
  • VMware Workstation Pro 15

VIRTUAL MACHINE CONFIG

Create a virtual machine that will hold the Arch Linux and take into account the following settings:

Custom Virtual Machine Configuration:

Use the latest hardware compatibility:

Select the ISO image of the latest Arch Linux release:

Specify for the Guest Operating system Linux with “Other Linux 5.x or later kerlen 64-bit”:

Specify the name and location for the virtual machine:

Specify CPU and Cores to your needs. I keep it default here:

Defaults as for the memory:

Choose if your virtual machine should appear as a separate computer on your network or use NAT on the IP of your host pc. I keep the NAT setting:

I/O Controller (LSI Logic Recommended):

Virtual Disk Type (SCSI Recommended):

Disk: Create a new virtual disk:

Disk: Size 8GB and have the disk split into multiple files:

Specify Disk File, I keep default:

Deselect: Automatically power on this virtual machine after creation click: Customize Hardware

Remove the Printer and the Soundcard:

Click Finish:

Edit the virtual machine settings:

  • Click on the options tab
  • Select Advanced
  • Select UEFI as the firmware type
  • Click save

Start the virtual machine and let it boot from the ISO image:

It will boot already logged in as root:

To make this virtual machine accessible from a terminal, do the following:
  • Type passwd to set a password for the root account
  • Type systemctl start sshd to start the sshd service
  • Type hostname -i to find out the assigned IP address

Now we can ssh into this virtual machine from our host machine:

If you want to time how long the installation script takes in your configuration, make sure your time is synchronized before running the script:

timedatectl set-ntp true

This concludes this article. If all went fine, you have now a virtual machine running a live instance of Arch Linux and ready to connect from the host machine.

To continue to the next article in this series click here: Prepare and execute the scripts

Navigation:

Leave a Reply

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