WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline SunBurnt

  • Full Member
  • ***
  • Posts: 102
Made swap file, now it`s not mounted. ( Solved )
« on: August 16, 2011, 09:16:02 PM »
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, 12: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 16, 2011, 09:45:41 PM »
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 16, 2011, 10:34:20 PM 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 16, 2011, 11:39:18 PM »
Thanks bmarkus; I had to look through the root dir. tree to find it in /opt , but got it patched.