Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: andfree on March 28, 2016, 12:59:52 AM
-
Hi. I booted Tiny-Core from a live usb flash drive. How to install it to the internal hard drive of the laptop? Thanks.
-
Hi,
have you tried the tc-install.tcz extension?
-
Thanks for answer. I run Apps, ask to find the fastest mirror and get the message:
Couldn't load mirror list. Maybe network issue?
-
I believe the repo is down
If you already downloaded the mirrors extension, you can choose another site...
-
or, in the meantime, you can do this:
$ echo 'http://distro.ibiblio.org/tinycorelinux/' > /opt/tcemirror
..then things should work.
-
Thanks, it worked. But after the installation, I rebooted to hard drive and there's a black display with this:
tc@box:~$
-
Which probably means you don't have an X server and window manager listed "onboot".
Try this: $ tce-load -i Xvesa Xprogs flwm aterm wbar
-
Xvesa.tcz not found!
-
..so it looks like your extensions were not saved on your hd install or it cannot find them.
You can download and save them again with "tce-load -iw..." as long as you have a network connection.
-
The exact command? It gives me some "Example usage" but I can't find the correct one.
-
Hi andfree
Try:
tce-load -iw Xvesa Xprogs flwm aterm wbar
-
Ah, the previous command with "-iw" instead of "-i".Sorry.
wget: can't connect to remote host (89.22.99.37): Connection refused
md5sum: Xvesa.tcz.md5.txt: No such file or directory
Error on Xvesa.tcz
-
See reply #3 and #4.
-
I' ve already followed reply #4, as I said at reply #5.
-
[...] I rebooted to hard drive [...]
[ "$(cat /opt/tcemirror)" == "http://repo.tinycorelinux.net/" ] && echo 'http://distro.ibiblio.org/tinycorelinux/' > /opt/tcemirror
-
This confused me a little, but I think I did it.
I ran:
$(cat /opt/tcemirror)
and:
$echo 'http://distro.ibiblio.org/tinycorelinux/' > /opt/tcemirror
Finally I rebooted and everything seems ok. Thanks a lot.
Now I should update the system? How to do it?
-
First check if you have the latest version by using the command "version" - it should be 7.0
-
Yes, it's 7.0.
I suppose I found it about updates: Apps => Maintenance => Check for Updates. But I don't see anything to install.
Is there any internet browser installed or I should install one?
-
Then everything is up to date.
I'd recommend firefox_getLatest.tcz which contains a script that downloads and packages the latest Firefrox from Mozilla.
-
I suppose I downloaded it (Apps => Cloud => Browse to firefox_getLatest.tcz and click "Go").
But I try to run it without success.
-
The extension should create an entry in the window managers right-click menu.
Otherwise run
firefox_getLatest.sh
-
You 're right about right-click menu. I installed it. But how to open the browser now?
-
After the script has been run and successfully created the firefox.tcz extension, load that (if it didn't automatically) by running
tce-load -i firefox
which creates an icon in wbar and another right-click menu entry.
-
I believe the repo is down
If you already downloaded the mirrors extension, you can choose another site...
Http server restarted, main repo must work.
-
I installed it, but when I click on firefox at right-click menu, nothing happens.
-
Run firefox in a terminal window to check if you get any error messages.
-
I rebooted and now firefox doesn't seem to be installed.
-
I thought firefox_getLatest.sh would automatically set firefox.tcz to be loaded OnBoot.
Otherwise you can do so via Apps -> Maintenance -> OnBoot Maintenance.
Or maybe your installation is running in cloud mode where extensions are stored in RAM and lost after reboot.
Is the extension still preset in your tce directory (i.e. /etc/sysconfig/tcedir/optional/firefox.tcz)?
-
I thought firefox_getLatest.sh would automatically set firefox.tcz to be loaded OnBoot.
Otherwise you can do so via Apps -> Maintenance -> OnBoot Maintenance.
It's already at the list there.
Or maybe your installation is running in cloud mode where extensions are stored in RAM and lost after reboot.
Is the extension still preset in your tce directory (i.e. /etc/sysconfig/tcedir/optional/firefox.tcz)?
How to see it? I don't find any filesystem-browser installed.
-
In a terminal,
to check if the extension exists, run
ls /etc/sysconfig/tcedir/optional/firefox.tcz
to check where your extensions are actually stored, run
readlink /etc/sysconfig/tcedir
Should not be /tmp/tce .
-
$ ls /etc/sysconfig/tcedir/optional/firefox.tcz
/etc/sysconfig/tcedir/optional/firefox.tcz
$ readlink /etc/sysconfig/tcedir
/mnt/sda1/tce
-
So, firefox.tcz is listed in /etc/sysconfig/tcedir/onboot.lst but won't get loaded?
If so, make sure the last line in onboot.lst is an empty line.
Why Firefox won't start I don't know. Need more info.
Try things in a terminal window and check if you get any error messages.
-
So, firefox.tcz is listed in /etc/sysconfig/tcedir/onboot.lst but won't get loaded?
If so, make sure the last line in onboot.lst is an empty line.
Yes, it is.
Why Firefox won't start I don't know. Need more info.
Try things in a terminal window and check if you get any error messages.
$ firefox
sh: firefox: not found
-
O.o
The extension is really loaded?
ls /usr/local/tce.installed/firefox
If so, maybe firefox_getLatest failed at creating the extension properly, which I doubt though.
Anyway, maybe it helps to run firefox_getLatest.sh again and reboot.
-
tc@box:~$ ls /usr/local/tce.installed/firefox
ls: cannot access /usr/local/tce.installed/firefox: No such file or directory
-
Today I ran again:
firefox_getLatest.sh
tce-load -i firefox
This time, an icon in wbar and a right-click menu entry were created. But when I click the firefox icon or the firefox at menu, nothing happens.
-
I rebooted and both icon & menu entry have gone again.
-
tc@box:~$ tce-load -i firefox
/usr/local/tce.installed/firefox: line 3: dbus-uuidgen: not found
firefox.tcz: OK
-
dbus.tcz is missing.
Run
cat /etc/sysconfig/tcedir/optional/firefox.tcz.dep
It should be
gtk2.tcz
libasound.tcz
dbus-glib.tcz
hicolor-icon-theme.tcz
cairo.tcz
gamin.tcz
Otherwise create that file, and/or use tce-load -w to download missing dependencies.
I wonder if the fact that the main repo was down caused the script to do something wrong.
-
It should be
gtk2.tcz
libasound.tcz
dbus-glib.tcz
hicolor-icon-theme.tcz
cairo.tcz
gamin.tcz
It is.
I wonder if the fact that the main repo was down caused the script to do something wrong.
I also tried to install kmaps.tcz and I had similar problems: I find it at onboot list, a right-click menu entry was created, but it seemed to be dead. After reboot, this entry has gone.
On the other hand, it seems that I have successfully installed opera (a browser was needed), rox-filer, spacefm. They don't disappear after reboot.
-
You'll need to install via "OnBoot" before selecting "Go" then select item from desktop menu
(https://db.tt/ZqaYpsbt)
It's not that items disappear, you'll need to add firefox to OnBoot List APPS > Maintenance > "OnBoot Maintenance" (including other applications which don't automatically add items to OnBoot list) for it load and to show up on reboot
-
Sometimes folks like to download extensions manually, I am not sure whether because of preference or the lack of APPS familiarity? but the result is often missing deps. The way to resolve these issues is to open APPS; then select from
Apps > Maintenance > Dependencies and Deletions, then
Dependencies > "Build Reporting Database"
Dependencies > "Update .dep files"
Dependencies > "Fetch Missing Dependencies"
Dependencies > "Exit Dependency Check"
Apps "Quit"
(Note: helps if you perform the steps in the above order)
-
I thought firefox_getLatest.sh would automatically set firefox.tcz to be loaded OnBoot.
Otherwise you can do so via Apps -> Maintenance -> OnBoot Maintenance.
It's already at the list there.
I was wrong on this. firefox_getLatest.tcz was there. firefox.tcz was not there. Sorry. I added it now via Apps -> Maintenance -> OnBoot Maintenance. Then I did this:
Apps > Maintenance > Dependencies and Deletions, then
Dependencies > "Build Reporting Database"
Dependencies > "Update .dep files"
Dependencies > "Fetch Missing Dependencies"
Dependencies > "Exit Dependency Check"
Apps "Quit"
This fixed the dbus.tcz issue.
Next this:
$ tce-load -i firefox
Finally rebooted and now everything is OK. Thank you all.
But still haven't found how to get kmaps.tcz work.
-
Great, you got that glitch sorted out, it's possible that you attempted to install applications during the minor repo outage .? Sorry, Hate that :p
You'll find tinycore is easy to resolve issues like this, it's just a question of a little patience.
I think a kmaps tutorial is in the FAQ at the top of this web site however I also suggest "The TinyCore Book" which is useful to have nearby when new to tc
Good luck
Sent from my iPad using Tapatalk HD