Skip to content
Back to blog

Magichosting

Set up Proxmox VE 9 after installation: no-subscription repo, updates & full storage

E
Elias Bieber
Estimated reading time: 13 min

Set up Proxmox VE 9 properly after installation: disable the enterprise repo, enable no-subscription, update, remove local-lvm, grow the root volume and set DNS – in 7 steps.

ProxmoxProxmox VE 9VirtualizationTutorialHomelab

The Proxmox installer has finished – now what? That is exactly where this guide starts. In seven clear steps you set up Proxmox VE 9 after installation so your server is up to date, uses all of its storage for VMs and receives updates without a subscription. Every step contains the exact click path, commands to copy and a “Done when …” check so you know it worked.

The guide is written for your server at MagicHosting – used privately, in a homelab or as a playground for your own VMs and LXC containers. It works just the same on any other freshly installed Proxmox VE 9.

What you need

  • Proxmox VE 9, installed from ISO via the MagicHosting customer panel
  • Access to the MagicHosting customer panel
  • Your server’s IP address
  • The root password you chose during installation
  • An up-to-date browser (Chrome, Firefox, Edge or Safari)

Why the no-subscription repository?

Proxmox VE is open source and free of charge. You get updates without a subscription through the no-subscription repository. It is the same software, just without vendor support and with packages that are tested for a slightly shorter time. That is a great fit for private servers and homelabs. For production use in companies, Proxmox recommends a subscription with access to the enterprise repository.

Enterprise repositoryNo-subscription repository
Costpaid subscriptionfree
Packagestested especially longsame software, tested for less time
Vendor supportyes (depending on plan)no, community forum
Usable without subscriptionno (“401 Unauthorized” error)yes
Suited forcompanies, production clustersprivate servers, homelabs, testing

Overview: 7 steps to a ready-to-use server

StepWhat happensClick path
1Eject the ISO and start ProxmoxCustomer panel › Tools › Unmount ISO
2Enterprise off, no-subscription onNode › Updates › Repositories
3Refresh and upgradeNode › Updates
4Delete LVM-thin “data”Node › Disks › LVM-Thin
5Grow the root volumeNode › Shell (two commands)
6Allow VM disks on “local”Datacenter › Storage › local › Edit
7Set DNS serversNode › System › DNS

Step 1: Eject the ISO and start Proxmox

After the installation, the Proxmox ISO is still inserted in the server as a virtual DVD. As long as it is there, the server keeps booting into the installer instead of your freshly installed system.

  1. Let the installer run until “Installation successful!” appears. The server then restarts automatically.
  2. Open your server in the MagicHosting customer panel and unmount (eject) the ISO under Tools.
  3. Restart the server: Stop, then Start. The console shows the address of the web interface.
  4. Open https://YOUR-IP:8006 in your browser. The certificate warning is normal (Proxmox starts with a self-signed certificate): continue to the page via Advanced.
  5. Log in as root with the password from the installation. Keep the realm Linux PAM standard authentication.
What the console shows after the restart
Welcome to the Proxmox Virtual Environment. Please use your web browser to
configure this server - connect to:

  https://YOUR-IP:8006/

Step 2: Disable the enterprise repository, enable no-subscription

The enterprise repositories only work with a subscription. Without one, updates fail with “401 Unauthorized”. So you switch them off and use the free no-subscription repository instead.

  1. Click your node on the left, for example node01, then Updates › Repositories.
  2. Select the line with ceph-squid and enterprise and click Disable at the top.
  3. Select the line pve-enterprise and click Disable as well.
  4. Click Add.
  5. Choose No-Subscription under Repository and confirm with Add.
Afterwards the status at the top reads
You get updates for Proxmox VE
The no-subscription repository is not recommended for production use!

The yellow notice is simply part of private use – it only reminds you that the enterprise repository is meant for companies.

Step 3: Install updates (refresh and upgrade)

