WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Probelm with tces  (Read 3174 times)

Offline ir

  • Newbie
  • *
  • Posts: 16
Probelm with tces
« on: June 23, 2009, 02:16:57 PM »
Hello

I am a newcomer to tinycore. I hav installed tinycore-2.1rc1 on a usb pendrive and installed grub to boot it (it works!). Usb drive is sdb (whole drive used as a single partition sdb1). I want to add a few tces (abiword,
xpdf, wiv etc). To this end I use the kernel option in grub as:
  ...
  kernel /boot/bzImage quier local=sdb1 noswap waitusb=5
...

I install the tce using applbrowser (connect->tce) but it disappears on a reboot (and I can;t find the .tce package any where). The sdb1 partiiton
has directories (/tce, /tcz, /local).

Sdb1 is also the tinycore boot/* partition??

Any help will be appreciated.

-ir

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: Probelm with tces
« Reply #1 on: June 23, 2009, 03:36:11 PM »
Quote
kernel /boot/bzImage quier local=sdb1 noswap waitusb=5

You can remove the
Code: [Select]
local=sdb1 from your kernel line, then create a directory named tce in the root directory of the pendrive

Code: [Select]
mkdir /mnt/sdb1/tce
(you might have to use sudo)

Upon reboot, tc will load any *.tce files it finds in that directory and any that you install from the repository will be copied there to be loaded at upon subsequent reboots.

If you happen to have directories named tce in the root directories of other filesystems, you can specify which one to use with

Code: [Select]
tce=sdb1
on the kernel line, but that's not necessary if you only have one such directory.

Its "quiet", not "quier".  :)
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: Probelm with tces
« Reply #2 on: June 23, 2009, 03:38:09 PM »
check your boot line in grub, it must show:


kernel /boot/bzImage
append initrd=/boot/tinycore.gz quiet tce=sdb1/tce noswap waitusb=5

then download your apps from appbrowser and place them in the /sdb1/tce directory. restart, tc will load your tce at boot.

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: Probelm with tces
« Reply #3 on: June 23, 2009, 03:39:27 PM »
oups, sorry Lee, i posted it short after you, it seems

Offline ir

  • Newbie
  • *
  • Posts: 16
Re: Probelm with tces
« Reply #4 on: June 23, 2009, 05:08:44 PM »
Quote
kernel /boot/bzImage quier local=sdb1 noswap waitusb=5

You can remove the
Code: [Select]
local=sdb1 from your kernel line, then create a directory named tce in the root directory of the pendrive

Code: [Select]
mkdir /mnt/sdb1/tce
(you might have to use sudo)

Upon reboot, tc will load any *.tce files it finds in that directory and any that you install from the repository will be copied there to be loaded at upon subsequent reboots.

If you happen to have directories named tce in the root directories of other filesystems, you can specify which one to use with

Code: [Select]
tce=sdb1
on the kernel line, but that's not necessary if you only have one such directory.

Its "quiet", not "quier".  :)

Ok changed the kernel line to
kernel /boot/bzImage quiet noswap waitusb=5

created /tce (on sdb1 -- the boot device fs) , downloaded the
.tces of interest, rebooted but none the .tce was loaded. I was
able to install them using applbrowser->File->Install  Local

Is there no way to auotmate this? or I am doing something wrong?

-ir
« Last Edit: June 23, 2009, 05:22:27 PM by ir »

Offline philip

  • Full Member
  • ***
  • Posts: 125
Re: Probelm with tces
« Reply #5 on: June 24, 2009, 02:32:31 AM »
When I had a similar problem, choosing a larger number for "waitusb" cured it. (If the USB key isn't fully mounted and settled when the tc-config script starts looking for saved extensions, it will just proceed without loading them.) Adding the word "pause" to the boot command line until you get everything working just right may also help. It lets you see what messages the boot process generates before replacing the console with an X session. Good luck.

Offline samedirection

  • Jr. Member
  • **
  • Posts: 64
Re: Probelm with tces
« Reply #6 on: June 24, 2009, 09:12:13 AM »
You can confirm that the tce's went to the right place?  (That is, to /tce in drive sdb1).  And not to /tce/optional, which they may have done if you chose to "only download" not install them).
 or to someplace else. 

Don't worry, you're just a few moves away from getting it all to work as you expect.  We just have to figure out what moves.

Offline ir

  • Newbie
  • *
  • Posts: 16
Re: Probelm with tces
« Reply #7 on: June 24, 2009, 10:28:28 AM »
You can confirm that the tce's went to the right place?  (That is, to /tce in drive sdb1).  And not to /tce/optional, which they may have done if you chose to "only download" not install them).
 or to someplace else. 

Don't worry, you're just a few moves away from getting it all to work as you expect.  We just have to figure out what moves.

The tces were downloaded and then copied to /mnt/sdb1/tce, so the files are there. Adding tce=sdb1/tce and waitusb=25 also did not help.

-ir

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Probelm with tces
« Reply #8 on: June 24, 2009, 11:10:57 AM »
Perhaps using UUID or LABEL would be helpful.
See FAQ: http://www.tinycorelinux.com/faq.html#pendrives

Also, in 2.1rc2, is a pendrive install script, which automatically sets up Tiny Core and uses UUID to ensure tce loading is from where it is excepted.
10+ Years Contributing to Linux Open Source Projects.