WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to load the applications in the tce directory  (Read 3171 times)

Offline wghong

  • Newbie
  • *
  • Posts: 4
How to load the applications in the tce directory
« on: March 30, 2010, 04:49:34 AM »
I use Grub4dos for booting the tinycore and winpe.....

I installed the tinycorelinux in my removable hard drive(sata).
copy the boot directory and the tce directory to my removable hard drive,put applications in the tce directory .
then use :
title Start tinycorelinux
kernel /boot/bzImage quiet tinycore tce=sda1
initrd /boot/tinycore.gz

I try to change the red words"sda1" to "sdb1" ......or "hda1"
The tinycorelinux  boots OK,but it is a basic system without applications.  

Or use :
title Start tinycorelinux
kernel /boot/bzImage quiet tinycore waitusb=5
initrd /boot/tinycore.gz

it is the some result ,no applications.

I try to copy these  directories in my hard drive (not removable hard drive(sata)),but it is OK, it can load the applications.

so how to load the applications in the tce directory by removable hard drive(sata)?

thanks!

« Last Edit: March 28, 2023, 01:12:16 AM by Rich »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: How to load the applications in the tce directory
« Reply #1 on: March 30, 2010, 04:53:57 AM »
Maybe the drive takes longer than 5 seconds to init? Try a larger number with waitusb.
The only barriers that can stop you are the ones you create yourself.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: How to load the applications in the tce directory
« Reply #2 on: March 30, 2010, 05:05:04 AM »
It is difficult to know what you have done.

Do you know that applications go in the /tce/optional directory?

Do you know you need to run On Boot and/or On Demand, from the C Panel? On Boot is under Apps Audit.
Many people see what is. Some people see what can be, and make a difference.

Offline wghong

  • Newbie
  • *
  • Posts: 4
Re: How to load the applications in the tce directory
« Reply #3 on: March 30, 2010, 05:11:37 AM »
Maybe the drive takes longer than 5 seconds to init? Try a larger number with waitusb.

I try to use : waitusb=10, but not ok.


Offline wghong

  • Newbie
  • *
  • Posts: 4
Re: How to load the applications in the tce directory
« Reply #4 on: March 30, 2010, 06:10:11 AM »
It is difficult to know what you have done.

Do you know that applications go in the /tce/optional directory?

Do you know you need to run On Boot and/or On Demand, from the C Panel? On Boot is under Apps Audit.
I use grub4dos for booting the tinycore and winpe....

I am sorry,it is "tce",not "tec".I type it for a mistake.
« Last Edit: March 30, 2010, 06:12:01 AM by wghong »

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: How to load the applications in the tce directory
« Reply #5 on: March 30, 2010, 05:29:38 PM »
@wghong: Judging from the file names in the second screen dump it appears that you have there a pretty "old" setup WRT to your extensions files (e.g. 'openssl-0.9.8h.tczl'). Furthermore (as already pointed out) those files appear in '.../tce' instead of '.../tce/optional' (which is the location for extensions in the more recent versions of TC).

I've got a few questions that might help us in the troubleshooting:
  • What version of TC are you using?
  • What is the contents of '/opt/.tce_dir'?
  • Are you sure about the device name? Please post the result of the following commands:
    fdisk -l
    grep '[hs]d' /etc/fstab
    blkid /dev/[hs]d*

Specifying a sufficient wait time for the device to be recognized early enough (with boot parameter 'waitusb') is a must. Using 'tce=...' as boot parameter is more a guidance (in case that there are several devices). It in itself it does not guarantee that the device will be recognized early enough.

Offline wghong

  • Newbie
  • *
  • Posts: 4
Re: How to load the applications in the tce directory
« Reply #6 on: March 30, 2010, 11:15:37 PM »
@wghong: Judging from the file names in the second screen dump it appears that you have there a pretty "old" setup WRT to your extensions files (e.g. 'openssl-0.9.8h.tczl'). Furthermore (as already pointed out) those files appear in '.../tce' instead of '.../tce/optional' (which is the location for extensions in the more recent versions of TC).

I've got a few questions that might help us in the troubleshooting:
  • What version of TC are you using?
  • What is the contents of '/opt/.tce_dir'?
  • Are you sure about the device name? Please post the result of the following commands:
    fdisk -l
    grep '[hs]d' /etc/fstab
    blkid /dev/[hs]d*

Specifying a sufficient wait time for the device to be recognized early enough (with boot parameter 'waitusb') is a must. Using 'tce=...' as boot parameter is more a guidance (in case that there are several devices). It in itself it does not guarantee that the device will be recognized early enough.

Thanks , I use:
title Start tinycorelinux
kernel /boot/bzImage quiet tinycore tce=sda1 waitusb=10
initrd /boot/tinycore.gz

It is ok, it loads applications successfully !