I have an D-Link DIR-505 that is very practical because it is very small. The problem is the size of the flash (only 4 MB).
So I'm using it with a small pen drive, but with 4 GB.
The first thing I do after the basic configuration is install the USB packages, install, format the USB flash drive, copy the /overlay to it and change fstab.
So now, when rebooting I have a big /overlay to install more packages.
The problem is when making a wrong configuration and the router is no more accessible (ports open but no answer; only pinging). In this case it is needed to boot in failsafe mode.
The question is: how to load the USB flash drive manualy the have access to the valid /overlay?
Right after having access to console in failsafe mode, I execute mount_root to have access to /overlay. But this is not "my" USB overlay but the "DIR-505" overlay. Besides that, there is no sda device in /dev. How to mount them manualy?
The "block info" command shows only 2 /dev/mtdblock7 and /dev/mtdblock8 (squashfs and jffs2), no /dev/sda1.
I tried a lot without success. Can anyone help me?
Thanks in advance.