What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Merlin Installed - Looking To Add amtm Items. Swap and partition questions

tebtengri

Occasional Visitor
I installed the latest beta on my BE98 Pro, full reset. Dual WAN load balancing working great(sorta sucks that AiProtection is lost, but it is what it is).

I used diskpart on windows to clean, convert to GPT and make 2 partitions on a 32GB thumb drive. 4GB for swap /dev/sda1 and the remainder as /dev/sda2. I formatted the second partition via mke2fs to ext4. I labeled it data but am not sure if I need to labet it something else.

My questions are how do I get swapon to auto use /dev/sda1 and get amtm items installed on /dev/sda2 by default? I'm not new to linux(used since '96). I'm more familiar with apt from debian/ubuntu and their mount points. Any and all advice is appreciated.

I also realize there is a swap file option, but I'm old school and usually prefer partitions. If that's not possible at all I can use a swap file, just would prefer not to.
 
Best to use the router AMTM to format the drive and create a swap file. Use one partition onthe thumb drive.
I used to use a swap partition on USB drives on Merlin but the AMTM is a whole lot less trouble. If you insist on using a swap partition search some of my early posts.
 
I also realize there is a swap file option

The swap file for AMTM scripts on your 2GB RAM router most likely won't be used at all. It's there for compatibility reasons. The recommended 2GB size is all you need. If the router runs out or RAM and gets to swapping - it's practically dead. Your USB stick is dead slow compared to the RAM speed. This embedded OS is not exactly like Linux on PC you are familiar with. The USB port will also never reach USB 3.x speeds. What you have as hardware is similar to RPi with enough for the purpose RAM.
 
Last edited:

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top