*SOLVED* Update opnsense to 24.7.4 broke my box! Help needed

Started by RamSense, September 12, 2024, 06:55:55 PM

Previous topic - Next topic
I just updated my box to opnsense 24.7.4. Reboot hung so I did a manual power off and on,
Opnsense won't start. Connected a monitor to it and I see: failed to load kernel.
What should I do to get it back ?

Thank you very much for the help!
Deciso DEC850v2

Did you back up your configuration before doing the update? If so, put that on a flash drive (fat 32 format would be best). Also prepare a bootable drive with the OS of choice (either 24.7.3 or 24.7.4) and do a fresh install. Then import your configuration and you should be back in business. You may need to install some packages/plugins after you get back in, I'm not sure because I haven't had mine fail and recover yet.

If you didn't back up the configuration, prepare a Linux boot disk and wait for help. You'll need to boot the rescue disk, find the config file, and copy it out to a drive. Then you can do the steps in the first paragraph. That file is in there somewhere, I'm not sure where though.

September 12, 2024, 07:44:28 PM #2 Last Edit: September 12, 2024, 07:52:24 PM by rkube
Quote from: Greg_E on September 12, 2024, 07:16:06 PM
If you didn't back up the configuration, prepare a Linux boot disk and wait for help. You'll need to boot the rescue disk, find the config file, and copy it out to a drive. Then you can do the steps in the first paragraph. That file is in there somewhere, I'm not sure where though.
The configs are located on the partition under top-level directory /conf/, the file is named config.xml:

[user]@OPNsense:~ $ file /conf/config.xml
/conf/config.xml: XML 1.0 document, ASCII text, with very long lines (1101)


The "OPNsense Importer feature" is maybe helpfull to import the config file to a new installation: https://docs.opnsense.org/manual/install.html#opnsense-importer

Br
Reza

Best regard / besten Gruß
Reza

---
"Es irrt der Mensch solang er strebt" (Goethe)

Thnx for the fast reply and help.
I went for the fresh install, twice (forgot to install the plugins i needed like bind, adguard home etc :-) ) and restored my last config.
Glad it is all back up and running.
Deciso DEC850v2

Thanks for the file info, I'll have to remember that when this happens to me. I'm pretty good at backing up the config before an update, but really bad after the update completes.

It seems that the update may have damaged or not installed properly some necessary files, causing kernel loading problems.