0

Im trying to boot a proxmox that was abruptly rebooted due a power lost. When trying to boot it stops with a kernel panic. The error it shows is "Initramfs unpacking failed: no cpio magic". I attached a picture. kernel panic stack trace Have no idea how to solve this :(

borja
  • 13
  • 2
  • 1
    The "no cpio magic" error means that the loaded initrd image is corrupt (or missing, I guess). Recovery will probably involve booting from some alternate media (e.g. a live cdrom image) and then inspecting the filesystem, the bootloader configuration, etc. Or just redeploy from scratch, which in many situations is the easier path. – larsks Jul 10 '23 at 14:47

1 Answers1

0

I was able to recover the image (it was corrupted) from a live distro (ubuntu), mounting the root filesystem and chroot to it and executing update initramfs commans with -u option to replace.

borja
  • 13
  • 2