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.
Have no idea how to solve this :(
Asked
Active
Viewed 98 times
0

borja
- 13
- 2
-
1The "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 Answers
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