Hello, i have updated Kali Linux , now the Kali is not booting with Kernel 6.4 Anybody knows how to solve this? Regards
The main reason for the kernel panic is due to changes in the Linux Kernel in the following two commits: (1) https://github.com/torvalds/linux/commit/54d020692b342f7bd02d7f5795fb5c401caecfcc (2) https://github.com/torvalds/linux/commit/3e3271549670783be20e233a2b78a87a0b04c715 Here is a quick workaround, but it's not an official solution provided by Parallels. If it is not urgently needed, it is recommended to wait for an official update of Parallels Tools. First, boot Kali with the old kernel (6.4.0) and use the attached file to patch the following two files. Afterward, you can upgrade the kernel to 6.5.0 using `apt update`: (1) /var/lib/dkms/parallels-tools/19.0.0.54570/source/prl_fs/SharedFolders/Guest/Linux/prl_fs/file.c (2) /var/lib/dkms/parallels-tools/19.0.0.54570/source/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h
The main reason for the kernel panic is due to changes in the Linux Kernel in the following two commits: (1) https://github.com/torvalds/linux/commit/54d020692b342f7bd02d7f5795fb5c401caecfcc (2) https://github.com/torvalds/linux/commit/3e3271549670783be20e233a2b78a87a0b04c715 Here is a quick workaround, but it's not an official solution provided by Parallels. If it is not urgently needed, it is recommended to wait for an official update of Parallels Tools. First, boot Kali with the old kernel (6.4.0) and use the attached file to patch the following two files. Afterward, you can upgrade the kernel to 6.5.0 using `apt update`: (1) /var/lib/dkms/parallels-tools/19.0.0.54570/source/prl_fs/SharedFolders/Guest/Linux/prl_fs/file.c (2) /var/lib/dkms/parallels-tools/19.0.0.54570/source/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h
Thanks a lot, this worked! After a failed attempt to upgrade to kernel 6.5.0 I did the following to fix it 1. I booted my kali VM with kernel 6.3.0 and Uninstalled kernel 6.5.0 (this also autoremoved linux-image-arm64 and linux-header-arm64) user$ sudo apt remove linux-headers-6.5.0-kali1-arm64 linux-image-6.5.0-kali1-arm64 linux-headers-6.5.0-kali1-common linux-kbuild-6.5.0-kali1 2. Manually deleted the /lib/modules/6.5.0-kali1-arm64 folder sudo rm -rf /lib/modules/6.5.0-kali1-arm64 3. Reinstalled parallel tools user$ sudo mount -oro,exec,remount /media/cdrom user$ sudo /media/cdrom/install 4. Patched the files with your patch root# cd /var/lib/dkms/parallels-tools/19.0.0.54570/source root# patch -p1 < /home/user/Downloads/parallels-tools_kernel_6_5_0.txt 5. Reinstalled the new kernel and headers sudo apt update sudo apt install linux-image-arm64 linux-header-arm64