Fix Kernel Panic error on the Victus by HP Gaming Laptop

D

Deleted member 216840

Guest
Let's take it step by step.
I have tried everything possible to install a different distribution on my brother's laptop, and it has not worked. His laptop is a Victus by HP Gaming Laptop 15-fb1013dx. Secure boot is disabled and nothing can be changed. When I try to boot the ISO in the Grub menu, several things happen.
1. It does not start and returns me to the menu.
2. It loads, but then the screen goes black and it returns me to the menu.
3. Kernel Panic appears (which seems to be the main problem).
4. If, by some miracle, the ISO starts and I try to install it, or I'm just browsing the environment, it freezes (the screen goes black and either returns me to the menu or Kernel Panic appears).
5. Let's say I successfully install the ISO (a low probability), and when I start using it, it freezes and Kernel Panic appears (it's unpredictable).
This has been frustrating me for the last 2 days, and I don't know what to do. Any practical solution or advice is welcome.
 


Was it pre-installed with Windows 11? If so try disabling fast-boot in the UEFI as well. Also make sure sata mode is set to AHCI and not RAID.

For anyone else coming across your topic and wanting to help it will be useful to know which Distributions you have tried?

P.S I removed the HOWTO prefix from your topic title because those are used for writing HOWTO's. and this is request for help topic.
 
Was it pre-installed with Windows 11? If so try disabling fast-boot in the UEFI as well. Also make sure sata mode is set to AHCI and not RAID.

For anyone else coming across your topic and wanting to help it will be useful to know which Distributions you have tried?

P.S I removed the HOWTO prefix from your topic title because those are used for writing HOWTO's. and this is request for help topic.
I had previously managed to install a distribution on the laptop, which, as you might expect, came with Windows 11 installed. Removing it was quite a challenge, but I managed it. However, at first I encountered the same error that is now occurring, where the distribution freezes and cannot be used, and the Caps Lock key flashes. The quick boot option is not present in UEFI (it must be a model issue). And SATA mode is not in it either. I am now trying Fedora and, as I suspected, the same error continues to appear on the live USB, it freezes and the Caps Lock key flashes. And thank you for the change in the request.
 

Attachments

  • IMG_20251118_151536.jpg
    IMG_20251118_151536.jpg
    402.3 KB · Views: 217
I had previously managed to install a distribution on the laptop, which, as you might expect, came with Windows 11 installed. Removing it was quite a challenge, but I managed it. However, at first I encountered the same error that is now occurring, where the distribution freezes and cannot be used, and the Caps Lock key flashes. The quick boot option is not present in UEFI (it must be a model issue).
Did you also disable this in the UEFI as I mentioned in my first reply?
Was it pre-installed with Windows 11? If so try disabling fast-boot in the UEFI as well.
 
Did you also disable this in the UEFI as I mentioned in my first reply?
In fact, it doesn't have fast boot, so that wasn't necessary, and it still fails when I try to install a distro. The BIOS setup does not contain fast boot, I repeat, and I have disabled secure boot, but despite everything, I can't get the laptop to boot Linux distributions without that annoying error filling the entire screen.
 
I had previously managed to install a distribution on the laptop, which, as you might expect, came with Windows 11 installed. Removing it was quite a challenge, but I managed it. However, at first I encountered the same error that is now occurring, where the distribution freezes and cannot be used, and the Caps Lock key flashes. The quick boot option is not present in UEFI (it must be a model issue). And SATA mode is not in it either. I am now trying Fedora and, as I suspected, the same error continues to appear on the live USB, it freezes and the Caps Lock key flashes. And thank you for the change in the request.
There are a few aspects which are unclear to me from post #1 and #3.

It's unclear what the following quote means in the contest of installing from an .iso file:
"When I try to boot the ISO in the Grub menu"

Usually when one boots an .iso file from a menu, it's the boot menu of the BIOS/UEFI that has been accessed, not the grub menu, since grub would only be installed much later in the installation process. I guess then the reference is to the boot menu, but I may be mistaken.

