WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Can't Open /opt/.tce_dir (SOLVED)  (Read 743 times)

Offline jp734

  • Newbie
  • *
  • Posts: 13
Can't Open /opt/.tce_dir (SOLVED)
« on: May 09, 2012, 07:13:38 PM »
I downloaded, (I guess the newest version), as the filename says "CorePlus-current.iso". Now, I have a secondary hard drive that is partitioned as sdb1,sdb2,sdb3 and swap. I wanted to install TinyCore on sdb1 and when I selected USB-HDD, it didn't let me select the partition. Instead it wanted to use the entire hard drive. So I chose FRUGAL, selected the partition and proceeded with the installation without any errors.

When I rebooted my pc though, it gave me an error "Can't open /opt/.tce_dir: No such file or directory". I did some research and found some suggestions on the forum but the files and folders they were referring to doesn't even exist on mine, like /home/X/.d or something like that. They also mentioned that /opt/.tce_dir is not being used anymore on newer versions. So I am lost at this point, no clue what to do. I've been using Mint for years but VERY NEW to TinyCore.

Any help will be appreciated. For the meantime, will keep on doing some research.  ;D

Thanks
« Last Edit: May 15, 2012, 01:26:56 PM by jp734 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 6127
Re: Can't Open /opt/.tce_dir
« Reply #1 on: May 09, 2012, 07:21:16 PM »
I did some research and found some suggestions on the forum but the files and folders they were referring to doesn't even exist on mine, like /home/X/.d or something like that.

This folder is /home/tc/.Xd (also named ~/.Xd) and is where you put commands that you'd like to run automatically when X starts.

The "." in the folder name makes it hidden, so you'll need to use "ls -a /home/tc" to see it from a terminal window or click on the "hidden files" button in a file manager

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 7611
Re: Can't Open /opt/.tce_dir
« Reply #2 on: May 10, 2012, 12:04:33 AM »
Where do you get that error from? Was there an old install on another partition, etc? Boot with "showapps pause" to check if it's from an extension.
The only barriers that can stop you are the ones you create yourself.

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 551
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: Can't Open /opt/.tce_dir
« Reply #3 on: May 10, 2012, 12:14:59 AM »
it seems need remove .profile from your home
Code: [Select]
rm ~/.profileand then rebooting

or replace .profile following the advice here

p.s.
check which tinycore version are used
by this command
Code: [Select]
version
« Last Edit: May 10, 2012, 12:40:52 AM by AbNoRMiS »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline jp734

  • Newbie
  • *
  • Posts: 13
Re: Can't Open /opt/.tce_dir
« Reply #4 on: May 10, 2012, 01:38:00 PM »
Okay...can't tell you guys exactly where the error happened during the boot process so I will see what I can do as far as pausing it. As far as folders and files that were created during installation, here's what I have on my hard drive: (The drive was clean and no prior os installation)

tce\onboot.lst
tce\mydata.gz
tce\boot\extlinux
tce\boot\core.gz
tce\boot\vmlinuz
tce\optional - folder that contains about 25 files

That's all fellows. No /home folder. No ".profile"

I did install it 3 times giving me the same result.

Online gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 3044
Re: Can't Open /opt/.tce_dir
« Reply #5 on: May 10, 2012, 02:06:07 PM »
You have something old in your backup that needs replacing.
You absolutely have a /home/tc/.profile.
you need to do 'ls -a' in order to see filenames starting with '.'.

Offline jp734

  • Newbie
  • *
  • Posts: 13
Re: Can't Open /opt/.tce_dir
« Reply #6 on: May 10, 2012, 02:43:47 PM »
Sorry, I missed the "ls -a" command. Anyways, I was able to see all the hidden folders/files and folder .X.d is empty. The file ".profile" contains a line that says ONDEMAND="$(cat /opt/.tce_dir)"/ondemand. Could this be the one causing it and what should I do with it?

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 551
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: Can't Open /opt/.tce_dir
« Reply #7 on: May 10, 2012, 02:45:44 PM »
after tinycore booting do the following
Code: [Select]
tce-load -wi mc.tcz && mcand voila! you are found your home ;)
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 551
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: Can't Open /opt/.tce_dir
« Reply #8 on: May 10, 2012, 02:49:38 PM »
Sorry, I missed the "ls -a" command. Anyways, I was able to see all the hidden folders/files and folder .X.d is empty. The file ".profile" contains a line that says ONDEMAND="$(cat /opt/.tce_dir)"/ondemand. Could this be the one causing it and what should I do with it?
see above
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline jp734

  • Newbie
  • *
  • Posts: 13
Re: Can't Open /opt/.tce_dir (SOLVED)
« Reply #9 on: May 11, 2012, 07:08:23 AM »
Found the problem.  I forgot about the tce folder that was created months ago when I tried version version 3 on my sda1 drive. After deleting the folder, everything worked fine. Next, setting up dual screen with two different background or hopefully one panoramic wallpaper.

Thanks everyone!