Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: GAI on March 31, 2021, 04:52:45 AM
-
My program can't run on this system. I suspect that the swap partition is too small. How can I expand it
-
You can add one or more new swap partition or file. It is not TC specific, use Google to find how.
-
ok thanks for your help
-
You can add one or more new swap partition or file. It is not TC specific, use Google to find how.
tce-load -i gdb.tcz
is ok
gdb -v
gdb error while load library libreadline.so.8
what should i install ?
-
$ provides.sh libreadline.so.8
-
Do you have an offline installation package?
-
You seem to be getting off topic - setting up a swap file or partition does not require any extensions.
If you download an extension like gdb manually, you need to download gdb.tcz.dep and gdb.tcz.md5.txt as well. The *dep file will contain details of any other extensions that gdb requires in order to work.
-
@bmarkus
Hallo
I also tried to enlarge the existing swapfile, without success. There is a special function for this. In the first field I entered /dev/sda4 (I also tried it with just sda4), in the second field the desired size. But TC does not take over the value. So can't the default swapfile be enlarged? But then what is the tool for? And the tool only shows me the command to enlarge. But you don't have to first deactivate the swapfile, then enlarge it and then activate it again? Who does chmod, mkswap and swapon? And who makes the entry in fstab? The tool? Or ist this all done bevore?
And an additional question: TC works with zram by default. Can it also work with zswap, or with zcache?
What is your recommendation?