
As text:
[ 0.187279] Initramfs unpacking failed: invalid magic at start of compressed
archive
[ 0.373537] Kernel panic - not syncing: UFS: Unable to mount root fs on unknown
wn-block(0,0)
[ 0.3736011 CPU: 0 PID: 1 Comm: swapper/0 Mot tainted 5.4.0-146-generic #163-
Ubuntu
[ 0.373661] Hardware name: To Be Filled By 0.E.M. To Be Filled By 0.E.M./AB35
0 Pro1, BIOS P5.80 06/14/2019
[ 0.3737241 Call Trace:
[ 0.373777] dump_stack+0x6d/0x8b
[ 0.3738291 panic+0x101/0x2e3
[ 0.373880] mount_block_root+0x23f/0x2e8
[ 0.373933] mount_root+0x38/0x3a
[ 0.3739841 prepare_namespace+0x13f/0x194
[ 0.374036] kernel_init_freeable+0x265/0x289
[ 0.374090] ? rest_init+0xb0/0xb0
[ 0.374141] kernel_init+0xe/0x110
[ 0.3741921 ret_from_fork+0x35/0x10
[ 0.374263] Kernel Offset: 0x31200000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 0.3743341 ---[ end Kernel panic - not syncing: UFS: Unable to mount root fs on unknown-block(0,0) ]---
I am using LUKS + LVM on my Ubuntu SSD drive.
I tried to boot using livecd, mount, chroot and update initramfs + grub, but that doesn't solve the problem.
mint@mint:~$ sudo cryptsetup luksOpen /dev/sdc5 sda5_crypt
Enter passphrase for /dev/sdc5:
mint@mint:~$ sudo mount /dev/mapper/ubuntu--vg-root /mnt
mint@mint:~$ sudo mount --bind /dev /mnt/dev
mint@mint:~$ sudo mount --bind /dev/pts /mnt/dev/pts
mint@mint:~$ sudo mount --bind /proc /mnt/proc
mint@mint:~$ sudo mount --bind /sys /mnt/sys
mint@mint:~$ sudo mount /dev/sdc1 /mnt/boot
mint@mint:~$ sudo chroot /mnt
root@mint:/# sudo update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-5.4.0-146-generic
root@mint:/# sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-146-generic
Found initrd image: /boot/initrd.img-5.4.0-146-generic
Found linux image: /boot/vmlinuz-5.4.0-144-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows 10 on /dev/nvme0n1p1
done
root@mint:/#