WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tiny core Plus v12.0 Extensions disappear (manual not accurate)  (Read 2411 times)

Offline mik3ca

  • Newbie
  • *
  • Posts: 10
I just installed Tiny Core Plus (the full 160 something MB edition) onto a computer with an empty hard drive.

When i boot from CD,  I selected the first option (I think fluxbox) in the text menu and alot of stuff loads. I specified nothing for boot options for installation.

Then I removed the CD so it boots on the computer hard drive.

Now every time I install an extension, it disappears on reboot.

I followed the manual at this URL:

http://www.tinycorelinux.net/faq.html#persist

Yet when I select the "Control panel", I don't see an option for "Set TCE drive"

Is there a command-line option I can use in the terminal that can modify the boot parameters to use my hard drive for storage of installed extensions so they don't disappear?

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Tiny core Plus v12.0 Extensions disappear (manual not accurate)
« Reply #1 on: June 15, 2022, 05:02:37 AM »
Hi mik3ca
... Yet when I select the "Control panel", I don't see an option for "Set TCE drive" ...
Click on the  Apps  icon. I think you use the field labeled  TCE:  and the  Set  button in the lower right corner.

Offline mik3ca

  • Newbie
  • *
  • Posts: 10
Re: Tiny core Plus v12.0 Extensions disappear (manual not accurate)
« Reply #2 on: June 15, 2022, 11:24:57 AM »
It didn't work.

Here's the steps to reproduce my problem:

1. Wipe out the hard drive (Used your CD to boot without extensions then fdisk on /dev/sda and used option "o" and "w" to override it with a DOS partition).

2. Boot tiny core 12.0 with CD. Clicked TC Install icon.
3. Selected Frugal and Whole disk and sda (only option) as target disk, left "install boot loader" checked.
4. In boot options I left the box blank.
5. I checked all options for additional items to install then clicked proceed.

Then removed CD. Tiny core can boot from hard drive.

Then I selected Apps.

The box next to TCE always shows "/mnt/sda1/tce/optional"

So I attempt to download xchat extension. Once downloaded, a new yellow-orange X icon appears at bottom of screen next to the rest of the icons for the xchat program. As soon as I reboot the computer (by clicking exit then clicking reboot and ok), the system reboots, but the new application disappears (no more yellow-orange X icon).

So I tried to debug further by opening a shell and seeing where my hard drive mounts to and when I execute this:

Code: [Select]
mount | grep sd
I see:

Code: [Select]
/dev/sda1 on /mnt/sda1 type ext4 (rw,relatime)
Is there something wrong with appbrowser or should I not be using ext4 filesystem or what?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Tiny core Plus v12.0 Extensions disappear (manual not accurate)
« Reply #3 on: June 15, 2022, 11:35:43 AM »
Does /mnt/sda1/tce/optional exist? Are there any files in it?

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Tiny core Plus v12.0 Extensions disappear (manual not accurate)
« Reply #4 on: June 15, 2022, 12:52:55 PM »
Hi mik3ca
1. Does your  xchat  icon re-appear if you enter:
Code: [Select]
tce-load -i xchat
2. Does grep find  xchat  if you enter:
Code: [Select]
grep xchat /mnt/sda1/tce/onboot.lst
3. Did you leave the dropdown to the left of the  Go  button set to  OnBoot  or change it to something else?

Offline mik3ca

  • Newbie
  • *
  • Posts: 10
Re: Tiny core Plus v12.0 Extensions disappear (manual not accurate)
« Reply #5 on: June 15, 2022, 06:36:39 PM »
Quote
Hi mik3ca
1. Does your  xchat  icon re-appear if you enter:
Code: [Select]
tce-load -i xchat
Yes it does, but I shouldn't have to load a shell to type that in everytime I want the extension loaded.

Quote
2. Does grep find  xchat  if you enter:
Code: [Select]
grep xchat /mnt/sda1/tce/onboot.lst
No but onboot.lst file exists with other tcz files listed in it.

Quote
3. Did you leave the dropdown to the left of the  Go  button set to  OnBoot  or change it to something else?

I change it to "Download + Load" before I click "go" every time.

Quote
Does /mnt/sda1/tce/optional exist?
Yes

Quote
Are there any files in it?

a bunch of files with extensions tcz, txt, and dep
But none of them contain the word xchat

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Tiny core Plus v12.0 Extensions disappear (manual not accurate)
« Reply #6 on: June 15, 2022, 06:52:33 PM »
Hi mik3ca
...
Quote
3. Did you leave the dropdown to the left of the  Go  button set to  OnBoot  or change it to something else?

I change it to "Download + Load" before I click "go" every time. ...
That's why it "disappeared". In the future, leave it set to  OnBoot  if you want it to load automatically.

In the Apps utility, click  Apps->Maintenance->OnBoot Maintenance.
In the left pane, click on  xchat.tcz.
Click the  Add Item  button.
xchat  will now load automatically when your system boots.

Offline mik3ca

  • Newbie
  • *
  • Posts: 10
Re: Tiny core Plus v12.0 Extensions disappear (manual not accurate)
« Reply #7 on: June 15, 2022, 06:53:27 PM »
Ok I did seem to find a workaround just before you made your post.

After installing new apps, and before restarting the computer, I had to do the following:

Click apps, maintenance, "Onboot maintenance"  then the new tcz files that I just installed (including new dependencies) I had to click each file one by one and click "Add item" for each.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Tiny core Plus v12.0 Extensions disappear (manual not accurate)
« Reply #8 on: June 15, 2022, 07:02:17 PM »
Hi mik3ca
...  (including new dependencies) I had to click each file one by one and click "Add item" for each.
No, dependencies don't need to be added to  OnBoot.  Dependencies get loaded automatically. That's what the  .dep  files are for.
xchat.tcz.dep  lists  gtk1.tcz.
gtk1.tcz.dep  lists  glib1.tcz.

The loader works its way through those files to make sure dependencies are loaded.