Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: schober on April 17, 2018, 11:23:07 AM
-
I have been using tcl v9.0 on a cd in cloud mode on a 20y old computer (Pentium1 166mhz & 64mb ram & hd with linux partition). The App browser has worked fine. However when I tried to make it download fluff.tcz to the hd (Appbrowser set to /mnt/sda5/tce) I met with "fail to download" message. Tce has optional & ondemand directories and they contain fluff.tcz & md5 files; however they are empty! (0 bytes). Trying to download again gives "Error check network, mirror, writable extension directory". Ping works ok, so not a network issue. File /opt/tcemirror contains http://repo.tinycorelinux.net/. I don't understand the "writable" bit.
I tried using tce-load -wo fluff.tcz. This gave several errors.
/etc/sysconfig/tcedir/ondemand/fluff - can't create - no space on device
md5 no checksum found
wget - write error no space left
From control panel
memory total 57mb, free 7mb, available 1mb
So, there's enough memory surely? (I've downloaded fluff.tcz in cloud mode with no problems)
My aim is to keep the tcl os on cd and use the hard disc to store frequently used apps etc
How can I get tcl to store stuff in the /mnt/sda5/tce folder?
-
I have been using tcl v9.0 on a cd in cloud mode
...
I don't understand the "writable" bit.
...
How can I get tcl to store stuff in the /mnt/sda5/tce folder?
Try
sudo chown -R root:staff /mnt/sda5/tce
sudo chmod -R 775 /mnt/sda5/tce
Remove the old downloaded files and try again.
rm -f /mnt/sda5/tce/optional/*
tce-load -wil fluff.tcz
/etc/sysconfig/tcedir/ondemand/fluff - can't create - no space on device
What's your output of the following command ?
df /dev/sda5
-
Well, I feel a right Charlie!
Ran tc@box:~$ df /dev/sda5 which gave
Filesystem Size Used Available Use% Mounted on
/dev/sda5 12.9G 12.4G 0 100% /mnt/sda5
Decided to delete a few big files & repeated df to give
Filesystem Size Used Available Use% Mounted on
/dev/sda5 12.9G 11.8G 425.5M 97% /mnt/sda5
and guess what? tce-load -wil fluff.tcz worked!
Conclusion ... tcl regarded the disc as full even though 500mb were unused ( the origonal hd was only 2gb!)
Anyway, many thanks Polikuo for pointing me in the direction of the obvious
Schober
-
Hi schober
... Conclusion ... tcl regarded the disc as full even though 500mb were unused ( the origonal hd was only 2gb!) ...
Some of the space is reserved for system use. Here's the output on my machine:
tc@box:~$ df /dev/sda1
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 97G 1.2G 91G 2% /mnt/sda1
tc@box:~$ df /dev/sda3
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 9.7G 6.2G 3.0G 68% /opt
tc@box:~$ df /dev/sda5
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 9.6G 1.2G 8.0G 13% /mnt/sda5
tc@box:~$ df /dev/sda6
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 9.6G 6.0G 3.2G 66% /mnt/sda6
tc@box:~$