Before I did the changes you suggested I tried to boot it one more time, and after the error popped up I held the power button to reboot and the switch for the first time booted up correctly, its all updated and functioning.
You mentioned the error could be caused by my micro sd dying, which...