Since you have already installed a distro which may have actually been booted from grub resulting in a kernel panic, the situation may be quite different to what one imagines. The situation is best clarified, for me anyway.

In post #3 it's mentioned that a distro has been installed, which I presume is a linux distro, but it also fails with "the same error", which presumably is the kernel panic.

It was mentioned that fast boot is not present, nor sata mode for selecting AHCI. On reading about this HP model Victus Gaming Laptop 15-fb1013dx (845A2UA), it appears that it runs an AMI BIOS/UEFI and that HP may actually modify it to remove the option, and they may do other modifications as well. One way of telling is by a meticulous navigation through all menu options. A laborious task without promise of success. On secure booting, that menu option does exist. On AHCI I can't say.

The following states usually enable a successful installation:

If the hardware is known to be good, for example, it all worked as intended when MS was installed, then that variable can be discounted and linux drivers will usually run the hardware just fine for machines like this laptop apparently released in 2023.

If the .iso files have been checksummed with the sha256sum command and are shown to be "OK" or pass, then that variable can be discounted as well.

Therefore, at the point at which one is sure of a good .iso and good hardware, then installation normally has no issues.

The following are some observations which occur.

Commonly kernel panics on installing from .iso files are caused by corrupted media, or problems with the drive. There are other causes too, such as the kernel being unable to find the root filesystem, but no details of the screen output from a kernel panic have been provided so readers are not aware of any error messages.

Since failures are continually occurring, one might speculate that they may be due to code that has been left over on the drive from all the activity of removing and installing that has occurred, as described in post #1 and #3. MS installations in particular are known to have sectors or blocks on drives are that are not so readily accessible to operating systems.

If it is indeed that left over code on the drive which is interfering, then one can clean the drive from a live disk. The drive appears to be an nvme disk according to specs here: https://support.hp.com/rs-en/produc...laptop-15-fb1000/model/2101704034?sku=845A2UA.

To wipe an nvme drive one can use the relevant nvme commands from the package: nvme-cli, which is available on a number of live disks, including the live disk: SystemRescue, which one would need to download and write to a usb and run from there. In particular one could check out the nvme sanitize command from its manpage. There's a learning curve and it's best to learn how these things work before implementing them.

After the drive has been cleaned, one can try a new installation.

-------

As it happens, I had a recent experience of verifying a fedora workstation .iso file with the checksum, described as follows.

The checksum is in the same directory as the .iso file in the repository from which the .iso file is downloaded, for example, both the .iso file and the checksum file were present here: https://mirror.aarnet.edu.au/pub/fedora/linux/releases/43/Workstation/x86_64/iso/ and both downloaded into the same directory on the machine here.

There are many mirrors holding the same files around the world.

To verify the .iso file, both the checksum file and .iso file, located in the same directory, saw the following command run:
Code:
$ sha256sum -c Fedora-Workstation-43-1.6-x86_64-CHECKSUM | grep -i OK
sha256sum: WARNING: 17 lines are improperly formatted
Fedora-Workstation-Live-43-1.6.x86_64.iso: OK

The "OK" means the .iso file is verified. The WARNING here can be ignored because it refers to the gpg check data. Some details here: https://discussion.fedoraproject.org/t/issues-with-verifying-the-iso/118690/3.

When the .iso file was installed on a machine here, it ran flawlessly on a clean drive. I can't say anything about the laptop drive, but perhaps some observations here give pause for thought.
 
Last edited:
There are a few aspects which are unclear to me from post #1 and #3.

It's unclear what the following quote means in the contest of installing from an .iso file:


Usually when one boots an .iso file from a menu, it's the boot menu of the BIOS/UEFI that has been accessed, not the grub menu, since grub would only be installed much later in the installation process. I guess then the reference is to the boot menu, but I may be mistaken.

