Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: hormel on July 22, 2012, 08:16:50 PM

Title: Install firefoxandfalsh.tcz on Live CD
Post by: hormel on July 22, 2012, 08:16:50 PM
I followed these instructions:
I can't post external links.  But I followed these instructions:

Quote
6. Installing Applications
Click on the desktop. When the menu pops up go to 'System Tools" and click on "AppBrowser".

When the AppBrowser pops up, look to the left of the "Go" button and make sure the dropdown box is set to "OnDemand". Look to the right of the "Go" button and where it says "TCE" make sure it points to your USB memory stick, usually "/mnt/sda1/tce/optional".

If your memory stick is not "sda1" then edit it with the correct location and click the Set button. Now click on the "Connect" button, select an application, click "Go", and your application will be installed.

Be sure to read the text under the "Info" tab; it may contain additional instructions to complete the install.

from the Quick and Easy Overview of the TC website this forum is associated with. 

The instructions in the linked above state that the install needs to be pointing at my USB stick.  I'm not using a USB stick though.  I'm not sure if that is affecting the install since this is a Live CD. 

By the way, I am a Linux noob ;D  Any help is appreciated.

Thanks!
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: Rich on July 22, 2012, 08:23:23 PM
Hi hormel
Those instructions are for a USB installation. What are you trying to do? Are you trying to install Tinycore to
a hard drive?
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: hormel on July 22, 2012, 08:51:27 PM
Sorry.  I think part of my original thread got cut before I posted it.  I'm trying to run TC from a live CD.  I don't have a hard drive, and my machine can not boot from a USB.  Ultimately I just want to use TC to browse the internet.  I went through the instructions I posted above in order to install firefoxandfalsh.tcz; however, it did not seem to work.

Let me know if you need more clarifications or additional information. 
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: Rich on July 22, 2012, 09:12:40 PM
Hi hormel
Unless you want to re-download your extensions every time you boot, I would recommend some sort of
persistent storage. The simplest way to go would be to plug in a USB thumb drive before booting the CD.
When you get to the boot prompt, enter   tc tce=sda1. You will only need to enter that code this one time.
This will cause Tinycore to create a directory for saving applications. Now you can use AppBrowser to
install your apps and they will be saved to your thumb drive. The next time you boot, Tinycore will find
you applications on the thumb drive and install them for you.
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: hormel on July 22, 2012, 10:36:11 PM
I will definitely use a USB to save the applications now that I know that is possible.  By the boot prompt do you mean the part when it gives about a dozen different TC options do boot from?

Also, will doing that fix my problem with installing?  I can't even get it to install temporarily for the current session.
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: coreplayer2 on July 22, 2012, 11:20:43 PM
I know this is probably wrong, but I've experimented with CDE instead of tce=sda1,  which iirc prevents the backup from running,  if that's what is needed.  On the plus side CDE doesn't require a label :D
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: hormel on July 22, 2012, 11:36:26 PM
Also, I tried booting TC from a different machine on a USB.  I made sure the install directory was the USB. It did the exact same thing as before. 

Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: thane on July 23, 2012, 12:38:55 AM
hormel, it looks to me like you might be using the CorePlus ISO. I'd suggest using the TinyCore ISO instead, burning it to CD. Try booting from the CD with a USB stick plugged in (as in Rich's instructions). This gives you (IIRC) four boot options. Use the second boot option (the one with waitusb=5). I think at that point like Rich said it'll create a tce directory on the USB stick for you. The apps application will install extensions (e.g. Firefox) there and when you shutdown TCL should save the mydata.tgz file (with your settings etc.) there too. After that when you boot (from the CD with the stick plugged in) pick the same boot option and TCL should find the tce directory and load your extensions and settings. Hope this works for you.

edit: Note that in this situation you're not actually installing to CD. The basic ISO is on CD but the extensions, settings, etc. are on the USB stick. If all you're trying to do is create a setup to browse the web this should work OK. There are ways to actually put extensions on CD but I've never done it. If you look at the various wikis and threads on remastering you can get an idea of what's involved in that.
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: Rich on July 23, 2012, 01:05:54 AM
Hi hormel
As thane pointed out, I neglected to mention using the  waitusb=  boot code. This is important to include,
otherwise your USB drive will not be seen. The corrected command is:
Code: [Select]
tc waitusb=5 tce=sda1That will set up a tce directory for your applications. The  tce=sda1  part is only required the first time.
The  tc waitusb=5  part is required every time you boot.
Quote
By the boot prompt do you mean the part when it gives about a dozen different TC options do boot from?
Yes, the screen with the  F2, F3, F4 options.
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: tinypoodle on July 23, 2012, 03:32:21 AM
Do you have a working internet connection?

