Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: floppy on January 05, 2011, 04:34:27 PM

Title: (solved) Quick way for erasing all extensions?
Post by: floppy on January 05, 2011, 04:34:27 PM
Hello,
yesterday, I was re-installing antiX in parallel to TCL 3.4.1 on my poor man pc (I am experimenting).
Then, the recognized boot place of TCL changed from hdb2 to hbd1 (on the hda is antiX). Dont ask why - before, I had only hdb2 and hdb3 and swap-hdb4 on that HDD since i deleted swap from hdb1-.. I should probably have used the UUID boot option.
By tring to boot into TCL, all extensions "on-boot" were "gone" or in other words the booting indicated errors during extension loading.
So, I tried to delete the on-boot extensions (mark them... reboot etc.), for re-loading them in the hope they would be again present.
But I had still issues. They disappear from the on-boot menu.. in extension-apps..
So, after spending 1hour (I have a mathusalem pc), I decided to erase all extensions. This was not so easy: CUPS was reluctant to be deleted and accepted to be deleted like "last man standing".
After all "on-boot" and "on-demand"were deleted, I loaded again the extensions  wanted. This was quick.
TCL is running now.

Question: is there any possibility to delete ALL extensions in a very quick way?  rm /home/tce/*.*   ?

It would be great to know it. For the next time.. when extensions get corrupted with newcomers playing with GPARTED on HDDs.
Title: Re: Quick way for erasing all extensions?
Post by: jur on January 05, 2011, 05:16:35 PM
Delete everything in /tce/optional.
Title: Re: Quick way for erasing all extensions?
Post by: tinypoodle on January 05, 2011, 06:40:51 PM
after booting with param 'base'
Title: Re: Quick way for erasing all extensions?
Post by: Jason W on January 05, 2011, 06:43:30 PM
and don't forget to delete tce/onboot.lst after deleting all the extensions.
Title: Re: Quick way for erasing all extensions?
Post by: gerald_clark on January 05, 2011, 06:58:54 PM
and the ondemand directory.
Title: Re: Quick way for erasing all extensions?
Post by: hiro on January 05, 2011, 09:30:18 PM
heh, nice teamwork.

Quote
after booting with param 'base'
What if I don't?
Title: Re: Quick way for erasing all extensions?
Post by: curaga on January 06, 2011, 09:45:42 AM
Quote
after booting with param 'base'
What if I don't?

You get undefined behavior. Everything may work just fine, or it may kill your kitten.