Since you have already installed a distro which may have actually been booted from grub resulting in a kernel panic, the situation may be quite different to what one imagines. The situation is best clarified, for me anyway.

In post #3 it's mentioned that a distro has been installed, which I presume is a linux distro, but it also fails with "the same error", which presumably is the kernel panic.

It was mentioned that fast boot is not present, nor sata mode for selecting AHCI. On reading about this HP model Victus Gaming Laptop 15-fb1013dx (845A2UA), it appears that it runs an AMI BIOS/UEFI and that HP may actually modify it to remove the option, and they may do other modifications as well. One way of telling is by a meticulous navigation through all menu options. A laborious task without promise of success. On secure booting, that menu option does exist. On AHCI I can't say.

The following states usually enable a successful installation:

If the hardware is known to be good, for example, it all worked as intended when MS was installed, then that variable can be discounted and linux drivers will usually run the hardware just fine for machines like this laptop apparently released in 2023.

If the .iso files have been checksummed with the sha256sum command and are shown to be "OK" or pass, then that variable can be discounted as well.

Therefore, at the point at which one is sure of a good .iso and good hardware, then installation normally has no issues.

The following are some observations which occur.

Commonly kernel panics on installing from .iso files are caused by corrupted media, or problems with the drive. There are other causes too, such as the kernel being unable to find the root filesystem, but no details of the screen output from a kernel panic have been provided so readers are not aware of any error messages.

Since failures are continually occurring, one might speculate that they may be due to code that has been left over on the drive from all the activity of removing and installing that has occurred, as described in post #1 and #3. MS installations in particular are known to have sectors or blocks on drives are that are not so readily accessible to operating systems.

If it is indeed that left over code on the drive which is interfering, then one can clean the drive from a live disk. The drive appears to be an nvme disk according to specs here: https://support.hp.com/rs-en/produc...laptop-15-fb1000/model/2101704034?sku=845A2UA.

To wipe an nvme drive one can use the relevant nvme commands from the package: nvme-cli, which is available on a number of live disks, including the live disk: SystemRescue, which one would need to download and write to a usb and run from there. In particular one could check out the nvme sanitize command from its manpage. There's a learning curve and it's best to learn how these things work before implementing them.

After the drive has been cleaned, one can try a new installation.

-------

As it happens, I had a recent experience of verifying a fedora workstation .iso file with the checksum, described as follows.

The checksum is in the same directory as the .iso file in the repository from which the .iso file is downloaded, for example, both the .iso file and the checksum file were present here: https://mirror.aarnet.edu.au/pub/fedora/linux/releases/43/Workstation/x86_64/iso/ and both downloaded into the same directory on the machine here.

There are many mirrors holding the same files around the world.

To verify the .iso file, both the checksum file and .iso file, located in the same directory, saw the following command run:
Code:
$ sha256sum -c Fedora-Workstation-43-1.6-x86_64-CHECKSUM | grep -i OK
sha256sum: WARNING: 17 lines are improperly formatted
Fedora-Workstation-Live-43-1.6.x86_64.iso: OK

The "OK" means the .iso file is verified. The WARNING here can be ignored because it refers to the gpg check data. Some details here: https://discussion.fedoraproject.org/t/issues-with-verifying-the-iso/118690/3.

When the .iso file was installed on a machine here, it ran flawlessly on a clean drive. I can't say anything about the laptop drive, but perhaps some observations here give pause for thought.
In summary, everything I tried using SystemRescue was a complete failure. As I feared, everything freezes again. All the text is explanatory, but I feel that 1/3 of the paragraph I read was what I tried, and nothing worked. Come on, there's no solution for this :( Or maybe I'm just ignorant about the steps. A practical and understandable solution is within my capabilities, haha.


The attached image is, in a nutshell, Kernel Panic in SystemRescue.
 

Attachments

  • IMG_20251119_175644.jpg
    IMG_20251119_175644.jpg
    1.6 MB · Views: 193
