× NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Orbi WiFi 7 RBE973
Reply

Bricked Netgear M4300-52G (GSM4352S) via "Erase Permanent Storage" from CLI

AWENA
Aspirant

Bricked Netgear M4300-52G (GSM4352S) via "Erase Permanent Storage" from CLI

Hello, accidentally deleted the Permanent Storage via CLI

found this article but it didn't help:
https://alastair.d-silva.org/bricked-netgear-m5300-switch-erase-permanent-storage
   m4300r2> fatload usb 0:1 ${loadaddr} /boot.stk 
   Unknown command 'fatload' - try 'help' 
 
I understand that must execute the following command: "ubifsload"
but I don't know the syntax options "<addr> <filename>"
Please, help

Now I have the following in terminal:

U-Boot 2012.10-00245-g79946b8c89 (Feb 21 2018 - 17:08:40)VerNo=1.0.0.11

 

UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fs", error -19
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:fs' errno=-19!

ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
- mount 'volume-name' volume
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload <addr> <filename> [bytes]
- load file 'filename' to address 'addr'
ERROR: can't get kernel image!
Saving Environment to SPI Flash...
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload <addr> <filename> [bytes]
- load file 'filename' to address 'addr'
ERROR: can't get kernel image!
Saving Environment to SPI Flash...
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload <addr> <filename> [bytes]
- load file 'filename' to address 'addr'
ERROR: can't get kernel image!
ETH LINK UP: 1000FD
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5

Retry count exceeded; starting again
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5

Message 1 of 4
DaneA
NETGEAR Employee Retired

Re: Bricked Netgear M4300-52G (GSM4352S) via "Erase Permanent Storage" from CLI

@AWENA,

 

Welcome to the community! 🙂

 

I suggest you to open a support ticket with the NETGEAR Support Team at anytime here for technical assistance.  Kindly state your concern and the steps you did in trying to solve the problem.

 

 

Regards,

 

DaneA

NETGEAR Community Team

Message 2 of 4
AWENA
Aspirant

Re: Bricked Netgear M4300-52G (GSM4352S) via "Erase Permanent Storage" from CLI

Thanks for the answer. But isn't there any instruction: how to restore software
I read the NETGEAR CLI user manual, but did not find the information I needed, maybe I was looking in the wrong place?

Message 3 of 4
JosephI
Tutor

Re: Bricked Netgear M4300-52G (GSM4352S) via "Erase Permanent Storage" from CLI

I had the same problem and stumbled upon this thread.  I had luck recovering from the same state by following the steps in my post here:

https://community.netgear.com/t5/Managed-Switches/Recover-from-uboot-interface-on-M4300-52G-GSM4352S...

 

My method did require a TFTP server, but theoretically the other methods to transfer files should work too.  I think my biggest hurdle was figuring out the proper load address which I finally got by printing the environment before issuing other commands.  That got me to the operational code utility and then doing a "Load Code Update Package" restored the switch to an operational state for me.

 

 

 

Message 4 of 4
Top Contributors
Discussion stats
  • 3 replies
  • 692 views
  • 0 kudos
  • 3 in conversation
Announcements