Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: quicksilver on February 11, 2010, 04:17:51 AM

Title: Tinycore on USB stick - applications on reboot
Post by: quicksilver on February 11, 2010, 04:17:51 AM
Hello

I have got a Problem. I had installed tinycore on my Usb Stick with unetbootin and it works very fine. But now my question. I want to install some Packages and want that these Packages already installed on the next Reboot. Is there any way to do this with the USB Stick?

Thanks for Help
Title: Re: Tinycore on USB stick - applications on reboot
Post by: bmarkus on February 11, 2010, 04:21:27 AM
Create a directory 'tce' in the root of the USB stick and reboot. TC will use automatically it to store extensions (applications) downloaded/installed with Appbrowser or tce-load
Title: Re: Tinycore on USB stick - applications on reboot
Post by: quicksilver on February 11, 2010, 06:24:29 AM
Thanks for the fast reply.  Where i had to create the Folder? In the Booted Tinycore System? and where can i find the Root? where is the USB Drive mounted? Or can i create the folder in my Windows System? And get the Applications automaticly installed?
Title: Re: Tinycore on USB stick - applications on reboot
Post by: bmarkus on February 11, 2010, 06:48:41 AM
Create tce directory in the root of the partition where TC installed - same where you have boot dir. If you are using WINDOWS and UNETBOOTIN, you can use WINDOWS tools to create it.

TC will store downloaded applications in this folder and use during next boot.
Title: Re: Tinycore on USB stick - applications on reboot
Post by: quicksilver on February 11, 2010, 07:11:02 AM
I tried it, but it doesn seems to work :( . I had create the folder. Boot, install e.g. Firefox. Reboot but after the Reboot Firefox wasn there :(  this is my usb stick strukture:
Code: [Select]
ubnkern
ubninit
boot
ubnpathl.txt
ubnfilel.txt
syslinux.cfg
vesamenu.c32
tce
dir.bat
list.txt
Title: Re: Tinycore on USB stick - applications on reboot
Post by: bmarkus on February 11, 2010, 08:27:36 AM
Did you add 'tinycore waitusb=5' boot option? In most cases it is required to get USB stick recognized.
Title: Re: Tinycore on USB stick - applications on reboot
Post by: quicksilver on February 11, 2010, 08:48:09 AM
no where i had to add this? syslinux.cfg ? i've tested it. But Firefox was not there after a Reboot :( :(
Title: Re: Tinycore on USB stick - applications on reboot
Post by: bmarkus on February 11, 2010, 09:06:23 AM
If installed with UNETBOOTIN, edit syslinux.cfg:

Quote
.......
.......
label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit quiet max_loop=255 tinycore waitusb=5
.......
.......

While waitusb=5 is enough in most cases, higher value, 10-12 may be required.

When system is running

Quote
cat /etc/sysconfig/tce.mount

will display used tce directory. If it is /tmp/.... stick is not recognized. If yes, it is /mnt/sda1/tce or similar, depending on your hw config.
Title: Re: Tinycore on USB stick - applications on reboot
Post by: quicksilver on February 11, 2010, 09:36:27 AM
NOW it WORKS :) THANKS :) very very Nice :)