Welcome to Porteus.
One way is with Boot Parameter (cheatcode) cliexec=echo~0>/proc/sys/vm/swappiness
Afterthought. If there is neither swap partition, nor swap file nor zram available, then swapping is not possible anyway.
Swappiness
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Swappiness
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
-
- Shogun
- Posts: 206
- Joined: 18 Aug 2013, 12:09
- Distribution: Slackware PartedMagic Xubuntu
- Location: The Netherlands
Re: Swappiness
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.if it would be possible to crack open the relevant core file using another distro and change the value using leafpad!
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.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Swappiness
Small Swap Partition
Run as Superuser
Run as Superuser
Code: Select all
dd if=/dev/zero of=/dev/<destination swap partition>
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB