Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: TimJ on November 25, 2016, 06:59:49 AM
-
Hello ,I am new to PiCore so please forgive me if I am doing something wrong.
Firstly let me say that it is a really great system, excellent for standalone embedded hardware. Many thanks to all involved in putting it together.
I will just report a few minor teething problems I have encountered running on an old Pi model B+.
I downloaded and installed piCore-8.0.img and it boots just fine with no apparent errors.
To get to know and understand the system I edited the boot flags and removed quiet, added showapps and pause. Rebooting now gives an error while loading gcc_libs "mount: bad option, bad superblock on /dev/loop12, missing codepage, or helper program, or other error."
I found that the md5 for gcc_libs.tcz was incorrect. I redownloaded piCore-8.0.img checked the md5, and wrote to anther SDCard using Win32DiskImager, but the same issue was there. I fixed it by deleting gcc_libs* and using tce-load to reinstall it.
_________________________________________________
I next touched copy2fs.flg and rebooted. It now gives an error for each package
"package rm: applet not found"
I have tracked this down to tce-bootload line 133 "os.system(sudo busybox.suid rm -r -f......". My fix has been to just remove ".suid" and remastered the core.gz. However I am not sure on the correct use of the SUID bit and is it needed after sudo so may have messed this up.
Anyway I now get a clean boot without any error messages.
_________________________________________________
I notice that during each boot considerable time (>20secs) is taken rebuilding the rsa keys, immediately followed by a restore and overwrites them.
Would it be better if new keys were rebuild only if norestore is specified or the backup file does not exist? But I am not sure that my sh skills are good enough.
_________________________________________________
My next task will be to install and setup Samba, I am not clear what the recommended way to start daemons, do I just add a line to bootlocal.sh?
_________________________________________________
Anyway an impressive system. Thanks.
Tim
-
Thanks Tim I will check the image.
Welcome on board.
-
I notice that during each boot considerable time (>20secs) is taken rebuilding the rsa keys, immediately followed by a restore and overwrites them.
openssh.tcz updated in the repo, please update.
-
Very many thanks for the very fast response.
That has certainly speeded up the boot time. However does it rebuild the keys on a new install?
I think that I have achieved my objective that is to just use the keys if they have been restored from mydata.tgz, but if not generate them.
I think using tce.installed/openssh and /opt/bootsync.sh I have achieved that.
Tim.
-
no need to do that, openssh has been updated to do that for you.
Bela, I tested the latest openssh everyway I can think of, and it works fine now.
-
Apologies and many thanks for your patience and help.
I have just done a clean start on a new card and with the new openssh all works fine.
All part of the learning curve...
Tim