Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: trembb22 on August 06, 2009, 12:29:17 AM

Title: how to make software installation persistent in the Fourth Mode of Operation?
Post by: trembb22 on August 06, 2009, 12:29:17 AM
I install firefox and/or samba on a working TC on a usb stick using syslinux local=sda, I am trying to have software installation persistence, it didn't work, after rebooting TC, there is no firefox anymore. So the local=sda boot parameter do nothing. Help!
I dont want to put anything under tce because it's too long to have to reinstall the software at each boot. I want to install software one time and have it there after a reboot of TC. So I am trying to use the fourth mode of operation using syslinux boot loader.
thanks for your help
Benoit
Title: Re: how to make software installation persistent in the Fourth Mode of Operation?
Post by: junan on August 06, 2009, 12:55:49 AM
local = sdaX , X for 1,2,3,...
i'm using local=hda2. persistant installation only works for PPI compatible extension. you can know it by check the file list , if all files under /usr/local/ then it's PPI compatible.
Title: Re: how to make software installation persistent in the Fourth Mode of Operation?
Post by: roberts on August 06, 2009, 01:03:58 AM
If you are using a pendrive, you will also need the boot code of waitusb=5 to allow time for slow flash devices to register.
Title: Re: how to make software installation persistent in the Fourth Mode of Operation
Post by: trembb22 on August 06, 2009, 10:48:02 AM
Here is my syslinux.cfg:
-------------
display boot.msg
default tinycore
label tinycore
        kernel /boot/bzImage
        append initrd=/boot/tinycore.gz quiet local=sda1

implicit 0
prompt 1
timeout 30
F1 boot.msg
F2 f2
F3 f3
---------------

so, firefox and samba isn't ppi compatible because it didn't work!
maybe I put local=sda1 at wrong place.
thanks for your help
Benoit
Title: Re: how to make software installation persistent in the Fourth Mode of Operation
Post by: trembb22 on August 06, 2009, 11:18:48 AM
Well, I added waitusb=5 and installed samba TCZ than I installed firefox TCE and firefox was there after a reboot. I understand that samba is linked to a TCZ file, but firefox isn't linked to a tcz file, it is under /usr/local, maybe I needed to install one TCZ file to have /usr/local persistant.

is there a way to remove all TCZ link for samba I installed that way, I would like to reinstall it under /usr/local persistant

thanks for your help

Benoit