Proxmox now fetches every update released since the installation ISO. Refresh loads the package list, Upgrade installs the packages.

  1. Click your node on the left and open Updates.
  2. Click Refresh and confirm the “No valid subscription” notice with OK. Close the window once it says TASK OK.
  3. Click Upgrade. A console opens and lists all packages that will be updated.
  4. At “Do you want to continue? [Y/n]” type y and press Enter.
  5. Close the console when it is done. If a proxmox-kernel package was included, click Reboot at the top right so the new kernel starts.
The console waits for your answer
Do you want to continue? [Y/n] y

Step 4: Delete the LVM-thin pool “data” (remove local-lvm)

The installer splits the disk into three parts: the system (root), swap and a thin pool called data, which appears as the local-lvm storage in the interface. You delete the thin pool so its space benefits the system – and therefore your VMs – in the next step.

  1. Click your node on the left, then Disks › LVM-Thin.
  2. Select the line data and click More at the top right.
  3. Choose Destroy.
  4. Type pve/data to confirm.
  5. Untick Cleanup Disks. Keep Cleanup Storage Configuration ticked.
  6. Click Remove and wait until the task has finished.
Point in timeContents of the volume group “pve”
After installationswap · root · data (thin pool)
After step 4swap · root · free, unused space
After step 5swap · root (+100 % FREE for root)

Step 5: Grow the root volume (lvextend and resize2fs)

The thin pool’s space is free now but does not belong to anything yet. Two commands hand it to the system (root) – while the server is running, without a reboot.

  1. Click your node on the left and open Shell.
  2. Type lvextend -l +100%FREE /dev/pve/root and press Enter. The root volume receives all of the free space.
  3. Type resize2fs /dev/pve/root and press Enter. The file system grows to the new size.
  4. Check with df -h /. Size now shows almost the entire disk size.
Both commands to copy
lvextend -l +100%FREE /dev/pve/root
resize2fs /dev/pve/root
df -h /
This is what the output looks like
Size of logical volume pve/root changed from … to ….
Logical volume pve/root successfully resized.

Filesystem at /dev/pve/root is mounted on /; on-line resizing required
The filesystem on /dev/pve/root is now … (4k) blocks long.

What the commands mean: lvextend enlarges the logical volume, -l +100%FREE means “take all free space of the volume group”. resize2fs then grows the ext4 file system to the new size – without it, the system would not know about the additional space.

Step 6: Allow VM disks and containers on the “local” storage

Without local-lvm, VMs and containers need a new home. The local storage lives on the now large root volume (directory /var/lib/vz), but by default only holds ISOs, templates, backups and imports. Two checkboxes change that.

  1. Click Datacenter at the very top left, then Storage.
  2. Select the line local and click Edit.
  3. Under Content, additionally tick Disk image (VM disks) and Container (LXC). Keep the other boxes.
  4. Save with OK.
Checkbox in the interfaceUsed forInternal name
Disk imagedisks of your VMsimages
Containerfile systems of your LXC containersrootdir
ISO imageinstallation mediaiso
Container templatetemplates for LXC containersvztmpl
Backupbackups (vzdump)backup
Importimported disks and appliancesimport
Snippetscloud-init and hook filessnippets

Step 7: Set the DNS servers (1.1.1.1 and 8.8.8.8)

So that your server reliably resolves addresses such as download.proxmox.com, you set fixed DNS servers: 1.1.1.1 from Cloudflare and 8.8.8.8 from Google.

  1. Click your node on the left, then System › DNS.
  2. Click Edit.
  3. Enter pve.org as Search domain.
  4. Enter 1.1.1.1 as DNS server 1.
  5. Enter 8.8.8.8 as DNS server 2. Leave DNS server 3 empty.
  6. Save with OK. The setting applies immediately, without a reboot.
  7. Optional check: type cat /etc/resolv.conf in the shell. It shows exactly these three values.
cat /etc/resolv.conf
search pve.org
nameserver 1.1.1.1
nameserver 8.8.8.8

Done: your checklist

