WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: running tiny core 14.0  (Read 6064 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: running tiny core 14.0
« Reply #15 on: March 02, 2024, 01:01:46 PM »
Hi lakesnative
See these instructions:
https://forum.tinycorelinux.net/index.php/topic,22145.msg138620.html#msg138620

After that run a backup:
Code: [Select]
filetool.sh -b

Offline lakesnative

  • Newbie
  • *
  • Posts: 22
Re: running tiny core 14.0
« Reply #16 on: March 02, 2024, 01:18:04 PM »
thank you for the quick reply Rich

- Lakesnative -

Offline lakesnative

  • Newbie
  • *
  • Posts: 22
Re: running tiny core 14.0
« Reply #17 on: March 03, 2024, 12:59:55 PM »
@Rich hope your Sunday is going well

this morning I opened the terminal to use the commands for saving my alsactl init configuration to my system  -  I have a frugal harddrive install and so far everything is going pretty well.  Not using any of the bootup commands such as setting a home location or showing extensions at boot up or anything.  All just the regular boot with nothing modified.  My TCE folder resides on the same partition as everything else.

I put in the sudo alsactl store command and that had no issue,  but when I issued the echo alsactl restore >> /opt/bootlocal.sh  I get permission denied even after doing sudo again.   I found the bootlocal.sh file and it shows (in the nautilus file browser) a lock on the file.  Did I do something incorrectly?  bootlocal.sh s located at: /opt

Hope I have given enough info.

- Lakesnative -

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: running tiny core 14.0
« Reply #18 on: March 03, 2024, 04:26:03 PM »
Hi lakesnative
It's not you. Either the owner or permission attributes are wrong.
This should fix it so you can access the file:
Code: [Select]
sudo chown tc:staff /opt/bootlocal.sh
sudo chmod 775 /opt/bootlocal.sh

Offline lakesnative

  • Newbie
  • *
  • Posts: 22
Re: running tiny core 14.0
« Reply #19 on: March 03, 2024, 06:52:46 PM »
Rich,  thanks for the help and the solution.

This made me remember that I have gotten a kind of weird message a few times in my working on getting Tiny Core set up properly that Seamonkey wanted to do some kind of security update or something, but that I didn't have the needed permissions  This last time I added the Seamonkey extension to load on boot (which is no different than how I installed the previous times, though I have toggled from trying the newest version in the repository and the one that is just seamonkey.tcz) I so far haven't seen that message,  but I was gonna ask at some point about that. Perhaps it's a related issue,  dunno. 

Once I get my sound running at boot and the extensions I want to load each time (only a few) I will look at those boot options that can be set and see if any would make the system better for this laptop.  I want to experiment with some of the extensions loaded on demand as well.

Have a good rest of the weekend!

- Lakesnative -

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: running tiny core 14.0
« Reply #20 on: March 03, 2024, 09:34:39 PM »
Hi lakesnative
... Seamonkey wanted to do some kind of security update or something, but that I didn't have the needed permissions ...
Extensions are saved in a squashfs format. One of the properties of
a squashfs file is that it is read only. That means extensions can not
update themselves.

Offline lakesnative

  • Newbie
  • *
  • Posts: 22
Re: running tiny core 14.0
« Reply #21 on: March 03, 2024, 09:44:03 PM »
ahh,  good to know and makes sense
glad I didn't try doing anything "creative",  although I did learn in the interim how to take a screenshot!

I suppose this is why loading the current firefox has benefits.
Use Seamonkey still at work on my windows PC since discovering it via Linux many moons ago.
Have to switch to Microsoft Edge for certain websites more than I used to, but still use Seamonkey the majority of the time including for my email  (I have archives going back to around 2006).

- Lakesnative -

Offline lakesnative

  • Newbie
  • *
  • Posts: 22
Re: running tiny core 14.0
« Reply #22 on: March 09, 2024, 04:02:23 PM »
still at it here using Tiny Core Linux 14.0

i am at the point where I want to specify my home directory and my swap file
what file do I need to edit to say swap=sda2 and home=sda3  ?

- Lakesnative -

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: running tiny core 14.0
« Reply #23 on: March 09, 2024, 05:31:14 PM »
Hi lakesnative
You need to edit the config file for your boot loader.
Based on your question, it sounds like you installed
Tinycore to sda1. If that's the case and you used
the Tinycore install program, the file should be:
Code: [Select]
/mnt/sda1/tce/boot/extlinux.confYou want to edit the line that has the word  quiet.

In case you haven't seen it, the FAQ page may also
provide some useful information:
http://tinycorelinux.net/faq.html

Offline lakesnative

  • Newbie
  • *
  • Posts: 22
Re: running tiny core 14.0
« Reply #24 on: March 09, 2024, 06:30:57 PM »
hello there Rich!

I edited extlinux.conf to add:  nozswap  swap=sda2 home=sda3   (after APPEND,  which was the line that started with quiet

This created the home directory on my sda3 partition and at bootup I saw the message compressed swap not loaded  as specified at boot  (or something like that).

Trying to lighten the load on what RAM has loaded into it / has to handle.  Is that what I accomplished?
The best news is,  I have yet to break my install in spite of all the playing around I have done.   After I moved my home directory to sda3,  I loaded a bunch of stuff backed up from my old Ubuntu home file  - - primarily images and mp4 files I saved using YouTube downloader via firefox browser.  Been playing around and having fun playing mp4 files using ffmpeg4 / ffplay. 

Did setting my home file to sda3  (as you said,  Tiny Core install is on sda1 on my laptop) and creating a swap partition and using that lighten the load on what's in RAM while running Tiny Core or are there better tweaks?

Appreciatively,  Lakesnative

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: running tiny core 14.0
« Reply #25 on: March 09, 2024, 08:22:42 PM »
Hi lakesnative
... Trying to lighten the load on what RAM has loaded into it / has to handle.  Is that what I accomplished? ...
Yes. If not disabled, zswap take 25% of your free RAM.

Quote
... I loaded a bunch of stuff backed up from my old Ubuntu home file  - - primarily images and mp4 files I saved using YouTube downloader ...
Assigning home to permanent storage will definitely
save RAM.

Make sure you remove the home entry from:
Code: [Select]
/opt/.filetool.lstThen run a backup:
Code: [Select]
filetool.sh -b
Since your home is on permanent storage, there is
no reason to include it in your backup. Otherwise
your backup file (tce/mydata.tgz) will become huge
and your start up and shut down times will become
excessive.

Offline lakesnative

  • Newbie
  • *
  • Posts: 22
Re: running tiny core 14.0
« Reply #26 on: March 09, 2024, 08:49:43 PM »
This is great Rich.  Part of the reason I was asking if putting my home file on a separate partition would be advisable is because after doing so it *did* take a very long time to back up.  Was worried that somehow RAM was having to handle it, but I could tell after rebooting that it wasn't affecting RAM only the backup. Removing home from the file containing the directories to be backed up solved that and as you told me I ran filetool.sh -b prior to shutdown. 

At this point I have also changed a few programs from onboot to ondemand and it's all good!

Cheers!

- Lakesnative -

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: running tiny core 14.0
« Reply #27 on: March 09, 2024, 09:10:33 PM »
Hi lakesnative
... At this point I have also changed a few programs from onboot to ondemand and it's all good!
Depending on the extensions, it may save you some time
booting, but wont really save you much RAM.

Extensions get loop mounted. That takes 300 or 400 bytes
if memory serves. The contents still reside on permanent
storage. The files in the extension get linked to /usr/local/
(bin, lib, etc). A link on average occupies about 40 bytes
give or take. So memory savings are minimal.

Offline lakesnative

  • Newbie
  • *
  • Posts: 22
Re: running tiny core 14.0
« Reply #28 on: March 09, 2024, 09:18:34 PM »
once again,  good to know

Have been a puppy linux user (and still am from time to time,  using a bootable CD to do this or that...) for many years.  When I first started playing around with puppy linux one of the things I always wanted to do was get rid of everything I really didn't use and only have the things I do use.  So, as you can imagine I have been having a lot of fun setting up Tiny Core with the few apps I know I want.  At @CentralWare input I have watched more than one YouTube vid describing what busybox can do.  Good times.  =)

Enjoy the rest of the weekend minus that one hour of "daylight savings" @Rich

- Lakesnative -

Offline lakesnative

  • Newbie
  • *
  • Posts: 22
Re: running tiny core 14.0
« Reply #29 on: March 13, 2024, 11:55:55 AM »
3-13-2024   @Rich, @CentralWare

Hello.  Tried several times to send you both a PM.
Maybe I don't have permissions,  not sure I tried from two different webrowsers.

Please let me know what the protocol is when you have a moment.
Nothing at all urgent.

- Lakesnative -