The article provides steps to recover the device when device boots up in Amnesiac mode
FreeBSD/amd64 (Amnesiac) (ttyu0)
login: Username
May 17 01:03:03 last message repeated 5 times
May 17 01:03:37 login: login_getclass: unknown class ;junos-login-defaults;
Password:
We can try below steps to resolve the issue,