Kernel panic when trying to boot Ubuntu 20.04 on HP Z400

I saw some related questions online. I have bios v3.20 on my Xeon w3550 16gb hp z400. It has windows 10 pro installed on an ssd 240gb intel and has another 1tb hdd.

I tried booting up from usb and dvd ubuntu mate 20.04 64 bit but in both cases it have me kernel panic. I removed the ssd containing windows. The same result.

Surprise, lubuntu 16.04 i386 32bit worked with

  • In the setup menu navigate to Advanced -> Device Options. Make sure that "SATA RAID Option ROM Download" is disabled if this item is available.
  • In the setup menu navigate to Storage -> Storage Options. Make sure that "IDE" is selected.

just like in the 2nd answer from here: https://ubuntuforums.org/showthread.php?t=2445471

Funny thing is that now even if I revert the above settings and reconnect the ssd, the windows won't boot.

Update

Ubuntu Mate 18.04.1 64bit fails as well.

Ubuntu 16.04.3 i386 32 bit works with the above settings reverted

Ubuntu Mate 18.04.1 32 bit does not work


Solution 1:

With the help of @ChanganAuto I managed to install Ubuntu mate 20.04:

  1. I made the bios changes from my question
  2. After this only ubuntu 16.04 32 bit was able to load in order for me to delete all partitions from the drives, including Windows, with GParted. (if anyone has the same problem and wants to dual boot with Windows, skip this part and see what happens)
  3. I updated bios from 3.20 to 3.61.

The kernel panic was gone and I installed Ubuntu. After installation I reverted the changes from my questions to RAID+AHCI internal only and enabled RAID ROM Download.

Edit. I made another hp z400 bios update from 3.15 to 3.61 for ubuntu and just now I realized that hp z400 has different bios for windows and linux.