Tiny Core Linux
Tiny Core Extensions => TCE Corepure64 => Topic started by: kultex on August 07, 2023, 09:48:11 AM
-
I did not use Tiny Core for a long time and have to renew my audio servers I use for exhibitions. SliTaz linux, which I used on the old ones is as good as dead.....
I have bought a couple of Dell Wyse 3040, which will replace the Fujitso Futro A 250. The Wyse 3040 is a real bastard booting linux. There is a guide, which I followed https://www.parkytowers.me.uk/thin/wyse/3040/linux.shtml
I used MX-Linux instead of Puppy - and it boots up fine - I can connect to the net ( I can ping google) - here my grub2 entry
menuentry "Tiny Core 64-bit" {
linux /tceboot/vmlinuz64 loglevel=3 tce=UUID="60ea2da8-76da-4594-9bf3-a3314bfbd0a8"/tce64 waitusb=10:UUID="60ea2da8-76da-4594-9bf3-a3314bfbd0a8" kmap=qwerty/uk vga=791 video=vesafb:ywrap,mtrr:3
initrd /tceboot/corepure64.gz /tceboot/modules64.gz
}
But I am stuck with the App Browser: I cannot choose the mirror, the App-Browser says no internet and it cannot write to the directory. So its clear, that it is a permisson problem
I chowned the whole /tce64 directory to tc:staff - checked all permissons in /home + /tmp
I put netsurf in /tce64/optional - its not available
I have no idea, what I did wrong?
-
Could be it didn't find the partition, or it's not a Linux filesystem, or many other things.
First check where the dir points to:
ls -l /etc/sysconfig/tcedir
-
tc@box:ls -l /etc/sysconfig/tcedir
lrwxrwrwx 1 root root 15 Aug 7 14:52 /etc/sysconfig/tcedir -> /mnt/sda1/tce64/
EDIT: all files in /mnt/sda1/tce64/optional have
-r--rw-r-- 1 tc staff
and its definitly EXT4
-
Hi kultex
... here my grub2 entry
menuentry "Tiny Core 64-bit" {
linux /tceboot/vmlinuz64 loglevel=3 tce=UUID="60ea2da8-76da-4594-9bf3-a3314bfbd0a8"/tce64 waitusb=10:UUID="60ea2da8-76da-4594-9bf3-a3314bfbd0a8" kmap=qwerty/uk vga=791 video=vesafb:ywrap,mtrr:3
initrd /tceboot/corepure64.gz /tceboot/modules64.gz}
...
Whether it's causing a problem, I don't know, but your initrd line has an error.
corepure64.gz already contains modules64.gz, so there's no reason to include it.
... But I am stuck with the App Browser: I cannot choose the mirror, the App-Browser says no internet and it cannot write to the directory. So its clear, that it is a permisson problem ...
Is it? I called up App Browser with internet disconnected and got this pop-up:
(https://forum.tinycorelinux.net/index.php?action=dlattach;topic=26356.0;attach=6611)
I think you need to get your internet connection working first.
Is your network connection wired? Wireless? Do you need drivers?
Post the results of this command:
dmesg | grep -E "eth|net|\.bin|firm"
The vertical lines in the command are pipe symbols. They can be found on the \ key.
-
Hi Rich,
I think, I checked the internet connection with ping 8.8.8.8 and got no package loss - so I thought, it works. The 3040 has wired connection with eth0 - I will check your command as soon as I am home
I booted first without modules64.gz - it was the same.....
----------------------------------------------------------
I checked /usr/bin and there the permission for most apps are lrwxrwxrwx - means CHMOD 777
only some files like backup have -rwxr-xr-x - means CHMOD 755
I think, the problem comes from paste the files to the usb drive usind Mx-Linux. I searched in the wiki docu about the permissions, but did not find anything
-
Hi kultex
This is how I bring up my wired connection:
tc@E310:~$ cat /opt/eth0.sh
#!/bin/sh
pkill udhcpc
ifconfig eth0 192.168.1.35 netmask 255.255.255.0 broadcast 192.168.1.255 up
route add default gw 192.168.1.1
echo nameserver 192.168.1.1 > /etc/resolv.conf
echo nameserver 68.237.161.12 >> /etc/resolv.conf
It's a script that's in /opt and gets called by /opt/bootlocal.sh
Modify the IP addresses to suit your needs if you decide to use this.
-
@Rich dmesg is not available, so I cannot run your command - I used the Network button from ControlPanel and checked there Use DHCP
and ifconfig gives me for eth0 the addr 192.168.179.69 - so I am connected to the Internet
-
Hi kultex
@Rich dmesg is not available, ...
Then something is wrong. dmesg is part of busybox and always present
in /bin.
... so I am connected to the Internet
Confirm that this command fetches the list file:
wget http://tinycorelinux.net/14.x/x86_64/tcz/grabber.tcz.list
-
I set the permisson from the whole tce64 folder to
root:root and CHMOD 777 and everything works fine including dmesg / I am writing from midori....
I have no idea if CHMOD 777 for all files in the tce directory is a good idea or intended, but maybe I have to setup another legacy machine to find out the correct permissions....
-
Hi kultex
I just checked my /tce directory and everything is tc:staff
with permissions set to 664 or 644.
-
I have seen some files being wrong because of running tce commands with sudo.
That you should not do in tc. Like another Linux dists.
-
@Rich - THX for your help - can you please mark the thread as solved....
I am happy that it works now and I can continue, whenever I have time - I will write a wiki artikle for this case, but this will take time - guess in November, because tonns of work are waiting....
@patrikg I know, but I just messed around, to get the system running, because I had no idea, whats wrong..... of course I will start from the beginning
-
Hi kultex
@Rich - THX for your help - can you please mark the thread as solved ...
Done. :)