Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
What is the best way to recover a broken system
« previous
next »
Print
Pages: [
1
]
Author
Topic: What is the best way to recover a broken system (Read 1267 times)
tuaris
Jr. Member
Posts: 61
Karma: 4
What is the best way to recover a broken system
«
on:
February 08, 2024, 07:49:33 pm »
Had a little catastrophe/accident on the storage level, but the system boots, but shows signs of corruption, then kernel panics. I can access single user mode and see that the image appears to be damaged, conf files looks intact. What is the best way to approach recovery?
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: What is the best way to recover a broken system
«
Reply #1 on:
February 08, 2024, 07:52:37 pm »
If you don't have a recent config backup from the UI, you might want to save /conf/config.xml by some means even if it's a FAT formatted USB drive.
Then do a fresh install and import the config.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
tuaris
Jr. Member
Posts: 61
Karma: 4
Re: What is the best way to recover a broken system
«
Reply #2 on:
February 08, 2024, 07:54:23 pm »
I have backups of the config. I was hoping to avoid re-installing from scratch, perhaps some way to just overwrite the corrupted image file.
Is restoring from a config backup also going to restore my plugins and packages?
Logged
tuaris
Jr. Member
Posts: 61
Karma: 4
Re: What is the best way to recover a broken system
«
Reply #3 on:
February 08, 2024, 08:06:59 pm »
Oh well. Since this is a VM, I'll make a new virtual disk and do a fresh install and do the restore. I wanted to see if I could save time, but it's looking like that ship has sailed
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: What is the best way to recover a broken system
«
Reply #4 on:
February 08, 2024, 08:21:36 pm »
Restoring the config backup will mark your plugins as missing and the resolver in the System > Firmware menu will reinstall them. 2-step process but pretty simple.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
What is the best way to recover a broken system