WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Boot problem after update.  (Read 4887 times)

Offline bmb

  • Newbie
  • *
  • Posts: 7
Boot problem after update.
« 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.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Boot problem after update.
« Reply #1 on: May 08, 2012, 09:59:52 AM »
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.

Offline bmb

  • Newbie
  • *
  • Posts: 7
Re: Boot problem after update.
« Reply #2 on: May 09, 2012, 08:17:11 AM »
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 ;)

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: Boot problem after update.
« Reply #3 on: May 09, 2012, 09:24:42 AM »
the correct syntax for the boot code (for already a long time) would be
Code: [Select]
tce=sda1
if the directory is named "tce". if it is "othername", then the boot code would be
Code: [Select]
tce=sda1/othername
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline bmb

  • Newbie
  • *
  • Posts: 7
Re: Boot problem after update.
« Reply #4 on: May 09, 2012, 11:16:40 AM »
Stil getting the message "cat: can't open '/opt/.tce_dir': No such file or directory"

My menu.lst is:

Code: [Select]
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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Boot problem after update.
« Reply #5 on: May 09, 2012, 11:32:45 AM »
You need to update your extensions too, and any custom scripts you may have.
The only barriers that can stop you are the ones you create yourself.

Offline bmb

  • Newbie
  • *
  • Posts: 7
Re: Boot problem after update.
« Reply #6 on: May 09, 2012, 11:40:16 AM »
Sorry, forgot to mention that i check for updates after every update.
Now (with the error) i did

Code: [Select]
tce-audit builddb
tce-audit fetchmissing

That should be enough?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Boot problem after update.
« Reply #7 on: May 09, 2012, 11:41:54 AM »
Then please report which extension is broken. (boot with "showapps pause")
The only barriers that can stop you are the ones you create yourself.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Boot problem after update.
« Reply #8 on: May 09, 2012, 01:37:49 PM »
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.

Offline bmb

  • Newbie
  • *
  • Posts: 7
Re: Boot problem after update.
« Reply #9 on: May 10, 2012, 04:45:24 AM »
Hello,

With "showapps pause" in the menu.lst i see some errors.
Code: [Select]
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.

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: Boot problem after update.
« Reply #10 on: May 10, 2012, 04:52:57 AM »
« Last Edit: May 10, 2012, 04:54:36 AM by AbNoRMiS »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: Boot problem after update.
« Reply #11 on: May 10, 2012, 05:05:16 AM »
Hello,

With "showapps pause" in the menu.lst i see some errors.
Code: [Select]
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
Code: [Select]
tce-audit builddb
tce-audit fetchmissing

p.s.
run this command to check Xlibs.tcz
Code: [Select]
md5sum -c /etc/sysconfig/tcedir/optional/Xlibs.tcz.md5.txt
« Last Edit: May 10, 2012, 05:16:38 AM by AbNoRMiS »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline bmb

  • Newbie
  • *
  • Posts: 7
Re: Boot problem after update.
« Reply #12 on: May 10, 2012, 06:32:37 AM »
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?

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: Boot problem after update.
« Reply #13 on: May 10, 2012, 10:41:33 AM »
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?
« Last Edit: May 10, 2012, 10:48:15 AM by AbNoRMiS »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Boot problem after update.
« Reply #14 on: May 10, 2012, 10:42:07 AM »
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.