Project

General

Profile

Actions

Feature #2969

closed

Automatic config.xml recovery / reinstallation

Added by c c about 11 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
-
Start date:
04/28/2013
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

After dealing with the corruption bug in the 25th nightlies, I had to recover several pfSense instances by loading the live CD, mounting the drive, copying my config.xml into the RAM fs, and completing the install.

I was wondering whether it would be possible to make that an option for "recovery" on the Live CDs, rather than having "recovery" simply mount the drive to /tmp/hdrescue.

Im sure you already know this, but I was able to perform a recovery as follows:
1) rescue config.xml (mounts drive to /tmp/hdrescue)
2) copy /tmp/hdrescue/cf/conf/config.xml to /cf/conf/config.xml, and /conf/config.xml
3) delete /tmp/config.cache
4) reassign interface IPs manually from the menu
5) run option "99", use easy-install, unmount the partition, and reboot

This worked even when moving from 2.1 i386 to 2.0.3 x64, with no issues. It would make things a lot easier if this were a default option, and Im hoping it would be trivial to implement.

Actions #1

Updated by Chris Buechler almost 8 years ago

  • Status changed from New to Closed

the "rescue config" option in the installer works for this.

Actions

Also available in: Atom PDF