Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: emninger on November 02, 2015, 02:33:56 PM
-
In the end of the bootup i'm getting the following error msgs:
touch: /etc/sysconfig/tcedir/xwbar.lst No such file or directory
chown: /etc/sysconfig/tcedir/xwbar.lst No such file or directory
chmod: /etc/sysconfig/tcedir/xwbar.lst No such file or directory
touch: /etc/sysconfig/tcedir/xwbar.lst No such file or directory
chown: /etc/sysconfig/tcedir/xwbar.lst No such file or directory
chmod: /etc/sysconfig/tcedir/xwbar.lst No such file or directory
ls: /usr/share/applications/abiword.desktop No such file or directory
What does that mean? And how can i correct that?
Thanks a lot in advance.
-
Do you have a wbar.lst file in the directory of the error message, if not create.
On my system it's an empty file, tc:staff with 644 permissions.
Reboot and see if error disappears.
-
Do you have a wbar.lst file in the directory of the error message, if not create.
On my system it's an empty file, tc:staff with 644 permissions.
Reboot and see if error disappears.
Hmm, the directory is a symbolic link pointing to /mnt/sda1/tce :sgrat:
-
Mine is similar, try creating there:
touch /mnt/sda1/tce/wbar.lst
-
Done - with success! Thanks a lot!
What do i do with the line of Abiword? Now i've one of mplayer too. I'm pretty sure that's a track of having loaded locally. Is there something like tce-unload (which i presume would make disappear that line(s).
-
Is Abiword installed or did you install it then later manually remove the .tcz?
Maybe you removed Abiword but still have it listed in your onboot.lst or in .X.d ?
-
Is Abiword installed or did you install it then later manually remove the .tcz?
Maybe you removed Abiword but still have it listed in your onboot.lst or in .X.d ?
I've Abiword downloaded locally, but only for Ondemand. This line came up after i loaded locally Abiword with the Apps tool; on the next reboot this line came up. When i did the same with mplayer, on the next reboot after that load locally there came up a line for mplayer too ls: /usr/local/share/applications/mplayer.desktop: No such file or directory
No, neither Abiword nor mplayer are listed in onboot.lst. In .X.d/ there are only conky and xscreensaver ...
Too me it seems like something related to something like lxde (?). I looked into that directory in and i see that mplayer.desktop and abiword.desktop are symbolic links without the real file whereto it points! The rest (like tinycore-editor.desktop) are real files. May be that symbolic link(s) was created when loading Abiword locally, but shouldn't that be cleaned up when shutting down the system???
-
Maybe your /opt/.filetool.lst has some bad entries.
Can you post it's contend?
In your first post...
ls: /usr/share/applications/abiword.desktop No such file or directory
"/usr/share/applications/..."
isn't used, but
"/usr/local/share/applications/...".
/usr/local/share/applications/*.desktop files should point to their respective extension mountpoint in /tmp/tcloop/*extension-name* .
If there are real files, they were either included in the initrd (core.gz) or have been copied to RAM because the respective extensions are listed in /etc/sysconfig/tcedir/copy2fs.lst or because of the existance of the file /etc/sysconfig/tcedir/copy2fs.flg .
"copy2fs" (Apps -> Installation Options -> Install to File System) makes extensions not staying mounted but copied to the file system in RAM so the boot media can be removed and/or access time gets decreased.
I find it strange that xwbar.lst wasn't created - not sure if it will always be created though - are you sure you have enough free space left on your drive?
-
Maybe your /opt/.filetool.lst has some bad entries.
Can you post it's contend?
In your first post...
ls: /usr/share/applications/abiword.desktop No such file or directory
"/usr/share/applications/..."
isn't used, but
"/usr/local/share/applications/...".
That was i typo i presume since i wrote it down by hand from the console entry ;) Don't know how to cut&paste in the console (?)
/usr/local/share/applications/*.desktop files should point to their respective extension mountpoint in /tmp/tcloop/*extension-name* .
If there are real files, they were either included in the initrd (core.gz) or have been copied to RAM because the respective extensions are listed in /etc/sysconfig/tcedir/copy2fs.lst or because of the existance of the file /etc/sysconfig/tcedir/copy2fs.flg .
"copy2fs" (Apps -> Installation Options -> Install to File System) makes extensions not staying mounted but copied to the file system in RAM so the boot media can be removed and/or access time gets decreased.
I find it strange that xwbar.lst wasn't created - not sure if it will always be created though - are you sure you have enough free space left on your drive?
As for the free space on the disk:
tc@box:~$ df -h
Filesystem Size Used Available Use% Mounted on
rootfs 899.6M 483.0M 416.6M 54% /
tmpfs 499.8M 0 499.8M 0% /dev/shm
/dev/sda1 14.5G 519.5M 14.0G 3% /mnt/sda1
/dev/sda1 14.5G 519.5M 14.0G 3% /home
/dev/sda1 14.5G 519.5M 14.0G 3% /opt
My /opt/.filetool.lst:
opt
home
opt/eth0.sh
usr/local/share/
etc/
Then i realize. there is also an .xfiletool.lst (?)
Cache
cache
.cache
XUL.mfasl
XPC.mfasl
mnt
.adobe/Flash_Player/AssetCache
.macromedia/Flash_Player
.opera/opcache
.opera/cache4
.Xauthority
.wmx
I never ever dealt with that applications .... So, is that by default?
-
Aha, do NOT add /usr/local/share/ to your backup! This directory can get quite big.
Instead, only add specific files (or small directories) you want to keep from inside that directory.
Your .xfiletool.lst is default, yes.
Copy & paste:
http://wiki.tinycorelinux.net/wiki:mouse
-
Aha, do NOT add /usr/local/share/ to your backup! This directory can get quite big.
Instead, only add specific files (or small directories) you want to keep from inside that directory.
Your .xfiletool.lst is default, yes.
Copy & paste:
http://wiki.tinycorelinux.net/wiki:mouse
Ok. Now i added /usr/local/share/X11/ and /usr/local/share/etc/ . As for the latter a question: I notice that tinycorelinux makes extensive use of /opt and /usr/local/ (which is similar to BSD and Darwin, but a bit different to most other linuces i'm aware of, mostly slackware and debian, a bit). For example tor and polipo were configured here, as far as i understand. So that directory should be included to backup in any case, correct?
PS. I'm aware of the middle-button technique for cut and paste in aterm/xterm etc (darkly i remember, from some debian instruction, it's stderr vs. stdout related). But on the console, i do not see, how you can highlight???
-
/usr/local/share/X11/ and /usr/local/share/etc/ are still directories, as Misalf mentioned best just to add individual files when possible, keeps backups small.
Control Panel -> BackupRestore -> Included For Backup -> most cases you would select Add File not Add Directory.
Example, etc/X11/xorg.conf, not the entire /X11 directory (bad example, probably just contains the one file).
Same with usr/local/share/etc/ (assume typo, don't think TC uses this directory).
You're saying Tor is configured in /usr/local? You would not backup the entire directory, just individual files required to maintain Tor persistence. Sorry not familiar with Tor's directory structure. Is Tor a *.tcz? If so then none of those files would require additional backup, unless you made specific changes or have additional configuration files not present in the *.tcz.
In TTY you can output to file. Example:
ls > /home/tc/list_of_files
-
Thanks nitram. It's a bit complicate: For example, i added a fluxbox style, to /usr/local/share/fluxbox/ which not backing up /usr/local/share/ went away (consider i'm unused to the tinystyle ;) ).
As for tor, there is a torrc file in /usr/local/etc/tor, which can/should be configured to define/exclude exit nodes etc. Same goes for polipo which is used as forwarding proxy - given you would not set tor as a systemwide proxy.
May be, once i'll have finished the setup of tiny on this netbook, may be i'll have a clearer idea, which files are to protect. But actually, with constant configuring and rebooting it's a bit difficult to keep in mind all the files and configs you changed in one or another directory ;)
-
I used ~/.fluxbox/styles/ in the past.
backing up /usr/local/share/fluxbox/ wouldn't be that much of a difference though, except that you would also backup the symlinks from the Fluxbox extension.
It's true that some apps look for their configs in /usr/local/etc/some-app/ or similar. probably not a problem in backing up those directories but usually apps look in the users home directory first. That might be easier to organize too.
-
Do NOT add etc to .filetool.lst !
That will overwrite boot time configuration with old data.
-
Hi emninger
My /opt/.filetool.lst:
opt
home
opt/eth0.sh
usr/local/share/
etc/
Then i realize. there is also an .xfiletool.lst (?)
Cache
cache
.cache
XUL.mfasl
XPC.mfasl
mnt
.adobe/Flash_Player/AssetCache
.macromedia/Flash_Player
.opera/opcache
.opera/cache4
.Xauthority
.wmx
You do not need opt/eth0.sh since opt is already listed. I recommend you don't mess with .xfiletool.lst.
Post the results of showbootcodes
-
In my limited experience there are very few files that need to be in .filetool.lst. Most applications support custom configurations in /home directory, including fluxbox. Everyone's needs are different, your setup sounds more complex. Just an example of what works for me:
opt
home
etc/X11/xorg.conf
usr/local/sbin/basic-firewall
var/lib/locate/locatedb
etc/exports
-
showbootcodes:
[initrd=/tce/boot/core.gz quiet lang=de_DE kmap=de waitusb=10:UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" tce=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" restore=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" swapfile=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" home=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" opt=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" local=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" tz=CET-1CEST,M3.5.0,M10.5.0/3 showapps blacklist=b43,ssb,bcma noautologin BOOT_IMAGE=/tce/boot/vmlinuz
@nitram:
You're probably right (and for fluxbox: it is - by default - configured in ~/ (safe startfluxbox). But, the problem is: not any applications do that by default. fontconfig e.g. And so, you always have to think of and to transfer your settings consciously to ~/ - what one easy forgets (at least me). May be getting more familiar with TCL that will change ;)
-
Hi emninger
showbootcodes:
[initrd=/tce/boot/core.gz quiet lang=de_DE kmap=de waitusb=10:UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" tce=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" restore=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" swapfile=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" home=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" opt=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" local=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" tz=CET-1CEST,M3.5.0,M10.5.0/3 showapps blacklist=b43,ssb,bcma noautologin BOOT_IMAGE=/tce/boot/vmlinuz
[initrd=/tce/boot/core.gz
That [ does not belong there.
restore=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f"
Since it's the same as what you specified for the tce directory, you don't need that. Tinycore will restore from the tce
directory by default.
home=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f" opt=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f"
These two items specify that you have persistant /home and /opt directories, so they don't need to be included in
your backup. Open your filetool.lst file, remove any lines beginning with home or opt, then run a backup.
local=UUID="3b305a3c-d95b-4f80-b1fa-b7baaf7db06f"
I doubt you need this, but since I don't really understand the purpose of this code, I'll defer to someone else to
comment on it.