“Kernel Panic” after upgrade Parrot OS
sudo apt update && sudo apt upgrade
reboot
For Parrot OS users this might happen to you if you upgrade your OS to kernel 6.5.
I faced this situation recently. After watching videos and reading articles how to fix it, i found the solution in Parrot Security social media Discord.
Solution
The Kernel Panic is caused by the “xtrx-dkms, r8168-dkms, realtek-rtl8188eus-dkms, nvidia-kernel-dkms, and nvidia-driver” packages. To resolve the issue:
- From the GRUB menu, select “Advanced Mode” and start Parrot OS 6.1 in Recovery Mode.
- Purge the problematic packages:
sudo apt purge xtrx-dkms r8168-dkms realtek-rtl8188eus-dkms nvidia-kernel-dkms nvidia-driver
3. Update and upgrade again:
sudo apt update && sudo apt upgrade
4. Locate your Parrot OS partition:
sudo fdisk -l
5. Mount the partition:
sudo mount /dev/sda{your disk partition} /mnt
6. Update initramfs:
update-initramfs -u -k 6.5.0–3parrot1-amd64
7. Update GRUB:
sudo update-grub
Reboot, and it’s done.
If you use dual boot and encounter issues with GRUB identifying other operating systems, you can find a solution here.
Feel free to leave a comment if you encounter any other errors.