View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008398 | Kali Linux | General Bug | public | 2023-07-23 11:39 | 2023-08-31 04:14 |
Reporter | xefeyis114 | Assigned To | arnaudr | ||
Priority | immediate | Severity | block | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | 2023.2 | ||||
Summary | 0008398: Unable to boot kali after 'apt upgrade' & stuck at 'Loading Initial ramdisk' | ||||
Description | First: In Hyper-V, I had installed Kali 2023.2, I've restarted Hyper-V service and when trying to boot kali it stucks at BusyBox (initramfs) but keyboard not working (Cannot run fsck). Second: I've installed pre-built virtual machine for Hyper-V in my Hyper-V, it runs smooth, but after doing "sudo apt upgrade", and trying to reboot it stucks at "Loading Initial ramdisk...."; and in the Grub menu I found two images to boot: How to solve these two critical problems? | ||||
Attached Files | |||||
The second problem was fixed: 1) apt remove linux-image-6.3.0-kali1-amd64 Then boot normally But still the first problem not fixed!!!! |
|
Unfortunately this happened one time! |
|
Hi, I can confirm this issue and I was able to work around it by booting kernel 6.1. I haven't been able to debug it however as I'm here if you need any more information. Pierre |
|
This issue is updated |
|
Hi, i can confirm this problem. i got an intel 12gen cpu and nvidia gpu on my notebook. its something realted to Intel's IBT (Indirect branch tracking). Just turn it off in the GRUB Boot Parameters. After this, everything works perfectly fine. Steps:
if you want to make this change permanently just edit /etc/default/grub |
|
Hey RandonDude, Thanks for the workaround! Indeed it also seems to work on my end (i5-1345U with no discrete GPU). Pierre |
|
Seems like there are two bugs in this report. Question for HarmfulBreeze and RandonDude: are you running Kali with Hyper-V? Or baremetal? Or what? For xefeyis114: it's possible that you hit a bug with a particular version of a kernel. Or, when you installed Kali in Hyper-V, did you choose to encrypt the drive? I think that this setup doesn't work... Other than that, we tried with latest Kali (2023.3, to be released very soon), the Hyper-V premade image works, and we could successfully upgrade it to a newer kernel, and reboot. No problem, it went smoothly. |
|
Hi arnaudr, Thanks! |
|
Some people seem to face a very similar issue with VMware Player, also fixed with ibt=off: https://communities.vmware.com/t5/VMware-Workstation-Player/kernel-6-3-4-may-break-vmware-player/td-p/2971432 |
|
Hi arnaudr, I've tried both 2023.3 iso and the Hyper-V premade image released today and this issue still persists. I had also verified that with RandonDude's workaround, both iso and premade image works. I believed this is an issue introduced since the adoption of kernel 6.3: https://bugzilla.redhat.com/show_bug.cgi?id=2221531 |
|
A patch was merged into the kernel: https://github.com/torvalds/linux/commit/d5ace2a776442d80674eff9ed42e737f7dd95056 |
|
Yup, I've tried rebuilding the kernel with said patch it works: |
|
Do you happen to know if this patch is in the 6.4 kernel? We have kernel version 6.4.11-1kali1 in kali-experimental, feel free to give it a try. Here's a quick doc to enable the Kali experimental repository: https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/#enabling-kali-additional-branches Then you can install the kernel with a command such as: sudo apt update && sudo apt install -t kali-experimental linux-image-amd64 |
|
Tested kernel 6.4.11-1kali1 and it works. |
|
Hello all, first thanks for the reports, and the time you spent following up and testing. This is much appreciated. We just rebuilt and published a new Hyper-V pre-made image. It contains the kernel 6.4. This image is available at the usual location: https://www.kali.org/get-kali/#kali-virtual-machines. When you download it, you will notice that the image has the version 2023.3a. That's it, that's the one, that's the image with the fix! So, for everyone affected by the issue with the pre-made Hyper-V image: just download it again. Now, second case: for those who can't use the pre-made image, and instead need to install Kali within Hyper-V (hence using a installer image from https://www.kali.org/get-kali/#kali-installer-images). We did NOT rebuild those images, so you might still be affected by the bug. You have the following options:
Just to clarify: not everyone is affected by this issue, from what I could gather: « IBT is supported, for kernel code only, in Intel processors starting with the Tiger Lake generation, which hit the market in late 2020 » So the issue doesn't affect those who have Intel CPUs older than that. Thanks to everyone involved! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-07-23 11:39 | xefeyis114 | New Issue | |
2023-07-23 13:12 | xefeyis114 | Note Added: 0018254 | |
2023-07-23 14:08 | xefeyis114 | Note Added: 0018255 | |
2023-07-25 09:27 | HarmfulBreeze | Note Added: 0018256 | |
2023-08-08 20:32 | xefeyis114 | Note Added: 0018289 | |
2023-08-22 13:43 | RandonDude | Note Added: 0018353 | |
2023-08-22 13:48 | HarmfulBreeze | Note Added: 0018355 | |
2023-08-22 16:59 | arnaudr | Note Added: 0018357 | |
2023-08-24 09:41 | HarmfulBreeze | Note Added: 0018364 | |
2023-08-24 09:43 | HarmfulBreeze | Note Added: 0018365 | |
2023-08-24 12:49 | deyixtan | Note Added: 0018369 | |
2023-08-24 15:10 | HarmfulBreeze | Note Added: 0018371 | |
2023-08-24 16:14 | deyixtan | Note Added: 0018372 | |
2023-08-24 21:13 | arnaudr | Note Added: 0018375 | |
2023-08-25 09:02 | deyixtan | File Added: Screenshot 2023-08-25 165803.png | |
2023-08-25 09:02 | deyixtan | Note Added: 0018376 | |
2023-08-31 04:12 | arnaudr | Note Added: 0018424 | |
2023-08-31 04:13 | arnaudr | Assigned To | => arnaudr |
2023-08-31 04:13 | arnaudr | Status | new => assigned |
2023-08-31 04:14 | arnaudr | Status | assigned => resolved |
2023-08-31 04:14 | arnaudr | Resolution | open => fixed |