After downloading the ISO and verifying it...I either burn the ISO to a Flash Drive or drag it into Ventoy.

I then restart tapping the Key that brings up the Boot Menu...I select my Flash Drive and hit Enter but that's me.
1763609661417.gif
 
Have you tried swapping the internal Drive...this may be the problem.
1763676768631.gif
 
Have you tried swapping the internal Drive...this may be the problem. View attachment 28819
Well, I had thought about it, but I don't know if it will be effective. In the meantime, there is no other way. Cleaning the drive using Systemrescue was a lost cause (it won't even boot up, just like the ISOs). I would hope for a concrete and functional solution. I no longer have any other options for this strange bug/error.
 
. Secure boot is disabled
and what about windows quick-start/fast boot this must be disabled and a full power re-boot [not a re-start from windows panel] or it can self enable again

 
When I try to boot the ISO in the Grub menu, several things happen.
Can you tell us which exact ISO you are trying to boot and which process you are following. As they're several way to boot from ISO. The more you tell us it will be easy for us to help you. Your kernel panic screen showing unable to access root file.
 
Can you tell us which exact ISO you are trying to boot and which process you are following. As they're several way to boot from ISO. The more you tell us it will be easy for us to help you. Your kernel panic screen showing unable to access root file.
Okay, I'll take it step by step:
1. To boot an ISO (it doesn't matter which one because the same thing happens: Ubuntu, Fedora, Linux Mint, Pop OS, etc.). I use Impression (for a single one) or Ventoy (in fact, it doesn't matter which programme I use).
2. On the laptop, to go to the boot menu, I press F9 and select the ISO. In the case of Ventoy, I select it, it takes me to its ISO window, and I select the ISO there as well.
3. Remember that I have secure boot disabled and do not have a wide range of options like the ones provided here. It no longer matters whether I boot in "safe Graphics" or normally, the same error will still occur.
A review of multiple errors:
1. It stays black and returns me to the menu options, or, failing that, it stays black and nothing else happens.
2. The infamous "Kernel Panic" appears and nothing else happens again.
3. The loading symbol appears in black and returns me to the menu.
4. With low probability, the iso starts, but after using it for an indefinite amount of time, it freezes (it returns me to the menu/Kernel Panic appears).
5. Miraculously, when I install the distro on the computer and start it up, after a few moments of use, it freezes, and Kernel Panic appears, or it just freezes (nothing else, nothing new).
Believe me, it's irritating >:/
 
The attached image is, in a nutshell, Kernel Panic in SystemRescue.

