This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
swap_file [2011/12/27 20:24] ispyisail |
swap_file [2012/02/11 18:08] (current) ispyisail |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Extending RAM via file SWAP ====== | ====== Extending RAM via file SWAP ====== | ||
| + | {{INLINETOC 2 4 }} | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| There are some applications and network situations that may require the need for more RAM, like DLNA file indexing, Tor or disk checks. There are a couple of options of upgrading RAM, via soldering or using a SWAP partition on a USB thumb drive. This how-to describes installing SWAP on a USB thumb drive. This method is a bit slower but also more convenient. Your router will need a USB port like the TP-Link TL-WR1043ND v1-1.8 | There are some applications and network situations that may require the need for more RAM, like DLNA file indexing, Tor or disk checks. There are a couple of options of upgrading RAM, via soldering or using a SWAP partition on a USB thumb drive. This how-to describes installing SWAP on a USB thumb drive. This method is a bit slower but also more convenient. Your router will need a USB port like the TP-Link TL-WR1043ND v1-1.8 | ||
| - | The SWAP partition | + | This feature only works with gargoyle firmware 1.5.2 and above |
| + | |||
| + | The SWAP partition | ||
| + | |||
| + | example | ||
| + | < | ||
| + | mkswap /dev/sda2 | ||
| + | </ | ||
| + | |||
| + | change //sda2// to suite your SWAP partition | ||
| ==== Tor ==== | ==== Tor ==== | ||
| Line 24: | Line 33: | ||
| * Acronis Disk director (GUI) | * Acronis Disk director (GUI) | ||
| * Native linux - Fdisk (CLI) | * Native linux - Fdisk (CLI) | ||
| + | |||
| + | ==== Acronis Disk director ==== | ||
| + | |||
| + | Formatting USB drive using Acronis Disk director | ||
| + | |||
| + | In this example with a 4Gig pen drive all partitions were wiped first | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Create a new volume | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Select free space | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Enter required volume size and select Linux swap | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Swap partition now created | ||
| + | |||
| + | {{: | ||
| + | |||
| + | With the remainder of the disk format Fat32 for file storage | ||
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Commit changes | ||
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Disk formatted and ready to use | ||
| + | |||
| + | {{: | ||
| + | |||
| + | plug your USB drive in and it should auto load | ||
| + | |||
| + | {{: | ||