Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: secdroid on September 08, 2009, 01:28:38 PM
-
I'm not sure whether my swap is configured correctly. Only have 192 MB physical RAM,
so swap is needed.
free command shows 0 for swap total, used, and free columns
cat /proc/swaps command prints header line, but nothing else
disk /dev/hda has
200 MB hda1 type 83/Linux
512 MB hda2 type 82/Linux swap
rest is still unallocated
Did a swapon -a and rebooted. No improvement.
Are things working correctly or have I missed something?
-
Did you run mkswap /dev/hda2 ?
-
Did you run mkswap /dev/hda2 ?
Thank you. Ran mkswap (tested; changes did not take effect), rebooted, retested and have working swap.
Gotta quit using those "training wheels" distros. I'm forgetting too much. ;)
-
After running mkswap, swapon can be used to utilize it without rebooting (iirc)