Post here if you are a new Porteus member and you're looking for some help.
-
Bogomips
- Full of knowledge

- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Post#1
by Bogomips » 16 May 2017, 12:09
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.

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
Bogomips
-
burdi01
- Shogun

- Posts: 217
- Joined: 18 Aug 2013, 12:09
- Distribution: Slackware PartedMagic Xubuntu
- Location: The Netherlands
Post#2
by burdi01 » 17 May 2017, 09:35
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.
burdi01
-
Bogomips
- Full of knowledge

- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Post#3
by Bogomips » 17 May 2017, 13:37
Small Swap Partition
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
Bogomips