SN2700 boots to grub rescue - can't proceed from there

Must have messed up the switch (SN2700) and now I’m getting this:

grub rescue>
grub rescue> ls (hd1)
(hd1): Filesystem is unknown.
grub rescue>
grub rescue> ls
(hd0)
grub rescue>

I can put a usb stick in and boot and it shows more for the “ls” command.

But it seems like I need to either:

  1. factory reset
  2. re-install ONIE

or perhaps both.

Can someone please advise.

The USB stick has .bin files for both Onyx and Cumulus.
When inserted (and rebooted) it does recognize the “hd1”.
Perhaps I need to put an ONIE image on there and somehow re-install ONIE ?

Any suggestions are welcomed.

Hi,
you can either build an iso from GitHub - opencomputeproject/onie: Open Network Install Environment or take it here Index of /onie

write the iso to usb and boot from it to reinstall

I found some blog post covering the procedure ONIE and Onyx (MLNX-OS) Install - theDXT