What's new

Swap Memory

Last edited:
What is the proper way to create a swap partition on the ac66u?

If you can spare a whole device (disk), it's very easy, note the device names are just examples, you can find your own by blkid, hdparm, partprobe, parted, etc tool (some of these are not installed by default, installation is with ipkg, for example ipkg info hdparm, ipkg install hdparm).

An old USB key is great for this provided it's fast enough
Code:
$ swapon /dev/sdb

If you already have a partition type 82 Linux Swap, either
Code:
$ swapon /dev/sdb1
or if your partition has a label
Code:
$ swapon -L label

If not, create wanted partition(s) with parted etc tool, or even Easeus Partition Master on your Windows PC.
 
If you can spare a whole device (disk), it's very easy, note the device names are just examples, you can find your own by blkid, hdparm, partprobe, parted, etc tool (some of these are not installed by default, installation is with ipkg, for example ipkg info hdparm, ipkg install hdparm).

An old USB key is great for this provided it's fast enough
Code:
$ swapon /dev/sdb

If you already have a partition type 82 Linux Swap, either
Code:
$ swapon /dev/sdb1
or if your partition has a label
Code:
$ swapon -L label

If not, create wanted partition(s) with parted etc tool, or even Easeus Partition Master on your Windows PC.
@fearlegendz Please note that this will not survive a reboot...
 

Similar 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