Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: mik3ca on June 14, 2022, 11:56:54 PM
-
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?
-
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.
-
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:
mount | grep sd
I see:
/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?
-
Does /mnt/sda1/tce/optional exist? Are there any files in it?
-
Hi mik3ca
1. Does your xchat icon re-appear if you enter:
tce-load -i xchat
2. Does grep find xchat if you enter:
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?
-
Hi mik3ca
1. Does your xchat icon re-appear if you enter:
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.
2. Does grep find xchat if you enter:
grep xchat /mnt/sda1/tce/onboot.lst
No but onboot.lst file exists with other tcz files listed in it.
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.
Does /mnt/sda1/tce/optional exist?
Yes
Are there any files in it?
a bunch of files with extensions tcz, txt, and dep
But none of them contain the word xchat
-
Hi mik3ca
... 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.
-
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.
-
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.