HowTo: Reset a lost root password

martin

Proxmox Staff Member
Staff member
Apr 28, 2005
756
1,994
263
If you lost your root password, you can use a linux live cd to set a new one.

Boot your Proxmox system from a linux live CD (this guide is based on http://www.damnsmalllinux.org/ Version 2.3)

Mount your Proxmox partition (in my case sda2) via the mount tool on the right bottom on the desktop or via: mount /dev/sda2
(for a list of mountable partitions see: cat /etc/fstab)

Open a terminal, use the following commands:

Sudo su (to become the super user)

chroot /mnt/sda2 (change into your previously mounted proxmox system)

passwd (change your password)

reboot

Kind regards,
Martin