Currently Viewing Posts Tagged Proxmox

How to upgrade Proxmox Virtual Environment 5.4.x

I am using a Proxmox VE for a while. It is almost one month I start to use Proxmox VE 5.3-8.

I noticed that Proxmox VE has newer version released. Now it is v5.4-4.

I have not subscribe the license of PVE.

 

Here is a simple guide to show you how to upgrade Proxmox VE 5.3x to v5.4x

1) Edit /etc/apt/sources.list.d/pve-enterprise.list

Comment or delete the following line.

deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise

2) Edit /etc/apt/sources.list

Add following line at the end of the file.

deb http://download.proxmox.com/debian stretch pve-no-subscription

3) Now, it is OK to do the update.

apt update

apt upgrade

apt dist-upgrade

 

Continue reading “How to upgrade Proxmox Virtual Environment 5.4.x”

How to enable the VM auto-boot in Proxmox VE

After the setup of my first Proxmox VE, I need to shutdown and startup your Proxmox hardware node. There are many reasons for this such as adding new hardware or to apply new kernel updates.

Before shutting down the Host machine, I have to shutdown the LXC container and all VMs.

When I start the Proxmox VE host node, the VM will not start up automatically. I will do it manually.

Here is the way to make the VMs auto-start with the HOST.

Datacenter > Virtual Machine > 109 (example.com) > Options > Start at boot

Double click the “Start at boot”, select the check box and OK.

Start at boot, options of Virtual Machine in Proxmox VE

Continue reading “How to enable the VM auto-boot in Proxmox VE”

Another way to move Virtualbox VDI to Proxmox VE

There is another way to do the importing Virtualbox VDI to Proxmox VE 3.5-8.

Similar to my previous post.

Step 1, Copy the VDI into the Proxmox VE host

No need to covert the VDI file to RAW format. Just copy the vdi file into the local folder. For me, I will just put it at /root/testing.vdi

Step 2, Create a new VM in Proxmox

On the “OS” tab, choose “Do not use any media”

On the “Hard Disk” tab, choose “local-lvm”, as storage, Disk size is any size you want, for example, 8GB. Format, choose “Raw disk image (raw)”, On CPU and Memory, choose the same as the Virtualbox settings.

Confirm to create the new VM.

Step 3, Detach and Remove the Hard Disk

Say my VM ID is 109, choose Virtual Machine 109, Hardware, Hard Disk, choose “Detach” button.

Detach the Hard Disk

At this point, the hard disk will be listed as “Unused Disk.” It still exists but is not attached to the system. To destroy it completely, select the Unused Disk and click Remove again; and confirm when prompted.

Continue reading “Another way to move Virtualbox VDI to Proxmox VE”

Move Virtualbox VDI to Proxmox VE System

I have some Virtualbox virtual machine on my desktop. Now I have Proxmox VE 5.3-8 installed on a separate machine. So I would like to move the VM to Proxmox.

Let me list the existing installation.

  • My Desktop, Windows 10 Pro version 1809.
  • Virtualbox 6.0.4 r128413
  • Guest VM inside of Virtualbox is Ubuntu 18.04 with 1G memory and 20GB disk space.
  • Proxmox VE 5.3-8, VM and LXC are stored in the local-lvm

 

Step 1, Located the vdi file and convert it to RAW format

Virtualbox vdi file location

Check the settings of the virtual machine, storage, and located the location of the vdi file. Mine is in the d:\Virtualbox VM\

Then open a command prompt window, enter the following command to convert the vdi file to raw image file.

d:
cd "program files\oracle\virtualbox"
vboxmanage clonehd --format RAW "d"\virtualbox vm\ubuntu 18.04 (122)\ubuntu 18.04.vdi" d:\testing.img

After a while the new image file is ready. The time depends on the size of your VM. Maybe 10 minutes or half an hour.

Converting

Continue reading “Move Virtualbox VDI to Proxmox VE System”

Error when doing update on Proxmox VE

I got these errors when trying to run an update on my Proxmox VE 5.3-8

root@pve:/etc/apt# apt update Hit:1 http://security.debian.org stretch/updates InRelease Ign:2 http://ftp.ca.debian.org/debian stretch InRelease Get:3 http://download.proxmox.com/debian jessie InRelease [2,413 B] Hit:4 http://ftp.ca.debian.org/debian stretch-updates InRelease Err:3 http://download.proxmox.com/debian jessie InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C23AC7F49887F95A Hit:5 http://ftp.ca.debian.org/debian stretch Release Ign:7 https://enterprise.proxmox.com/debian/pve stretch InRelease Err:8 https://enterprise.proxmox.com/debian/pve stretch Release 401 Unauthorized Reading package lists... Done W: GPG error: http://download.proxmox.com/debian jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C23AC7F49887F95A E: The repository 'http://download.proxmox.com/debian jessie InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository 'https://enterprise.proxmox.com/debian/pve stretch Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

How to fix these errors?

Continue reading “Error when doing update on Proxmox VE”

  • Archives