I use Impression (for a single one) or Ventoy (in fact, it doesn't matter which programme I use).
Kernel panic message tells me FS on your USB is not recognized, therefore try some other software to create bootable USB.

It says:
Cannot open root device "" or unknown block (0,0)

I suggest you to use Rufus with the following options:
  • UEFI
  • GPT
  • dd (the option select appears on next window)

dd is important because it won't create partitions like ventoy does.

That's if you're creating USB on Windows.
 
Kernel panic message tells me FS on your USB is not recognized, therefore try some other software to create bootable USB.

It says:


I suggest you to use Rufus with the following options:
  • UEFI
  • GPT
  • dd (the option select appears on next window)

dd is important because it won't create partitions like ventoy does.

That's if you're creating USB on Windows.
Well, I no longer have Windows on my computer, and I only use Linux on a daily basis, so I won't be able to use it. But thanks anyway :)
 
Have you tried updating the bios/uefi firmware to the latest version if you haven't already and booting the installation media or/and installation with nomodeset?
But, as I am trying to update the BIOS on this laptop using Linux, because I don't want to ruin the installation in the process. And yes, I have already tried nomodeset, but it still doesn't work. The first time it worked, but then it froze and hasn't worked since :(
 
Well, I no longer have Windows on my computer, and I only use Linux on a daily basis, so I won't be able to use it. But thanks anyway :)
On Debian you can simply use cp command to copy ISO to USB and have a working bootable USB, it works with Debian ISO's only, other distros require various image writers, sometimes specialized toward specific distro, like Fedora.
 
But, as I am trying to update the BIOS on this laptop using Linux, because I don't want to ruin the installation in the process. And yes,
All you have to do to flash you UEFI is copy the file to a usb flash drive, then boot into your UEFI and then use the UEFI flash tool to flash it. You don't have to do it from Linux, not sure how you can ruin your installation by flashing your UEFI firmware?
 
Okay, I'll take it step by step:
1. To boot an ISO (it doesn't matter which one because the same thing happens: Ubuntu, Fedora, Linux Mint, Pop OS, etc.). I use Impression (for a single one) or Ventoy (in fact, it doesn't matter which programme I use).
2. On the laptop, to go to the boot menu, I press F9 and select the ISO. In the case of Ventoy, I select it, it takes me to its ISO window, and I select the ISO there as well.
3. Remember that I have secure boot disabled and do not have a wide range of options like the ones provided here. It no longer matters whether I boot in "safe Graphics" or normally, the same error will still occur.
A review of multiple errors:
1. It stays black and returns me to the menu options, or, failing that, it stays black and nothing else happens.
2. The infamous "Kernel Panic" appears and nothing else happens again.
3. The loading symbol appears in black and returns me to the menu.
4. With low probability, the iso starts, but after using it for an indefinite amount of time, it freezes (it returns me to the menu/Kernel Panic appears).
5. Miraculously, when I install the distro on the computer and start it up, after a few moments of use, it freezes, and Kernel Panic appears, or it just freezes (nothing else, nothing new).
Believe me, it's irritating >:/
This unfortunate experience appears to be extremely frustrating.

Nevertheless, some thoughts occur which may be useful, firstly on problems with .iso files.

If I understand it correctly, the process by which the .iso goes through to create the installation, appears to be failing with kernel panic. That is distinct from a kernel panic from an installed system, though the two are similar.

That process using the .iso file roughly goes like this:
the bootloader on the .iso loads the kernel;
the kernel boots and unpacks the initramfs into memory;
(the initramfs is a small linux system);
the initramfs scripts try and find the squashfs;
(the squashfs contains the root filesystem);
kernel tries to mount the squashfs as the real root filesystem.

If the kernel can't mount the squashfs, or can't even find the squashfs, it panics.
The panic stops all processes because there are none that can be run without a root filesystem.

The main reason such kernel panics occur is because of faulty or corrupted media. There are other reasons like a bad squashfs, and a bad initramfs, but usually those things are well tested by the distros that release them, so the problem is usually not in the software itself.

Nowhere in this thread to this point has the installation media been shown to be verified. I can't vouch for either of the means of creating the .iso file, Impression or ventoy since I don't use them, but, as mentioned in post #6, one can only discount the possibility of .iso file corruption by using the verification process described in that post.

In relation to the cleaning of the disk, no details have been provided, such as the actual command used, any output on the screen which could show errors, and whether it was successful or not. If it was successful, it returns a 0. The nvme sanitize process can write a log of what it's doing, so if there were errors it would be useful to see from the log what the process is saying. There are man pages for both nvme-sanitze and nvme-sanitize-log.

Secondly, it's also mentioned that some .iso files have installed a distro, but when the distro boots, it also suffers a kernel panic. In that case, some different processes may be occurring. If the installation is intact, there will be a root filesystem on the drive, so if the kernel is saying that it can't find the root filesystem, it can be informed of its location with an option on the kernel boot line. This is done by stopping the boot at the grub prompt and editing the linux line in the grub configuration by adding an option like: root=/dev/sda2, where /dev/sda2 is the partition where the root filesystem is located. The user needs to determine the specific location, that is, the correct /dev/... name which can be done in number of ways.
 


Follow Linux.org

Members online


Top