Installation problem (Panic)

I am a beginner with Haiku, and I am trying to install the OS on a PC, but this error appears:

How can I fix it?

Thank you in advance for your help =)

2 Likes

Hello,

Does it happen after installing and in the first reboot, or when booting from usb ?

What is the machine where you are trying to install ? Kind of disks, etc.

It happened when booting from the USB

The PC is an old Lenovo G50-30 (celeron N2840) , I try to install on a HDD.

1 Like

https://www.haiku-os.org/docs/userguide/en/bootloader.html

1 Like

Thank you, which option should i choose?

The panic happens likely because the kernel isn’t able to read the usb stick you’re using. This happend to me on a lenovo machine when I tried to install beta4 but that was fixed in a nightly, you could try that. You could try not using the BIOS functions or disabling DMA. If you have an internal CD drive, you could try booting Haiku using that, as those are usually on the internal SATA/AHCI controller, which makes less trouble than the USB controller. Once installed Haiku should start from the normal hard drive.

Alternatively, if you’re trying to set up a dual boot, you could use QEMU to install Haiku on the real hard drive using qemu-system-x86_64 --enable-kvm -hda /dev/sda -cdrom HAIKU-ISO.iso, after having prepartitioned your hard drive, though that’s a bit more difficult. Note though that you must not mount the partition that you want to install Haiku on on the Host system or any other partition than the one that you want to install Haiku on in the VM.

1 Like

Thanks a lot, I’ll try it with a CD tomorrow

Please report a ticket. The random bootloader link can be ignore.

1 Like

Ahoy,

I had magnified your error message

PANIC : did not find any boot partititons

means there’s no recognizeable Haiku boot partitions.

Sometimes it is because the SATA Operation settings in the firmware (BIOS/UEFI) you have.
SATA Operation means whar kind of specifications use the controller in your laptop and what kind of special feature supported like a RAID option.

At this point I restarted my Dell Precision M6700 laptop to not say stupidity, so for me in this machine the UEFI/BIOS provides 4 modes - one setting for at once. I can set :

---------> Disabled : it says for itself, the controller switched off

---------> ATA aka Legacy aka IDE : the controller operates with standard ATA commands with attached SATA drives, it is legacy from IDE/ATAPI times, sometimes really an IDE HDD attached this way. The SSD with IDE interface is rare, but available. However SATA I, SATA II, SATA III drives can operate in this modes if the OS you would install does not support AHCI method from intel

---------> AHCI : de facto SATA standard method from Intel. It support a vendor independent hardware / software interface for developers, manufacturers for detecting , programming, operating controllers and drives.

Background infos

-------------> https://en.wikipedia.org/wiki/Advanced_Host_Controller_Interface

-------------> sata-controller-modes-explained

---------> RAID ON : the available Intel Rapid Share Technology switches ON, so SATA drives can be build a RAID volume.
( it is actually not supported within Haiku, I use this set for Windows. However it is not related at all as I use Haiku from a samsung USB thumbdrive.)

The bootloader option settings and your firmware settings should match to each other.

¤ You may disable AHCI in Haiku boot options
if your firmware is / was set to ATA, IDE / Legacy operation
it was set because your previously installed Windows version still had not supported AHCI, so the controller worked in ATA/IDE/Legacy mode.
Or the opposite - your actual HDD drive supports only standard ATA/SATA method- AHCI is not supported., In this case bootloader and firmware must set to ATA/IDE Legacy mode set.

¤ However if your BIOS or UEFI’s SATA mode is in ATA/SATA Legacy/IDE actually,
you may try to set to AHCI. - then the Boot options you can left as is.
But it will work only, if your HDD works in AHCI mode.

It depends on the harddrive you have in your laptop and the Windows version which was installed when it was sold, especially if you had not set anything in you UEFI/BIOS generally.

EDIT :
I checked again your debug screen and there the syslog messages showed as Intel AHCI tried to scan drives, but had not found partitions, so I would say

first I would try to set AHCI in UEFI/ BIOS at SATA modes - especially if you do not plan dual boot on this laptop or if Haiku would get the whole HDD, as you can see Haiku supports AHCI (evidence on your debug screen)

If other installed OSes or the actual harddrive requires old ATA mode, then disable AHCI in Haiku Boot Options, and left the UEFI / BIOS in in Legacy/IDE/ ATA mode.

2 Likes