Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: wghong on March 30, 2010, 04:49:34 AM

Title: How to load the applications in the tce directory
Post by: wghong 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!

Title: Re: How to load the applications in the tce directory
Post by: curaga on March 30, 2010, 04:53:57 AM
Maybe the drive takes longer than 5 seconds to init? Try a larger number with waitusb.
Title: Re: How to load the applications in the tce directory
Post by: Guy 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.
Title: Re: How to load the applications in the tce directory
Post by: wghong 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.

Title: Re: How to load the applications in the tce directory
Post by: wghong 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.
Title: Re: How to load the applications in the tce directory
Post by: maro 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:
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.
Title: Re: How to load the applications in the tce directory
Post by: wghong 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 !