Page 1 of 1

Re: Swappiness

Posted: 16 May 2017, 12:09
by Bogomips
Welcome to Porteus.
One way is with Boot Parameter (cheatcode) cliexec=echo~0>/proc/sys/vm/swappiness :unknown:

Afterthought. If there is neither swap partition, nor swap file nor zram available, then swapping is not possible anyway. :twisted:

Re: Swappiness

Posted: 17 May 2017, 09:35
by burdi01
if it would be possible to crack open the relevant core file using another distro and change the value using leafpad!
Yes you can even with this distro. You "only" have to know which file in which core file you have to change 1) as well as the CLI commands 2) to unpack the core file and to repack it afterwards.
So I would recommend using the cheatcode.

Or alternatively you could try to change the type of the swap partition. E.g. via GParted > select partition > Format to. If successful you could delete that partition afterwards -- if applicable that is.

1) Depending on the file in question leafpad may not be the tool to do so.
2) For as far as I am aware there is no GUI tool to do so.

Re: Swappiness

Posted: 17 May 2017, 13:37
by Bogomips
Small Swap Partition

Run as Superuser

Code: Select all

dd if=/dev/zero of=/dev/<destination swap partition>
;)