WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Made swap file, now it`s not mounted. ( Solved )  (Read 2601 times)

Offline SunBurnt

  • Full Member
  • ***
  • Posts: 102
Made swap file, now it`s not mounted. ( Solved )
« on: August 17, 2011, 12:16:02 AM »
Made a 1 GB swap file in / on the same partition as the /TinyCore and /tce, worked at first...
Typing "free" in Aterm shows 63716 KB of swap, TC`s default swap in initramfs I assume?

It did show the 1 GB of swap before, so TC lost track somehow. Doesn`t TC search for it?
Is there a boot config. file that points to the swap file so it`ll get mounted?
« Last Edit: August 17, 2011, 03:16:53 PM by SunBurnt »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Made swap file, did work, now it`s not mounted.
« Reply #1 on: August 17, 2011, 12:45:41 AM »
Activate swap file in bootlocal.sh adding the swapon command.

Expecting swap file is persistent and not created on a RAM file system.
« Last Edit: August 17, 2011, 01:34:20 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline SunBurnt

  • Full Member
  • ***
  • Posts: 102
Re: Made swap file, did work, now it`s not mounted.
« Reply #2 on: August 17, 2011, 02:39:18 AM »
Thanks bmarkus; I had to look through the root dir. tree to find it in /opt , but got it patched.