[SOLVED] cant boot proxmox-kernel-7.0.12-1-pve-signed and cant remove it

Werner99

Active Member
Jan 29, 2021
4
0
41
50
Hello i have a weird issue on one of my proxmox servers, this server boots from proxmox-kernel-7.0.6-2-pve-signed without any issue, on an update the installation of proxmox-kernel-7.0.12-1-pve-signed failed, because there was no free space, so i deleted some kernels and after that all seemed fine, but on a reboot i was getting kernel panic that 7.0.12 cant boot, so i bootet up 7.0.6 without a issue


1782023555706.png

so then i was thinking ok remove 7.0.12 and start over, but strange when i try todo that i get this

1782023910204.png

when i continue, then i have proxmox-kernel-7.0.12-1-pve installed, which again wont boot, so how can i really remove this kernel 7.0.12, because it is now everytime trying to boot 7.0.12 which always fails, i know i can make 7.0.6 default but that doesn't fix the issue.

Code:
dpkg: proxmox-kernel-7.0.12-1-pve-signed: dependency problems, but removing anyway as you requested:
 proxmox-kernel-7.0 depends on proxmox-kernel-7.0.12-1-pve-signed | proxmox-kernel-7.0.12-1-pve; however:
  Package proxmox-kernel-7.0.12-1-pve-signed is to be removed.
  Package proxmox-kernel-7.0.12-1-pve is not installed.
  Package proxmox-kernel-7.0.12-1-pve-signed which provides proxmox-kernel-7.0.12-1-pve is to be removed.
 proxmox-kernel-7.0 depends on proxmox-kernel-7.0.12-1-pve-signed | proxmox-kernel-7.0.12-1-pve; however:
  Package proxmox-kernel-7.0.12-1-pve-signed is to be removed.
  Package proxmox-kernel-7.0.12-1-pve is not installed.
  Package proxmox-kernel-7.0.12-1-pve-signed which provides proxmox-kernel-7.0.12-1-pve is to be removed.

(Reading database ... 65607 files and directories currently installed.)
Removing proxmox-kernel-7.0.12-1-pve-signed (7.0.12-1) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 7.0.12-1-pve /boot/vmlinuz-7.0.12-1-pve
update-initramfs: Deleting /boot/initrd.img-7.0.12-1-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 7.0.12-1-pve /boot/vmlinuz-7.0.12-1-pve
run-parts: executing /etc/kernel/postrm.d/zz-proxmox-boot 7.0.12-1-pve /boot/vmlinuz-7.0.12-1-pve
Re-executing '/etc/kernel/postrm.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postrm.d/zz-systemd-boot 7.0.12-1-pve /boot/vmlinuz-7.0.12-1-pve
Removing kernel version 7.0.12-1-pve from systemd-boot...
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 7.0.12-1-pve /boot/vmlinuz-7.0.12-1-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-7.0.6-2-pve
Found initrd image: /boot/initrd.img-7.0.6-2-pve
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
Found memtest86+ 64bit image: /boot/memtest86+x64.bin
Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
Adding boot menu entry for UEFI Firmware Settings ...
done
Selecting previously unselected package proxmox-kernel-7.0.12-1-pve.
(Reading database ... 57402 files and directories currently installed.)
Preparing to unpack .../proxmox-kernel-7.0.12-1-pve_7.0.12-1_amd64.deb ...
Unpacking proxmox-kernel-7.0.12-1-pve (7.0.12-1) ...
Setting up proxmox-kernel-7.0.12-1-pve (7.0.12-1) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 7.0.12-1-pve /boot/vmlinuz-7.0.12-1-pve
update-initramfs: Generating /boot/initrd.img-7.0.12-1-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
Updating kernel version 7.0.12-1-pve in systemd-boot...
run-parts: executing /etc/kernel/postinst.d/proxmox-auto-removal 7.0.12-1-pve /boot/vmlinuz-7.0.12-1-pve
run-parts: executing /etc/kernel/postinst.d/zz-proxmox-boot 7.0.12-1-pve /boot/vmlinuz-7.0.12-1-pve
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postinst.d/zz-systemd-boot 7.0.12-1-pve /boot/vmlinuz-7.0.12-1-pve
Installing kernel version 7.0.12-1-pve in systemd-boot...
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 7.0.12-1-pve /boot/vmlinuz-7.0.12-1-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-7.0.12-1-pve
Found initrd image: /boot/initrd.img-7.0.12-1-pve
Found linux image: /boot/vmlinuz-7.0.6-2-pve
Found initrd image: /boot/initrd.img-7.0.6-2-pve
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
Found memtest86+ 64bit image: /boot/memtest86+x64.bin
Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
Adding boot menu entry for UEFI Firmware Settings ...
done
root@wopve:~#
 
Did you reinstall the kernals after you got the no space left error? (apt install -f)
If not then do that first.

I would think the error will leave your boot in a broken state for the kernal that got the error itself but leave the rest as is. (And thus still bootable with other versions.)
 
yes i did and it doesn't find anything to install, maybe i should install an 6.x kernel and then try to remove all 7.x kernels and maybe this will fix it


1782025895494.png
 
apt purge proxmox-kernel-7.0.12-1-pve proxmox-kernel-7.0.12-1-pve-signed should remove both instances of 7.0.12-1.
Edit: if it weren't the latest kernel version..

The real question is why that kernel panics out. Check with journalctl -b -1 (or -2, -3, etc. to find the problematic boot).
 
Last edited:
apt purge proxmox-kernel-7.0.12-1-pve proxmox-kernel-7.0.12-1-pve-signed should remove both instances of 7.0.12-1.

i don't think i will do that, i tried it before but on that message i stopped, which makes sense :)

1782026089187.png

maybe i really should first install kernel 6.x and then try again with 7.x
 
ok all good again, installed kernel 6.17 rebooted then installed 7.x kernel again and now is good and normal

1782027734295.png