"Kernel Panic” error After upgrading Parrot OS

This guide will walk you through the steps of resolving the kernel panic error that you may encounter after upgrading your Parrot OS kernel to version 5.6.0.

Step 1: Enter Recovery Mode

  1. Restart your computer and enter the GRUB menu by pressing the appropriate key during the boot process. The specific key may vary depending on your computer's manufacturer and BIOS settings. Common keys include F2, F10, Delete, or Esc.
  2. Once in the GRUB menu, select "Advanced Mode" using the arrow keys and press Enter.
  3. In the Advanced Mode menu, locate the entry for Parrot OS 6.1 and select "Recovery Mode" using the arrow keys. Press Enter to boot into Recovery Mode.

Step 2: Purge Problematic Packages

  1. Once in Recovery Mode, log in as root using the default credentials.
  2. Open a terminal window by selecting "Drop to root shell prompt" from the Recovery Mode menu.
  3. Execute the following command to purge the problematic packages:
  4. sudo apt purge xtrx-dkms r8168-dkms realtek-rtl8188eus-dkms 
  5. Press Enter to confirm the removal of these packages.

Step 3: Update and Upgrade

  1. After purging the problematic packages, update and upgrade the system using the following commands:
  2. sudo apt update && sudo apt upgrade
  3. Press Enter to proceed with the update and upgrade process.

Step 4: Locate Parrot OS Partition

  1. Once the update and upgrade process is complete, identify the Parrot OS partition using the following command:
  2. sudo fdisk -l
  3. Carefully examine the output of the `fdisk -l` command to identify the correct partition number for your Parrot OS installation.

Step 5: Mount the Partition

  1. Mount the identified Parrot OS partition using the following command, replacing `{your disk partition}` with the actual partition number you found in Step 4:
  2. sudo mount /dev/sda{your disk partition} /mnt
  3. Press Enter to mount the partition.

Step 6: Update Initramfs

  1. Update the initramfs using the following command:
  2. update-initramfs -u -k 6.5.0–3parrot1-amd64
  3. Press Enter to proceed with the initramfs update.

Step 7: Update GRUB

  1. Update GRUB using the following command:
  2. sudo update-grub
  3. Press Enter to update GRUB.

Step 8: Reboot

  1. Restart your computer by issuing the following command:
  2. sudo reboot -h now

Comments

Post a Comment

Popular posts from this blog

HACK HC-05(BLUETOOTH MODULE) FRIMWARE INTO HID FRIMWARE

1 Best way to add members to Telegram group(2021 using python)