I had a problem with my Parrot Home Edition a couple of days ago (5th January), following the running of a substantial number of updates which included a kernel upgrade. The nature of some of the updates was such that I knew in advance that, on completion and reboot, Parrot would take the lead on my extensive Grub Menu.
On rebooting, Linux went to boot Parrot and dropped me at a Kernel Panic screen.
Now, I have a bit of experience with Kernel Panics, and workarounds for them but in this case they would likely not have worked, as the issue ultimately proved to be with the kernel itself, or rather, with some packages already installed which got a stomach ache with a particular kernel.
Which kernel?
In my case it was the one described as 6.5.13
However it has been reported as happening with 6.5.0
So it appears that the 6.5 series has the problems with these packages, and in order to use your newer Parrot kernels, these issues must be addressed(unless or until those kernels are patched).
EDITED - bracketed portion. It is not the kernels at fault, but the defective packages must be removed in order to use the kernels.
I thought I would share with you what I found, in the hope that it will help you should you face these issues.
MY ACTIONS
With Kernel Panics, you quite often have to power down - press and hold the power button until the machine switches off. Then reboot/restart.
1. At my Grub Menu, with Parrot on top, I chose Advanced Options.
The first and second entries are to do with kernel 6.5.13 and its recovery mode, which I know won’t work, so I chose the 6.1.0 option (3rd) and booted from there.
2. Having established that the older kernel worked fine, I rebooted into another Linux (you could use a Parrot Live USB stick, install Timeshift on it) and then restored my Parrot to its state prior to the updates. I then began my search for answers.
QUALIFICATION - use of Timeshift is optional. I use it frequently, and recommend it.
3. I used the following keywords on Google
parrot kernel panic "6.5.0-13"
and found a number of recent articles from Unix & Linux Stack Exchange, Medium and Reddit.
I ultimately went with the Reddit one, because it had a solution from someone on the Parrot Team. I will provide its link below, but before you go racing off to use it, wait until I clarify its Step 6, on initramfs
Broadly speaking the problem was being caused with these packages
xtrx-dkms r8168-dkms realtek-rtl8188eus-dkms nvidia-kernel-dkms nvidia-driver
4. On my distros, I have mlocate or plocate installed on all of them, which allows me the use of the command locate, but if you do not have same, you can use the
find
command (read the manual if unsure, man find)
I found I had two (2) of the packages - r8168-dkms realtek-rtl8188eus-dkms installed, and I purged them as per the article instructions.
5. I then ran, as instructed,
and rebooted, and I was good to go with the new kernel, after only three (3) steps.
KERNEL REFERENCES USED AND AFFECTED BY
In my case, I only run updates about once a month, preceded and followed by the taking of Timeshift snapshots.
My previous snapshot for Parrot was from 5 December, and it included the kernel described as
6.1.0-1parrot1-amd64
The kernel that, for me, crashed with Kernel Panic, was
6.5.0-13parrot1-amd64
However the Reddit article, with the post from Parrot’s @tissy_p , references
6.5.0-3parrot1-amd64
in Step 6, where there is a need to rebuild your
initramfs
So if you need to use Steps 4 to 10 from that article solution, be sure to use the correct kernel number that applies to you.
I have pointed out the difference in my case at Reddit, but I have worded it poorly, so may edit or address that.
Let us know if you have any questions or problems.
Cheers
Wizard
On rebooting, Linux went to boot Parrot and dropped me at a Kernel Panic screen.
Now, I have a bit of experience with Kernel Panics, and workarounds for them but in this case they would likely not have worked, as the issue ultimately proved to be with the kernel itself, or rather, with some packages already installed which got a stomach ache with a particular kernel.
Which kernel?
In my case it was the one described as 6.5.13
However it has been reported as happening with 6.5.0
So it appears that the 6.5 series has the problems with these packages, and in order to use your newer Parrot kernels, these issues must be addressed
EDITED - bracketed portion. It is not the kernels at fault, but the defective packages must be removed in order to use the kernels.
I thought I would share with you what I found, in the hope that it will help you should you face these issues.
MY ACTIONS
With Kernel Panics, you quite often have to power down - press and hold the power button until the machine switches off. Then reboot/restart.
1. At my Grub Menu, with Parrot on top, I chose Advanced Options.
The first and second entries are to do with kernel 6.5.13 and its recovery mode, which I know won’t work, so I chose the 6.1.0 option (3rd) and booted from there.
2. Having established that the older kernel worked fine, I rebooted into another Linux (you could use a Parrot Live USB stick, install Timeshift on it) and then restored my Parrot to its state prior to the updates. I then began my search for answers.
QUALIFICATION - use of Timeshift is optional. I use it frequently, and recommend it.
3. I used the following keywords on Google
parrot kernel panic "6.5.0-13"
and found a number of recent articles from Unix & Linux Stack Exchange, Medium and Reddit.
I ultimately went with the Reddit one, because it had a solution from someone on the Parrot Team. I will provide its link below, but before you go racing off to use it, wait until I clarify its Step 6, on initramfs
Broadly speaking the problem was being caused with these packages
xtrx-dkms r8168-dkms realtek-rtl8188eus-dkms nvidia-kernel-dkms nvidia-driver
4. On my distros, I have mlocate or plocate installed on all of them, which allows me the use of the command locate, but if you do not have same, you can use the
find
command (read the manual if unsure, man find)
I found I had two (2) of the packages - r8168-dkms realtek-rtl8188eus-dkms installed, and I purged them as per the article instructions.
5. I then ran, as instructed,
Code:
sudo apt update && sudo parrot-upgrade
and rebooted, and I was good to go with the new kernel, after only three (3) steps.
KERNEL REFERENCES USED AND AFFECTED BY
In my case, I only run updates about once a month, preceded and followed by the taking of Timeshift snapshots.
My previous snapshot for Parrot was from 5 December, and it included the kernel described as
6.1.0-1parrot1-amd64
The kernel that, for me, crashed with Kernel Panic, was
6.5.0-13parrot1-amd64
However the Reddit article, with the post from Parrot’s @tissy_p , references
6.5.0-3parrot1-amd64
in Step 6, where there is a need to rebuild your
initramfs
So if you need to use Steps 4 to 10 from that article solution, be sure to use the correct kernel number that applies to you.
I have pointed out the difference in my case at Reddit, but I have worded it poorly, so may edit or address that.
Let us know if you have any questions or problems.
Cheers
Wizard
Last edited: