How do I restore my settings after entering failsafe mode? The system entered failsafe mode after the power was accidentally switched off at the wall. I have already tried mount_root and dmesg and /var/logs to check the log files but there were not reports about why it went into failsafe mode.
This really depends on the specific device model...
E.g. The Linksys e8450/ Belkin rt3200 has triggers entering (a semi-external) recovery system if your system crashed (which may be a result of a power cut), meaning there are crash splats in pstore (which need to be either manually deleted XOR removed by powering off the router completely (stored in a reserved RAM area) and then powering it up again). Other devices might have different approaches.
The initramfs-kernel image is used for development or special situations as a one-time boot as a stepping stone toward installing the regular sysupgrade version. Since the initramfs version runs entirely from RAM, it does not store any settings in flash, so it is not suitable for operational use.
The other image format types are described there, too, including the sysupgrade image type.
Can you describe your exact steps or show screenshots of what you did?
Also, are you running from an SD card? If so, did you follow the directions here? (specficially, it tells you to download and install the sdcard image).
I just wish there was another way because I had to wipe all my data.
just fyi, yes and no.
guessing here since i do not own a bpi (nice little kits btw) so i am unsure if failsafe brings up the ethernet adapters (probably does...)... but, since you had ssh access you could have backed up your /etc/* at a minimum.
untested but you could have also done a mount_root followed by opkg list-installed and generated a package list to get a list of packages to install post sysupgrade.