Hello all,
I'm really sorry to disappoint you all by solving this mystery myself. Turns out, I wrote `sudo wifi.sh -a` in my `/opt/bootsync.sh` and as I'm in a different location, it did not detect my home Wi-Fi network which was causing too much variable amounts of delay during boot.
I made it a background job in bootsync.sh and now my system loads up in 29.45 seconds, averaged over 3 boots.
Gnome stuff tends to be heavy, though you don't use full gnome but some apps (at least for full gnome it would be better to use another distro). If you boot with the showapps bootcode (and disable the splash temporarily), you can see what takes the most time.
It may not be anything to do with shell, it may be your usb stick is slow, for example.
Hello curaga.
Only my bootloader (Ventoy, uses GRUB 2 internally) is on the USB stick. TCL is installed on a 10 GiB partition on my laptop's SSD, with persistent /home and /opt.
I also have another boot option that uses the stock Corepure64 initrd, which doesn't have the splash image. I used it and it looks like no tcz is causing too much delay during load.
I use Gnome keyring in order to secure my Github personal access token that I use to push commits to Github for the Core-scripts and fltk_projects repositories. I use Gnome terminal as it directly copies to the clipboard that I can use with Firefox. IIRC, there are 2 clipboards in X and Gnome terminal copies my mouse selections to the clipboard that Firefox also uses and also pastes from it. I found no other alternative so I had to live with it.
There's also the question of if you're using a backup and, if so, how big it is.
Hello Juanito.
Yes, I am using a backup and it is very small. I only included the /opt directory for backup of startup scripts, and its size is
`0.01 MB (12015 bytes)`. I don't think that will affect the boot time at all.
this might be relevant ,
though it appears it would require some testing ( eg trying to combine different groups of tcz to se what works with your list of tcz / system ect )
"Combining Extensions into Large Extensions" @ https://forum.tinycorelinux.net/index.php/topic,3757.msg19679.html#msg19679
Hello mocore.
I would rather not do that because if any one dependency is updated in the TCZ repo, I would have to restart the process. I let tce-audit do that work for me.
Hi Sashank999. A 3-minute boot time suggests there's something unusual about your setup. I have a lot of extensions in my onboot.lst, my laptop is an old clunker (X230 ThinkPad made in 2012), and my boot time is 24 seconds.
Juanito suggested checking the size of your backup (mydata.tgz in tce directory). I do remember that my boot time improved when I moved large files out of mydata.tgz into my persistent directory (/opt).
Hello GNUser.
I already did that as suggested on this forums by some user on an old thread of mine. Now my backup size is small enough that it does not have any noticeable impact on my boot time.
I thank you all for your time.