Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: bmb on May 08, 2012, 07:54:34 AM
-
Hello,
Where can i change the tce dir location?
I did a update from 3.8 to 4.5 and i am getting this message:
cat: can't open '/opt/.tce_dir': No such file or directory
Thanks.
-
Read all the release notes from 3.8 to 4.5.
There is no longer an /opt/.tce_dir.
You have failed to update or delete something.
-
That is correct, the .tce_dir file is gone after a update from 4.1 to 4.2.
If i copy the file manually ( made a backup from an other 4.1 install) and do a reboot the file is gone again.
If i edit the menu.lst in the grub folder and add "tce=/mnt/sda1/tce" the system won't boot. Just getting my name and a cursor..
So 4.1 works like a charm, 4.2 gives me a pain in the ass ;)
-
the correct syntax for the boot code (for already a long time) would be
tce=sda1
if the directory is named "tce". if it is "othername", then the boot code would be
tce=sda1/othername
-
Stil getting the message "cat: can't open '/opt/.tce_dir': No such file or directory"
My menu.lst is:
kernel /boot/vmlinuz quiet host=Change_Me! tce=sda1
initrd /boot/core.gz
I upgrade the system by replacing the vmlinuz and core.gz
This worked fine until now. 4.1 is the last good working update for me.
-
You need to update your extensions too, and any custom scripts you may have.
-
Sorry, forgot to mention that i check for updates after every update.
Now (with the error) i did
tce-audit builddb
tce-audit fetchmissing
That should be enough?
-
Then please report which extension is broken. (boot with "showapps pause")
-
I suspect you did not replace .profile with the one in /etc/skel.
It is important to follow the instructions in all the release notes for intervening versions.
-
Hello,
With "showapps pause" in the menu.lst i see some errors.
g_module_open() failed for usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so: libpng12.so.62: cannot open shared object file: No such file or directory
g_module_open() failed for usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so: libjpeg12.so.62: cannot open shared object file: No such file or directory
I also see a line"Restoring backup files from /mnt/sda1/tce/mydata/tgz Done."
When i hit enter i am getting the error that i had before ( the one with /opt/.tce_dir).
I also the .profiles from /etc/skel to /home/tc but no luck.
I can't find the release notes for version 4.2, only for the 4.2.1.
-
4.2 release notes
http://forum.tinycorelinux.net/index.php/topic,12191.0.html
-
Hello,
With "showapps pause" in the menu.lst i see some errors.
g_module_open() failed for usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so: libpng12.so.62: cannot open shared object file: No such file or directory
g_module_open() failed for usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so: libjpeg12.so.62: cannot open shared object file: No such file or directory
it seems that missing or broken Xlibs.tcz
and need fetch it
tce-audit builddb
tce-audit fetchmissing
p.s.
run this command to check Xlibs.tcz
md5sum -c /etc/sysconfig/tcedir/optional/Xlibs.tcz.md5.txt
-
I reinstalled Xlibs on the 4.1 version, rebooted, upgraded to 4.2, copied .setbackground, .profile and .xsession from /etc/skel to /home/tc.
Rebooted the device again.
typed tce-audit builddb and tce-audit fetchmissing ( i have no gui)
The xlibs.tcz errors are gone now (thanks!) but the tce error remains.
I browsed trough the 4.2 release notes and noticed the line "Updated base for move of /opt/.tce_dir to a link at /etc/sysconfig/tcedir".
That is the error i am getting? ( The /opt/.tce_dir ).
The tcedir link in the sysconfig folder sends me to /mnt/sda1/tce so that works fine. (just used cd to go to the dir).
Somehow there is still a reference to the /opt/.tce_dir?
-
I reinstalled Xlibs on the 4.1 version, rebooted, upgraded to 4.2, copied .setbackground, .profile and .xsession from /etc/skel to /home/tc.
Rebooted the device again.
are you did backup before rebooting?
-
Go back and read reply #8. Easiest fix is to rm /home/tc/.profile.
Also remove /home/tc/.X.d/wbar if it exists.
Then do a backup.
-
if you still have no gui then backup command
filetool.sh -b
p.s.
and one more
if you has installed wbar
then must update it to recent version
older versions may report this error
p.s.2
and even better update all extensions
tce-update