Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

Swap File On AZBOX HD

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anacondama
    Banned
    • Jul 2010
    • 865

    Swap File On AZBOX HD

    0) USB memory stick attached to AZbox HD.
    (If you have an HDD attached to yours - the same applies, of course, with minor difference.)

    used AZ HD to format it to Ext3.

    HOME -> Settings -> Storage -> choose the device you want to format -> Format. Reboot occurs.

    1) Download "swap.rar" file and decompress it on your HDD.
    You'll get a "swap" folder. In it you'll find a file and a PLUGINS folder.

    2) The file S2swap.sh is a script and it must be put in AZbox HD folder

    DISK2/etc/start.d
    CHMOD it to 755.


    3) Inside the PLUGINS folder there is a swapon folder (with 2 files in it). It goes to AZbox HD Plugins folder.

    CHMOD its contents to 755.

    3a) Depending on whether one has an HDD or a USB memory stick, one edits the swapon.sh (in Plugins).

    To edit the files below, use a Notepad2 or another UNIX editor, not Notepad or Wordpad etc.

    From line no. 33, we find the following:

    Code:
    #choose device, where to create swapfile
     #SWAPDEVICE=/DATA/hdb1
     SWAPDEVICE=/DATA/usb1/sda1
    If you have an HDD attached to AZ HD put the # sign in front of the USB line and remove it from the other one.

    Then, we edit the file size for the SWAP partition here:
    Code:
    SWAPFILE=swapfile
     #SWAPSIZE=204800
     SWAPSIZE=102400
    The first one creates a 200MB and the second one a 100MB SWAP file. Do as above, to serve your needs.

    Reboot.

    Go to HOME -> File Manager and check your USB or HDD. You should see a 100 or 200MB SWAP partition...

    Every time AZbox HD is started the script creates the file.
    Attached Files
Working...