TBH I don't remember.. It must have been whatever method the main site recommends.. I had a stock AC1900 and I added entware to it. It must have been
this method..
But I Installed it on the external USB drive I had and I thought I could replace that drive with something left over from a laptop -- that does not require a power adaptor.. You see, whenever I move the drive there is a chance of disconnecting that adaptor and that causes data corruption.. So I wanted to move all the data to the laptop drive (with a usb converter) and get rid of the power adaptor.
I just wondered how the machine mounts these drives when it starts - there is no fstab that I can find anywhere for example. I guess I manually could create one in /jfss/configs folder? I read that would override the default one?
Are you running a recent version of Asuswrt-Merlin? If so I suggest the following:
Since you presumably are running scripts through Entware, you should be able to format the /jffs/ partition without loss of functions.
1. Make a backup of the complete /jffs/ partition outside of the router just to be safe.
2. In the router WebUI under Administration / System set
Format JFFS partition at next boot to
Yes.
3. Reboot router, it will format the partition
4. Plug in your
old 2TBEXTERNAL device, there may be data loss on it with the next step, so make sure all is copied over to the
new 2TBEXTERNAL.
5. Start amtm in a SSH terminal with
amtm, if Asuswrt-Merlin is older than 384.15, run the install command from my website:
https://diversion.ch/amtm.html
6. Enter
ep in amtm and let it install Entware, this replaces an existing Entware installation, that's why you should use the old device.
7. Once finished, power off the router and swap the old with the
new 2TBEXTERNAL device
8. Boot up and cross fingers.
Note that the amtm Entware mounter expects the Entware files to be in a folder called
entware* in the root directory of your
new 2TBEXTERNAL device. Rename it to
entware if that is not the case before you plug it into the router.
The amtm Entware mounter is far superior than any other method I've come across and does NOT rely on device names or labels. It just works.