Manually Creating a Swapfile on VU+DUO/SOLO

There are 3 replies in this Thread which was already clicked 8,430 times. The last Post () by master G.

    • Official Post

    First off, telnet in to the box using your favourite telnet programme.


    Then, type the following command (after count, enter the size of file you want. In example below, it is a 128mb swap - 1024 x 128 = 131072):



    Code
    dd if=/dev/zero of=/media/usb/swapfile bs=1024 count=131072


    Then, set up a linux swap area



    Code
    mkswap /media/usb/swapfile


    Now, to activate the swap space immediately, type:



    Code
    swapon /media/usb/swapfile


    Now, activate the swap file to load when the vu duo loads, we need to edit the fstab file. To do this, type the following command to edit the fstab file:



    Code
    vi /etc/fstab


    Add the following line to the file:



    Code
    /media/usb/swapfile  swap                 swap       defaults              0 0


    Now, when the box restarts, the swap file should automatically be enabled...


    To verify that it has worked correctly, type the following command in a telnet session:



    Code
    free


    This should give you some information similar to below:



    Code
    total         used         free       shared      buffers
          Mem:       140848       135964         4884            0          564
         Swap:       131064         1848       129216
        Total:       271912       137812       134100
  • master G

    Added the Label Article

VU+ SOLO PVR Ready Linux Enigma2 Receiver Full HD 1080p

Download VUPlus Images and Enigma2 Team Support from Black Hole, OpenATV, OpenBH, Open Black Hole, OpenDroid, OpenESi, OpenHDF, OpenLD, OpenPLi, OpenSPA, OpenViX, Open Vision, PKT Hyperion, PurE2, SatDreamGR, VTi.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!