dCore Import Debian Packages to Mountable SCE extensions > dCore X86

[SOLVED]setting up a swap file

(1/4) > >>

kevinfish:
Having 2GB of ram, I didn't anticipate needing a swap partition so I didn't set one up, but now I'm doing enough with the machine that I'm locking it up on a regular basis.   I went in and did the swap tool and it created the tc.swp file in my /mnt/sda1 partition.   It didn't however do anything to enable it.   I tried to mkswap on the file and it returns:

mkswap: /lib/i386-linux-gnu/libblkid.so.1: version `BLKID_2.21' not found (required by mkswap)

I tried rebooting thinking it would do some magic there but nothing.

I looked all through the dCore wiki and really nothing there either.

Where are the CORRECT instructions?

Jason W:
Thank you for your testing, I will look into it.

nitram:

--- Quote from: kevinfish on June 25, 2016, 10:59:43 PM ---I went in and did the swap tool and it created the tc.swp file in my /mnt/sda1 partition.   It didn't however do anything to enable it...

--- End quote ---

Hi kevinfish.

I've never used a swap file either, after creating the swap file did you reboot and use the swapfile boot code?
http://tinycorelinux.net/faq.html#bootcodes

kevinfish:
I rebooted, but I didn't edit the boot code.   Where do I find it the file to edit it?

Misalf:
You would add the  swapfile  boot code to your boot loader's config file (f.e. menu.lst or grub.cfg).

In my  /mnt/sda1/grub/menu.lst , I have:

--- Code: ---swapfile=sda1

--- End code ---

You can check if it's used with

--- Code: ---cat /proc/swaps

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version