Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: manit123 on September 11, 2012, 04:28:57 AM
-
$ tce-load -wi wine.tcz
dbus.tcz.dep OK
libgcrypt.tcz.dep OK
glib2.tcz.dep OK
gstreamer.tcz.dep OK
gst-plugins-base.tcz.dep OK
libtheora.tcz.dep OK
libvorbis.tcz.dep OK
udev-lib.tcz.dep OK
cairo.tcz.dep OK
fontconfig.tcz.dep OK
pango.tcz.dep OK
cyrus-sasl.tcz.dep OK
prelink.tcz.dep OK
elfutils-lib.tcz.dep OK
gnutls2.tcz.dep OK
nettle.tcz.dep OK
mpg123.tcz.dep OK
libxslt.tcz.dep OK
openldap.tcz.dep OK
libv4l.tcz.dep OK
v4l-dvb-3.0.21-tinycore.tcz.dep OK
libgphoto2.tcz.dep OK
sane-backends.tcz.dep OK
usb-utils.tcz.dep OK
Downloading: libopenal.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libopenal.tcz 100% |*********************************************************************************************************************| 136k 0:00:00 ETA
libopenal.tcz: OK
md5sum: expat2.tcz.md5.txt: No such file or directory
Downloading: expat2.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable
expat2.tcz: OK
md5sum: fontconfig.tcz.md5.txt: No such file or directory
Downloading: fontconfig.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable
fontconfig.tcz: OK
Downloading: libcapi20.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libcapi20.tcz 100% |*********************************************************************************************************************| 40960 0:00:00 ETA
libcapi20.tcz: OK
Downloading: libltdl.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libltdl.tcz 100% |*********************************************************************************************************************| 16384 0:00:00 ETA
libltdl.tcz: OK
md5sum: libusb.tcz.md5.txt: No such file or directory
Downloading: libusb.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable
libusb.tcz: OK
Downloading: libexif.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libexif.tcz 100% |*********************************************************************************************************************| 144k 0:00:00 ETA
libexif.tcz: OK
Downloading: libgphoto2.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libgphoto2.tcz 100% |*********************************************************************************************************************| 2092k 0:00:00 ETA
libgphoto2.tcz: OK
Downloading: i2c-3.0.21-tinycore.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
i2c-3.0.21-tinycore. 100% |*********************************************************************************************************************| 90112 0:00:00 ETA
i2c-3.0.21-tinycore.tcz: OK
NOTE : /tmp/tce folder was present on fresh boot. I created 'optional' inside it from where I ran above.
-
You may be running out of RAM.
You should really have a persistent tce directory.
See persistence in the wiki.
-
i have a folder named tce on my USB stick from which I booted
I added following to grub menu
title tiny core with oss
kernel /tce/boot/vmlinuz waitusb=9
initrd /tce/boot/core.gz
Is there something missing ?
-
$ free
total used free shared buffers
Mem: 3062492 754760 2307732 0 95356
-/+ buffers: 659404 2403088
Swap: 8577708 0 8577708
That means . Lot of RAM is unused.
-
Seems , all files were being downloaded to /mnt/sdb1/tce/optional.
-
Hi manit123
Is there something missing ?
You should start a new thread for this question since it is a different subject.
Include some more information, like:
1. Is grub installed on the stick, or on another device that in turn boots the stick?
2. Show an entry that successfully boots the stick.
3. State what is happening versus what you expected.
-
sorry , now this thread is solved.
All that happened is - I was hoping files being downloaded to /tmp/tce/optional while it went to /mnt/sdb1/tce/optional .
-
/tmp/tce/optional is only used in cloud mode ( when you have no persistent tce directory ).
-
Use bootcode "base" when you prefer to mount extensions from memory.
On a sidenote: 8.5 GB swap?? Couldn't be excluded that such would decrease performance, rather than increase it...
-
Firstly , I booted from USB stick which found swap on internal hard disk .
Secondly , if I add boot code 'base' , will extensions get downloaded to /tmp/tce/optional ?Also I hope the onboot.lst will be obeyed during boot i.e those tcz on my USB stick present will be installed.
I cannot infer from http://wiki.tinycorelinux.net/wiki:boot_codes_explained
-
1. That doesn't make my statement less valid.
For 8.5 GB swap being found it means it preexisted in the first place.
2. I'd reckon that is a combo for which automatisation does not provide.
EDIT:
On second thought, the use of distinct cde vs. tce dirs with CDs, as well as the use of /opt/tce in remasters might be looked at as coming comparably close to such a combination.
-
No, you cannot have it install extensions from the USB using onboot, and then have it automatically install new extensions into /tmp/tce.
Why do you want to?
-
No, you cannot have it install extensions from the USB using onboot, and then have it automatically install new extensions into /tmp/tce.
You can do that. Just change /usr/sysconfig/tcedir symlink afterr boot. Is it useful? I do not know. But possible.
-
Did you actually try it?
I did.
Apps complains that tce directory is readonly.
-
What always worked well for me is a dynamic remaster with an onboot.lst and extensions in /opt/tce while using /tmp/tce as tce dir.
(edited my last post)
-
Hi manit123
Secondly , if I add boot code 'base' , will extensions get downloaded to /tmp/tce/optional ?Also I hope the onboot.lst will be obeyed during boot i.e those tcz on my USB stick present will be installed.
If you use the boot code base , your onboot.lst will be ignored because that tells Tinycore not to load extensions.
-
If this is about remasters, then please keep such discussion in the remasters topic area.
The tce directory and thus the ondemand directory should never be on a read-only device. Otherwise the user will not be able to install or maintain apps. Instructing the user to change symlinks or otherwise hack the system is not helpful and only compounds the issues the user will face when package management will surely fail. Of course advanced users can choose to ignore the system design and tweak as needed with the caveat of knowing what they are doing.
This "issue" surfaced way back and that is why the cde directory was introduced. The cde directory indicates that such collection of extensions reside on a read-only device, that they are in a sense "part of the base" system, i.e., they load but are not subject to any maintenance and thus the user is free to set the tce direcrtory as is to be expected and with all normal functions available.
-
Hi manit123
I think part of the problem here is that while you describe what you are trying to do, you do not state what you
are trying to achieve, ie, why you feel the need to install apps into /tmp/tce. If it's to have apps in RAM rather
than loop mounted from persistent storage, you can use the copy2fs.flg and copy2fs.lst files for that.
-
no folder named 'sysconfig' in /usr
tc@box:/usr/sbin$ cd /usr/
tc@box:/usr$ ls -hal
total 0
drwxr-xr-x 7 root root 140 Sep 19 2009 ./
drwxr-xr-x 17 root root 380 Sep 16 16:45 ../
drwxr-xr-x 2 root root 3.7K Sep 16 16:45 bin/
drwxr-xr-x 6 root root 2.0K Sep 16 16:45 lib/
drwxr-xr-x 18 root root 380 Feb 21 2010 local/
drwxr-xr-x 2 root root 360 Dec 8 2011 sbin/
drwxr-xr-x 14 root root 280 Sep 16 16:50 share/
-
no folder named 'sysconfig' in /usr
Correct. It is /etc/sysconfig
-
now there is a tcedir pointing to /mnt/sdc1/tce . I will change that.
EDIT
Now things are fine .
I ran
#rm /etc/sysconfig/tcedir ; ln -s /tmp/tce /etc/sysconfig/tcedir
That way I download things to tmp folder and copy them to my USB stick , else reboot .