How to Create a Virtual Machine in Proxmox

In the previous tutorial, we demonstrated step-by-step how to install Proxmox on a Debian 12 system. In this second part, we will go a step further and create a Virtual Machine (VM) on Proxmox.

Creating a VM is an easy procedure and takes just a few steps to have one on your Proxmox environment.

Prerequisites

To get going, ensure you have the following:

Step 1: Add ISO image to Proxmox

Before creating a virtual machine, the first step is to ensure we have an ISO image uploaded to the Proxmox data store. To get moving, head over to
Proxmox –> Local (Proxmox) –> ISO images –> Upload.

Upload ISO Image to Proxmox
Upload ISO Image to Proxmox

Click ‘Select File‘, select the ISO file, and then click ‘Upload‘.

Select Fedora ISO File
Select Fedora ISO File

The time taken to upload the ISO image will depend on the size of the ISO image file and your bandwidth speed. You will see the progress bar as the upload is in progress.

Uploading ISO Image to Proxmox
Uploading ISO Image to Proxmox

Once the upload is complete, you will see some log messages on the task viewer pop-up confirming that everything went as expected.

Upload ISO Image Status
Upload ISO Image Status

Step 2: Create a VM on the Proxmox

Now that we have the ISO image uploaded, the next step is to create a virtual machine. To do so, click the ‘Create VM‘ button as indicated below.

Create a VM on Proxmox
Create a VM on Proxmox

A wizard will pop open and will guide you on how to install the VM. First, provide the VM name as shown and click ‘Next‘.

Set VM Name
Set VM Name

Next, click the ‘ISO Image‘ text box and select the ISO image file and click ‘Next‘.

Choose Fedora ISO File
Choose Fedora ISO File

For the ‘System‘ tab, leave everything as is and click ‘Next‘.

Keep System Settings to Default
Keep System Settings to Default

For the ‘Disks‘ tab, select the disk size and the format of the VM file and click ‘Next‘.

Set VM Disk Size
Set VM Disk Size

Next, be sure to select the number of sockets and CPU cores for your VM and click ‘Next‘.

Set VM CPU Settings
Set VM CPU Settings

For the ‘Memory‘ tab, adjust the RAM size for your VM and click ‘Next‘.

Set VM Memory Settings
Set VM Memory Settings

For the network tab, select ‘No network device‘ for now since you have not configured a Linux bridge. Then click ‘Next‘.

Set VM Network Settings
Set VM Network Settings

Lastly, confirm all the details and click ‘Finish‘.

Confirm VM Settings
Confirm VM Settings

Step 3: Start the VM on the Proxmox

To start the Virtual Machine, hit the Start button as indicated by the arrow. Alternatively, you can right-click on the VM name and select the `Start` option.

Start Virtual Machine
Start Virtual Machine

NOTE: You might encounter the following error when starting a VM:

TASK ERROR: KVM virtualization configured, but not available. Either disable in VM configuration or enable in BIOS

To troubleshoot this error, head over to ‘VM name‘ –> Options –> KVM hardware virtualization and set it to `No`.

Set KVM Hardware Virtualization
Set KVM Hardware Virtualization

Then go ahead and start the virtual machine. This time, it will be launched without any error.

In our case, we are running a VM with a Fedora ISO image attached to it. This is what you should see.

Starting Fedora VM
Starting Fedora VM

From here you can continue with the installation of your VM and later learn how to backup and restore vm.

Conclusion

In this tutorial, we have demonstrated how you can create a virtual machine in Proxmox. Hopefully, you’ve been able to create one using your preferred ISO image file.

In the upcoming tutorial, we will discuss how to create LXC containers in Proxmox.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

James Kiarie
This is James, a certified Linux administrator and a tech enthusiast who loves keeping in touch with emerging trends in the tech world. When I'm not running commands on the terminal, I'm taking listening to some cool music. taking a casual stroll or watching a nice movie.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.