OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: RamSense on September 12, 2024, 06:55:55 PM

Title: *SOLVED* Update opnsense to 24.7.4 broke my box! Help needed
Post by: RamSense on September 12, 2024, 06:55:55 PM
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!
Title: Re: Update opnsense to 24.7.4 broke my box! Help needed
Post by: Greg_E on September 12, 2024, 07:16:06 PM
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.
Title: Re: Update opnsense to 24.7.4 broke my box! Help needed
Post by: rkube on September 12, 2024, 07:44:28 PM
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 (https://docs.opnsense.org/manual/install.html#opnsense-importer)

Br
Reza

Title: Re: Update opnsense to 24.7.4 broke my box! Help needed
Post by: RamSense on September 12, 2024, 10:41:57 PM
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.
Title: Re: *SOLVED* Update opnsense to 24.7.4 broke my box! Help needed
Post by: Greg_E on September 13, 2024, 07:15:47 PM
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.
Title: Re: *SOLVED* Update opnsense to 24.7.4 broke my box! Help needed
Post by: ZanderKunze on November 02, 2024, 05:58:28 AM
It seems that the update may have damaged or not installed properly some necessary files, causing kernel loading problems.