19.1 bootloop

Started by Payaso915, February 17, 2019, 06:36:09 AM

Previous topic - Next topic
February 17, 2019, 06:36:09 AM Last Edit: February 17, 2019, 06:55:14 AM by Payaso915
Hello all. I recently decided to switch from pfsense to opsense. I have an old HP P7 1074 with an AMD phenom II x4 processor and 8 gb of ram. I created a bootable USB and load the PC. During the boot process, the PC reboots. This occurs every time. I attempted to install 18.7 and was successful. I then attempted to install 19.1 via web GUI and the PC gets into a bootloop. Can anyone help me figure out how I can install 19.1?

It has to do with an old amd cpu bug.

To work around it, create this file:  /boot/loader.conf.local

Inside put this:

hint.hpet.0.clock=0
hint.ahci.0.msi=2
hint.sdhci_pci.0.disabled=1
hint.sdhci_pci.1.disabled=1

Reboot... and voilá!

I thought this was fixed in 11.2. :(

Thanks for reporting this.


Cheers,
Franco

February 19, 2019, 11:02:02 PM #3 Last Edit: February 20, 2019, 02:35:10 AM by Payaso915
Quote from: xupetas on February 18, 2019, 10:32:08 AM
It has to do with an old amd cpu bug.

To work around it, create this file:  /boot/loader.conf.local

Inside put this:

hint.hpet.0.clock=0
hint.ahci.0.msi=2
hint.sdhci_pci.0.disabled=1
hint.sdhci_pci.1.disabled=1

Reboot... and voilá!

Thank you I will try this once I'm at home. Do I need to use option 3 when booting and then use the set command?

Try to enable UEFI BOOT from BIOS and disable win7/win8 legacy.

This works for me.

Miro

February 23, 2019, 03:40:05 PM #5 Last Edit: February 23, 2019, 04:23:28 PM by Payaso915
Quote from: MiroSAN on February 21, 2019, 03:30:09 PM
Try to enable UEFI BOOT from BIOS and disable win7/win8 legacy.

This works for me.

Miro

The bios has no uefi option. I tried the above instructions from the loader prompt and I still get a bootloop. I can't get to install.

Quote from: MiroSAN on February 21, 2019, 03:30:09 PM
Try to enable UEFI BOOT from BIOS and disable win7/win8 legacy.

This works for me.

Miro

Thanks MiroSAN! Enabling UEFI worked for me. I'm glad I finally found this thread, I was starting to mutter more expletives to myself than usual. ;-)   Cheers!

Does anyone else have some insight on how I can install opnsense 19.1 without a bootloop?  Thank you in advance.


Quote from: newsense on March 02, 2019, 04:50:49 AM
You didn't say anything about this:

https://forum.opnsense.org/index.php?topic=11674.msg53090#msg53090

Sorry about that but I did comment in the message about UEFI that the commands didn't work. I tried them from the loader prompt.

Latest BIOS ?

The commands _should_ work, but in any case you could try reinstalling 18.7, configuring it and then attempt an upgrade.

March 08, 2019, 02:52:04 PM #11 Last Edit: March 08, 2019, 04:48:10 PM by Payaso915
Quote from: newsense on March 04, 2019, 04:10:47 AM
Latest BIOS ?

The commands _should_ work, but in any case you could try reinstalling 18.7, configuring it and then attempt an upgrade.

I've tried that and once I update to 19.1 I end up with a bootloop. I'm beginning to give up and just stick with pfsense although I really wanted to use opnsense.

Maybe try Franco's "Test" Image per this thread https://forum.opnsense.org/index.php?topic=11419.105 and see if that helps

Quote from: cguilford on March 08, 2019, 04:49:14 PM
Maybe try Franco's "Test" Image per this thread https://forum.opnsense.org/index.php?topic=11419.105 and see if that helps

Thank you for the suggestion but it didn't work. It gets stuck at Looking up /BOOT/LOADER..Found.