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?