CR S310-8 G+2S+IN setup and working great- until next day, lost/forgot password. Performed Factory Reset & can't login

I have to add more info to this.
Netinstall tftp process is in 2 stages.
I have also been in contact with Mikrotik's support division, where I have made a suggestion that they can add support for netinstall-cli to also support ip address assignment via dhcp.
To avoid having to do what I did. That is, changed routerboot from bootp to dhcp.

  1. Get a ip with bootp.(if that not being changed to dhcp like i did on my old thread1 thread2
  2. Get the netinstall device specific file for arm, arm64, mips, mipsbe and so on via tftp.
  3. Device runs that netinstall device specific file.
  4. Then it's running it's get the RouterOS image for the specific device via tftp.
  5. Flashes the RouterOS image to nand flash.

@tangent So if you in the vm you could also support dnsmasq and extracting the netinstall device specific file for also unbrick these devices.