May dietpi save Pine64 ; watch youtube via chromium
#13
(03-09-2017, 07:20 AM)kenneth558 Wrote: Yes, I did but didn't think to include it because the swapon command produced no response.  My bad in not posting that info.  Thank you kindly for asking.  Did you enable swap via fstab instead?  

I run 1GB/2GB boards headless, so haven't run into any memory issues as yet, so I haven't needed to enable swap space on the pine64 (yet!) Wink

martinayotte has since posted the way I would normally create and enable swap files. When working with swap partitions, you still use the mkswap command to prepare the swap space and swapon to enable it. And you can add either the file or partition version of swap space to the /etc/fstab line in order to make it persistent across reboots.

You would add (using the correct path instad of /dev/hdb1) the following to /etc/fstab for a swap partition...

Code:
/dev/hdb1       none    swap    sw      0       0

... or the below (again, replacing /swapfile with the path to the swapfile) for a swapfile.

Code:
/swapfile       none    swap    sw      0       0

This article may help if anyone wants to learn more about the reasons for and how to make swap files/partitions.


Messages In This Thread
RE: May dietpi save Pine64 ; watch youtube via chromium - by pfeerick - 03-09-2017, 07:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Wi-Fi/Bluetooth for PINE64, Model: Sopine A64 lamson 0 1,701 08-24-2021, 08:17 AM
Last Post: lamson
  AC Adapter Which One? Pine64 A64 DB V1.1 2GB REV B (Year 2016) databaseprogrammer 2 3,355 06-17-2021, 05:35 AM
Last Post: kqlnut
  How to get Netflix to work in Chromium or Firefox on PBP User 17828 13 19,038 09-24-2020, 08:52 AM
Last Post: solostian
  Just discovered Pine64 ! - first Q philip_rhoades 4 5,623 04-29-2020, 10:13 AM
Last Post: tophneal
  A newest user in Pine64 Aliko 1 3,917 04-19-2020, 10:33 PM
Last Post: tllim
  PINE64 Installer - Simple Way to Image Your MicroSD pineadmin 101 149,193 01-15-2020, 12:46 PM
Last Post: tophneal
  Emails from pine64 received as spam by gmail Matan 2 5,661 08-21-2019, 08:30 AM
Last Post: Leiaz
  How to handle a Pine64 correctly gbjensen 6 16,218 03-28-2019, 11:43 PM
Last Post: InsideJob
  Dietpi marekf 1 2,898 03-22-2019, 01:49 PM
Last Post: Violette
Information Creating a NAS server in Pine64 javi_cala 4 8,219 01-21-2019, 02:03 AM
Last Post: bartes

Forum Jump:


Users browsing this thread: 2 Guest(s)