Your Proxmox is up to date, uses all of its storage and is ready for your first VMs and containers.

  • ISO ejected, Proxmox boots
  • Login at https://YOUR-IP:8006 works
  • Enterprise repositories (pve and Ceph) disabled
  • No-subscription repository added
  • Refresh and upgrade completed
  • LVM-thin “data” deleted
  • lvextend and resize2fs executed
  • local: Disk image and Container enabled
  • DNS: pve.org, 1.1.1.1 and 8.8.8.8

Cheat sheet

WhatValue
Web interfacehttps://YOUR-IP:8006
User nameroot
RealmLinux PAM standard authentication
Search domainpve.org
DNS server 11.1.1.1
DNS server 28.8.8.8
Shell: grow the root volume
lvextend -l +100%FREE /dev/pve/root
resize2fs /dev/pve/root
df -h /

Troubleshooting: errors and fixes

What you seeWhat helps
The installer starts again after the restartThe ISO is still mounted. Unmount it under Tools in the customer panel, then restart.
The web interface does not loadProxmox only answers via https on port 8006: https://YOUR-IP:8006 – not http:// and not without the port.
Refresh reports “401 Unauthorized”An enterprise repository is still enabled. Check step 2.
Refresh reports “Temporary failure resolving”DNS is missing. Complete step 7 and repeat the refresh.
resize2fs reports “Bad magic number”The system uses XFS. Run xfs_growfs / instead.
local is missing as a target when creating a VMDisk image is not ticked for local. Check step 6.

What’s next?

  • Create your first VM: with a cloud-init template, VirtIO hardware and firewall – step by step in our guide Create a Proxmox VM with cloud-init.
  • VM or container? When a KVM VM fits and when a lightweight LXC container is better is explained in KVM or LXC?.
  • Plan backups: create regular backups under Datacenter › Backup – our 3-2-1 backup strategy shows what matters.
  • Secure access: enable two-factor login under Datacenter › Permissions › Two Factor and read how to secure SSH with keys and a firewall.
  • No server yet? Our dedicated servers are a great fit for Proxmox – you start the ISO installation directly in the customer panel.

Frequently asked questions

Is Proxmox VE 9 free?

Yes. Proxmox VE is open-source software and can be used without licence costs. A paid subscription adds access to the enterprise repository and vendor support, but it is not required for private servers.

Is the no-subscription repository safe?

It contains the same software as the enterprise repository; the packages are just tested for a slightly shorter time. It is the usual choice for private servers, homelabs and test systems. For production company environments, Proxmox recommends a subscription.

Why do I get “401 Unauthorized” when updating?

An enterprise repository (pve-enterprise or Ceph enterprise) is still enabled. Without a subscription, that server denies access. Disable both entries under Updates › Repositories and add the no-subscription repository.

What is the difference between local and local-lvm?

local is a directory storage (/var/lib/vz) on the root file system and stores files such as ISOs, backups or qcow2 disks. local-lvm is an LVM-thin pool that stores VM disks as block devices. After this guide, your VMs live as qcow2 files on local – including snapshot support.

Can I delete local-lvm later?

Yes, but only when no VM disks or containers are stored on it any more. Move them to another storage first via Hardware › Disk Action › Move Storage, otherwise the data is lost.

Do I need to reboot after lvextend and resize2fs?

No. Both commands work while the system is running. df -h / shows the new size right away.

Why 1.1.1.1 and 8.8.8.8 as DNS servers?

Both resolvers – from Cloudflare and Google – are fast and highly available. If the first one does not answer, Proxmox automatically asks the second one. That keeps updates and downloads reliable.


Questions about your server or the setup? Our support team is happy to help – just open a ticket.

Was this post helpful?

MagicHosting – Hosting with real value

Hosting pays off with MagicHosting: fair pricing, current deals and operation in SkyLink RZ. Servers, domains and personal support – no hidden costs.

  • Current limited offers from our server exchange
  • Affordable domains with transparent pricing and great offers
  • Powerful DDoS protection for maximum availability
  • Personal support when you have questions or issues