This article explains how to troubleshoot and resolve "bootflash" directory issues in Cisco Nexus switches. This method applies to both lab environments (GNS3/EVE-NG) and real production switches.
bootflash: No such file or directory
dir bootflash: shows empty
Image file missing
Switch stuck in loader mode
Switch not booting NX-OS
After logging into the switch, first check whether the NX-OS image is present.
Run:dir bootflash:
Enter global configuration mode:
Save the configuration: