# Proxmox Virtual Environment (PVE)



# Enabling no-subscription repositories

Preparations:
- Ensure Internet connectivity
```bash
ping download.proxmox.com
```

[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-07/scaled-1680-/zEcRvYLyRBMOhgBD-image-1783232676275.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-07/zEcRvYLyRBMOhgBD-image-1783232676275.png)



## Prepare
```bash
sudo su
apt install tmux
exit

tmux
sudo su

```


## On Debian v13 (trixie)

```bash
mv /etc/apt/sources.list.d/pve-enterprise.sources  /root
```

Create new file
```bash
nano /etc/apt/sources.list.d/pve-no-subscription.list 
```

repos
```ini
deb http://download.proxmox.com/debian/pve trixie pve-no-subscription
```

close editor
```
CTRL+X, y
```
[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/liLBuyhYKl3IjwPg-image-1781360103997.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/liLBuyhYKl3IjwPg-image-1781360103997.png)



Adjust Debian repos
```bash
nano /etc/apt/sources.list.d/debian.sources 
```

repos
```ini
Types: deb
URIs: http://deb.debian.org/debian
Suites: trixie trixie-updates
Components: main contrib non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb
URIs: http://security.debian.org/debian-security
Suites: trixie-security
Components: main contrib non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
```

close editor
```
CTRL+X, y
```

[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/WkS3m6pdVfakwfce-image-1781360137510.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/WkS3m6pdVfakwfce-image-1781360137510.png)


Verify repositories declaration
```bash
apt policy
```
[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-04/scaled-1680-/uJSMUQL5kRd7v2G8-image-1776049077979.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-04/uJSMUQL5kRd7v2G8-image-1776049077979.png)

another one:
[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/tgrNiuTHnXK8CoFr-image-1781360197199.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/tgrNiuTHnXK8CoFr-image-1781360197199.png)



Do APT update
```bash
apt update
```
[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-04/scaled-1680-/zbgZtCGNIq7tcS1Y-image-1776049111490.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-04/zbgZtCGNIq7tcS1Y-image-1776049111490.png)

List packages ready for update, most important that there are new packages from PVE repo.
```bash
apt list --upgradable
```
[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-04/scaled-1680-/K7cTng8coJLqGgxJ-image-1776049491713.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-04/K7cTng8coJLqGgxJ-image-1776049491713.png)


Perform upgrade (when needed)
```bash
apt upgrade
```
[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-04/scaled-1680-/CT9ZfOz6yyjmPN2E-image-1776049552216.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-04/CT9ZfOz6yyjmPN2E-image-1776049552216.png)

# Proxmox VE root pass reset (break the glass)

If you forgot the password, it is possible to change passowrd from the machine's console (physical access required):

## Reset root password inside rescue shell:

Boot the server.

In GRUB find `Proxmox VE GNU/Linux` and press `e` to edit boot entry.

[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/RCuTMYNMQn2p4BJm-image-1781414908820.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/RCuTMYNMQn2p4BJm-image-1781414908820.png)

Config file will open, Find the line starting with `linux` (to load Linux kernel)

Add at the end of the that same line (not to the end of the file):
```bash
init=/bin/bash
```
[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/IUojKeLW5VVPxzMg-image-1781415074909.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/IUojKeLW5VVPxzMg-image-1781415074909.png)

Boot with
```
CTRL+X
```
Remount filesystem in read-write mode:
```bash
mount -o remount,rw /
```
[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/MvNIbeUa6681EEaX-image-1781415132247.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/MvNIbeUa6681EEaX-image-1781415132247.png)

Check the disk (optionally) to verify the disk is re-mounted:
```bash
df -hT
```

Change root's password:
```bash
passwd
```
[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/h14jsqvw6oHB9aT8-image-1781415506598.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/h14jsqvw6oHB9aT8-image-1781415506598.png)

Reboot
```bash
reboot -f
```
[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/i39lw4HY3kjj3QGk-image-1781415607709.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/i39lw4HY3kjj3QGk-image-1781415607709.png)

Login with new pass, usually to port 8006
```url
https://nn.nn.nn.nn:8006/
```
[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/KEz6vGXNNVC5WYdG-image-1781359028116.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/KEz6vGXNNVC5WYdG-image-1781359028116.png)

and press [Login]

[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/uN8E5lOf9zaAzhpM-image-1781359109043.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/uN8E5lOf9zaAzhpM-image-1781359109043.png)

Change password (top-right, under username and 'Password')

[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/e9jn5UCYzUBU3rVp-image-1781359199232.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/e9jn5UCYzUBU3rVp-image-1781359199232.png)

Create admins user group

[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/HEAHctzr4j58NsLY-image-1781359486974.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/HEAHctzr4j58NsLY-image-1781359486974.png)

Create another admin user, add to admin user group created above

[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/fXy3RZo5uYEKkwCu-image-1781359547412.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/fXy3RZo5uYEKkwCu-image-1781359547412.png)

Define user's password

[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/N0qzy6BX8tk56Nnl-image-1781359619523.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/N0qzy6BX8tk56Nnl-image-1781359619523.png)

Add group permissions

[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/TFC3UvFMZbqMJzcI-image-1781359712028.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/TFC3UvFMZbqMJzcI-image-1781359712028.png)

Define permissions

[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/scaled-1680-/pjj9fAWjSzn0uf0V-image-1781359752431.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2026-06/pjj9fAWjSzn0uf0V-image-1781359752431.png)