Updated to the latest kernel, now server fails to boot "error: premature end of file /boot/initrd.img-5.4.78-2-pve"

mackhax0r

Renowned Member
Jul 2, 2015
11
1
68
I'm using SystemRescue and so far I have

  • Uninstalled & reinstalled the kernel
  • Ran update-grub and update-initramfs with both -c and -u
  • Verified the configuration for grub
  • Verification of the configuration for initramfs
No matter what I do, this system will not boot. I'm mounting with the chroot with the following commands:

mount /dev/pve/root /pve
mkdir /pve/hostlvm
mount --bind /run/lvm /pve/hostlvm
arch-chroot /pve
/bin/su -
ln -s /hostlvm /run/lvm
Am I mounting incorrectly? I've tried everything I can think of. Lots of googling today with no success.
 
The only thing I can think of is the chroot instructions on the proxmox documentation is incorrect. Is there a certain way I need to mount the boot partition?
 
I also have issues with the new kernel
"volume group pve not found"
system booting with older kernel

I fixed my problem had /dev/sda in the global_filter of the /etc/lvm/lvm.conf
 
Last edited:
I also have issues with the new kernel
"volume group pve not found"
system booting with older kernel

I fixed my problem had /dev/sda in the global_filter of the /etc/lvm/lvm.conf

Did that fix the premature end of file error?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!