Forum archive
Reboot Yields "First Boot Configuration"
I stood up a TKL LAMP stack box (Dell Precision 670) last fall and have had no significant problems.
During this week the UPS this box was connected to began intermittent whining. I attributed it to recent power outage and UPS switch seemingly getting stuck. But now I know the battery is dead.
Today I did a system shutdown of all 3 boxes that were connected to that UPS.
I reconfigured my power. Then I rebooted all 3 boxes (the other 2 are Dell Precision 650 running TKL & ancient Gateway 500 running pfSense).
The GW/pfSense box came up fine. The DP650/TKL came up fine. The DP670/TKL did not come up fine. On reboot, it began the "First Boot Configuration" sequence.
So I thought maybe I had some media somewhere it wasn't supposed to be - nope. 3 iterations of reboot have yielded the same results.
In the past I've rebooted this machine on occasion. And as I stated at the top, the issue instigating this reboot was a UPS. (The box had gone off line once or twice in the last week because of that. But had always reboot smoothly.)
I've spent ~30min searching for similar problems but haven't found any.
Can someone point my in the direction of what might be going on?
Thanks
/perry
Power outages (ie unclean shutdown) can cause disk corruption (especially if the system was writing to HDD when the poser was lost) so first thing I would do, would be to run an fsck on your filesystem. Probably best way to do that would be with a Linux LiveCD.
After you've run the fsck (still running from the LiveCD) mount your filesystem and check the firstboot config flag. If you check /etc/default/inithooks it should include "RUN_FIRSTBOOT=false" if it is 'true' then change it to 'false' and reboot with your fingers crossed.
TBH I have no idea why your server should have reenabled firstboot scripts, but hopefully this will fix it and you haven't lost any data.