You could test with something like "ping google.com"
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: hormel on July 23, 2012, 02:17:52 PM
these are the screen shots of the boot prompt.  The first is of the different TC boot options.  The 2nd is the info about the boot option I am choosing (Boot Core with X/GUE (TinyCore)+Wifi+Firmware).  The info is accessed by hitting F1.  However, if I hit Tab instead it brings me to a terminal/ command line.  Here I am able to type because it shows a flashing cursor.

It says:
/boot/vmlinuz initrd=/boot/core/gz quiet cd showapps lst=xfbase.lst base desk top=flwn_topside

Then it has a flashing underscore for me to type.   I can also delete all of this and type something new.  Is this where I type
Quote
tc waitusb=5 tce=sda1
?
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: hormel on July 23, 2012, 02:22:27 PM
The 2nd picture was too large for one post. Here is the 2nd pic containing the info about the boot option I choose.
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: Rich on July 23, 2012, 02:36:59 PM
Hi hormel
OK, now I see the problem. Hit TAB and then enter:
Code: [Select]
tc waitusb=5 tce=sda1
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: hormel on July 23, 2012, 04:11:56 PM
I tried typing
Code: [Select]
tc waitusb=5 tce=sda1
after

Code: [Select]
/boot/vmlinuz initrd=/boot/core/gz quiet cd showapps lst=xfbase.lst base desk top=flwn_topside
which is what pops up after tab is pressed.  I also tried deleting everything and only typing

Code: [Select]
tc waitusb=5 tce=sda1
Either way, the download had the same result result.  I will explain exactly what I do in order to download firefoxandflash.tcz.


I notice there is a splash screen right after the boot option is selected.  This splash screen will contain slightly different contents depending on whether or not I have my USB attached.  The first picture is with the USB attached.  The 2nd picture which I will include in a separate post is w/o a USB attached. 

@Thane.  I just now noticed your post. You are right.  I am using CorePlus.  I chose this because I read somewhere it comes with wifi connectivity which is essential for my purposes.  If I use TinyCore ISO will I be able to connect via wifi?

Sorry for the long post.  I am tired of writing it as much as you guys are reading it! ;D


Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: hormel on July 23, 2012, 04:12:45 PM
The 2nd picture.  This is the splash screen w/o the USB attached.
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: Rich on July 23, 2012, 09:33:53 PM
Hi hormel
A couple of things. I would stick with AppBrowsers default of  OnBoot. In the command line:
Code: [Select]
/boot/vmlinuz initrd=/boot/core/gz quiet cd showapps lst=xfbase.lst base desk top=flwn_topside you need to remove the word  base  , that's why your extension is not loading.
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: hormel on July 23, 2012, 11:26:38 PM
Ok, I tried a few different things.

First I tried to  run TC with only removing the word "base".  I only removed the word base that stood on its own. I did not remove base from lst=xfbase.lst.  From here I left the install directory, TCE:, as the default, /tmp/tce/optional, the app will download, but did not open.  It will say firefoxandflash.tcz OK  Same white icon with black X.  If I change it to /mnt/sdc1 by the 'set' option, the TCE directory reads
Quote
/mnt/sdc1/tce/optional
it will download, but it will say firefoxandflash.tcz Failed. 

The second thing I tried was removing base and adding tc waitusb=5 tce=sda1.  When I did this an interesting splash screen came up.  In it is said, "mdir: can't create directory "/tce/optional': No such file or directory Chown: /tce: No such file or directory"

That kind of makes me think it is not making the permanent app file on the USB.  I've included a shot of the splash screen.  Also, the GUI did not come up in this case.  Only a command line.
Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: thane on July 24, 2012, 01:39:49 AM
AFAIK the TinyCore ISO does require a wired internet connection (it doesn't include the extensions for wifi). You can download those extensions later if you can start up with wired internet, but if you need wifi immediately then yes, you need CorePlus. Sorry I don't have any experience working with wifi.

Just to see if you can get persistence working maybe you should try downloading a simpler extension like a game (e.g. ace_of_penguins or Spider_solitaire). And I'd even suggest trying to find a PC with wired internet to start with if you can. You're battling multiple issues here (wifi, persistence, and a pretty complicated set of extensions) and it might help to simplify things a little.

Title: Re: Install firefoxandfalsh.tcz on Live CD
Post by: Rich on July 24, 2012, 02:18:34 AM
Hi hormel
You're battling multiple issues here (wifi, persistence, and a pretty complicated set of extensions) and it might help to simplify things a little.
Agreed, time to simplify things.
1. Boot the CD.
2. Plug in the thumb drive.
3. Use the install utility to do an install to the thumb drive that includes the wireless extensions.
4. Burn a Tinycore CD.
5. With the thumb drive plugged in, boot the Tinycore CD.
6. When you get to the boot prompt (screen that says F2, F3, F4) enter   tc waitusb=5
7. Start AppBrowser and install  firefoxandfalsh.tcz