WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Newbie first comments on installing piCore-8.0  (Read 2370 times)

Offline TimJ

  • Jr. Member
  • **
  • Posts: 57
Newbie first comments on installing piCore-8.0
« 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

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Newbie first comments on installing piCore-8.0
« Reply #1 on: November 25, 2016, 07:36:25 AM »
Thanks Tim I will check the image.

Welcome on board.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Newbie first comments on installing piCore-8.0
« Reply #2 on: November 25, 2016, 02:31:33 PM »

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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline TimJ

  • Jr. Member
  • **
  • Posts: 57
Re: Newbie first comments on installing piCore-8.0
« Reply #3 on: November 26, 2016, 10:49:38 AM »
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.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1261
Re: Newbie first comments on installing piCore-8.0
« Reply #4 on: November 26, 2016, 11:14:43 AM »
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.

Offline TimJ

  • Jr. Member
  • **
  • Posts: 57
Re: Newbie first comments on installing piCore-8.0
« Reply #5 on: November 26, 2016, 12:39:48 PM »

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