• vuplus-images.co.uk - Satellite TV Enthusiasts Dedicated To VU+
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Image Tutorial How to create a Swapfile

Discussion in 'Image Tutorials' started by DirtyDonki, May 23, 2017.

Thread Status:
Not open for further replies.
  1. DirtyDonki

    DirtyDonki I am the Nice One Staff Member Admin

    Messages:
    14,585
    Featured Threads:
    46
    Likes Received:
    1,669
    Joined:
    Sep 10, 2014
    Ratings:
    +3,515
    Why the need for a swapfile?
    A swapfile provides a temporary storage area commonly called a cache. This can be seen as a form of extended memory where the system can process 'live' data. This feature can be useful for low memory boxes such as, the Vu+ Solo or Duo.

    So if one has lots of processes or plugins installed the system may be overloaded at times & having a swapfile can help.

    Direct Image Creation
    Creating a swapfile on some images is just a simple case of finding the option to dos so via the menu system. For example on ViX it can be found via:

    Menu - Setup - ViX - Swap Manager
    Blue (Create) - Green (Activate) - Yellow (Autostart - recommended).

    A full restart of the receiver is required for the Swapfile to become active.

    Manual Creation on HDD - via telnet session (cmd prompt, terminal, putty, DCC or VUCC)
    Open a session & login

    Type the following commands in the order they are shown & press enter after each one:
    Code:
    [ Only registered users can see the bbcode. Click Here To Register... ]
    Set the swap area
    Code:
    [ Only registered users can see the bbcode. Click Here To Register... ]
    Activate the swapfile
    Code:
    [ Only registered users can see the bbcode. Click Here To Register... ]
    To have the swapfile load automatically after the box is restarted the fstab file needs to contain an instruction to do so:
    Code:
    [ Only registered users can see the bbcode. Click Here To Register... ]
    Add the following to the end of the file:
    Code:
    [ Only registered users can see the bbcode. Click Here To Register... ]
    To verify swapfile is set:
    Code:
    [ Only registered users can see the bbcode. Click Here To Register... ]
    You should see information similar to:
    Code:
    [ Only registered users can see the bbcode. Click Here To Register... ]
    NOTE: if you want to create the swap on a USB stick then substitute usb for hdd in all the commands above.

    All images have software to create a swap file.

    Download and install 'System Tools' from the feeds. Then use Swap Manager. There is a limitation with this approach however, in that you cannot create anything bigger than 256MB nor does one learn anything.

    So best option is to use the commands above.
     
    • Useful Useful x 1
    Last edited: May 23, 2017
Loading...
Thread Status:
Not open for further replies.

Share This Page