Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Fallingwater on April 22, 2013, 09:34:02 AM

Title: How do I perform a scatter install? (yes, I know it isn't officially supported)
Post by: Fallingwater on April 22, 2013, 09:34:02 AM
Disclaimer: I've read up on the philosophy behind TC and why a scatter install is discouraged. I understand the official positions and the reasons, but I still need/want to do it, for reasons I'd rather not get into here to avoid a derailment of the thread. Please don't try to convince me to do otherwise; suffice to say I'm quite sure that is in fact what I need/want, and I shall keep both pieces if it breaks.

Anyway: as the installer doesn't have an option for a scatter install I went Googling for a howto, but found none. How, exactly, do I perform this sacrilegous act?
Title: Re: How do I perform a scatter install? (yes, I know it isn't officially supported)
Post by: Fallingwater on April 22, 2013, 03:00:35 PM
Ok, after an afternoon's work I finally managed to get TC to boot from the HD. I uncompressed core.gz, then installed extlinux and configured the extlinux.conf file.

Problem is, it now loads and identifies the HD install, but it's only running a very minimal system without any software so I can't startx. The iso contains a "cde/optional" directory full of tcz files; should I copy these somewhere in the filesystem on the HD? If so, where?
Title: Re: How do I perform a scatter install? (yes, I know it isn't officially supported)
Post by: bmarkus on April 22, 2013, 03:07:53 PM
Copy cde directory to the root of HD and rename it to tce
Title: Re: How do I perform a scatter install? (yes, I know it isn't officially supported)
Post by: tinypoodle on April 22, 2013, 03:26:02 PM
If you really want a full scatter install, you would unsquash all extensions over /.
Title: Re: How do I perform a scatter install? (yes, I know it isn't officially supported)
Post by: bmarkus on April 22, 2013, 03:48:09 PM
If you really want a full scatter install, you would unsquash all extensions over /.

And loose package management.
Title: Re: How do I perform a scatter install? (yes, I know it isn't officially supported)
Post by: tinypoodle on April 22, 2013, 04:07:32 PM
That's implied, as is losing various other management aspects with scatter install (unless suitably modified).
Title: Re: How do I perform a scatter install? (yes, I know it isn't officially supported)
Post by: Fallingwater on April 22, 2013, 06:46:54 PM
Copy cde directory to the root of HD and rename it to tce
That worked... once. At the next reboot it stopped opening many applications, reporting an error while loading libfltk.so.1.1... except fltk-1.1.10.tcz was present in /tce/onboot.lst.

I deleted /tce and copied/renamed cde from the CD, and it kept doing it. As I'd customized nothing else yet, rather than keep fighting this problem I just reunpacked core.gz on / from the CD. It again worked once.

Edit: now that I added showapps in extlinux, I see there's a problem in loading the tczs. At a certain point, gdk-pixbuf-query-loaders spits out an error loading libgio-2.0.so.0; the loading process stops, and fltk is never loaded.

I wonder what's doing this? The second time all I did was load it, open terminal and give it a sudo reboot.

Edit: here's a screenshot (http://i.imgur.com/3I6B0CC.jpg).
Title: Re: How do I perform a scatter install? (yes, I know it isn't officially supported)
Post by: bmarkus on April 22, 2013, 06:55:39 PM
What you are doing is against the TC concept is breaking it in whole. Would be better to use as it is adviced at least to learn how it works :(
Title: Re: How do I perform a scatter install? (yes, I know it isn't officially supported)
Post by: tinypoodle on April 22, 2013, 07:33:28 PM
An intermediate approach without easily breaking all the system would be to boot core in a proper fashion and then to chroot to a scatter install.

I've been quite successful in doing so, without attempting to place extensions within the scatter install though.