Proxmox booting directly into LXC shell

fyf987123

New Member
Feb 16, 2025
1
0
1
Good day everyone, I am in need of some help for both of my proxmox nodes. Since this morning both of my nodes are booting directly into LXC shells instead of the main proxmox shell. Additionally, the web GUI on both servers are no longer accessible.

On my first node this began yesterday when I made a GRUB config change attempting to get GPU passthrough working. I added this line to /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt"

After rebooting the node, this behavior began.

I made no changes whatsoever to the other node which is why this is puzzling. The second node would have rebooted overnight as well due to a scheduled backup job + reboot. The only thing I can think of is that the latest kernel update to 6.8.12-8 may have caused this on both of my nodes, although that's just my theory.

I attempted several things to try to get both nodes running again including:
-Trying to exit the LXC shell, also using Ctrl + Alt + F2/F3 to switch shells. Did not work.
-Booting directly to the GRUB menu, attempting to edit the config from there, but this isn't showing the change I made. Its only showing the 'quiet' option in this menu.
-Attempted to mount my root filesystem and manually edit the grub config file which did not work. I could not gain access to the grub file I changed, nor to my root filesystem through here. I followed the steps here to mount my root filesystem but was still unable to access files from my main proxmox node (ie. /etc/pve/lxc/... there was nothing in there).

I am at a loss and now have 2 non-functional servers. Any help would be greatly appreciated.
 
Hi,

the folder /etc/pve is only populated if you have booted Proxmox and the pve-cluster service is running. The content of this folder is stored in a sqlite db, which is located here /var/lib/pve-cluster/config.db and mapped by the mentioned service to the folder.

Stupid question, but I ask it nevertheless: How do you know, that you have booted into a LXC?