OK guys, finally made it :-)
The tip from Gavin did the trick and got it all sorted out. Just 1 minor change to use the bootlocal.sh instead of bootsync.sh.
I used the piCore 7.1beta3 as suggested by Béla.
Thanks a million everybody for this great piCore team and forum support!
These were my notes in the final installation process, might be interesting for dummies like me to get it running:
Installation process makoserver on the piCore distro (PI1)hardware:
- SD card Scandisk 32Gb 30MB/s
- Raspberrypi 1
- a mac
on my MAC:
Download the latest image from
http://tinycorelinux.net/7.x/armv6/releases/RPi/format the SD card (FAT) note the disknumber found in menu:mac/about this mac: system report/USB; for me it was disk1 (not rdisk1)
In diskutility: unmount the SD card
in a terminal window:
sudo dd if=piCore-x.x.img of=/dev/NAME_OF_SDCARD && sync
Eject the card.
insert the sd card in the pi; open a terminal on the mac:
ssh tc@IP_ADDRESS
to start a ssh session with the PI. IP address is the one form the raspberry pi, use lanscan on mac or fing on iphone to find the IP.
Every reboot i did get a warning (man in the middle attack) due to the mac's security settings and had to remove the IP and key from
vi /Users/USER_NAME/.ssh/known_hosts
select the line showing the PI's IP address and press "dd" then ":wq"
enter the passw piCore when asked.
Now follow the steps 1-4 found in the
readme file that came along with the piCore img downloaded, chapter
SD card partitioning to partition and resize the workable storage.
after the reboot, make an ssh connection to the PI. Installing now the makoserver, instructions from
https://makoserver.net/download/raspberry-pi/cd home/tc/
wget http://makoserver.net/download/mako.raspberrypi.tar.gz
Unzip by running the command
tar xvzf mako.raspberrypi.tar.gz
and remove the gz file after unzipping:
rm mako.raspberrypi.tar.gz
you'll end up with these files:
LICENSE.txt README.txt mako mako.zip rundemo.sh tutorial/
I created a folder on partition2 to store the webpages:
mkdir /mnt/mmcblk0p2/SITE
Now it's time to make the makoserver to start on reboot: (thank you Gaving)
vi /opt/bootlocal.sh
and add this line:
/home/tc/mako -l::/mnt/mmcblk0p2/SITE
below:
# ------ Put other system startup commands below this line
note i didn't add it to the bootsync.sh since it would start and wait untill done, breaking the command "sudo reboot" and also locking (you can type text but no action) the local keyboard connected to the PI.
last step to make sure we save the changes for booting:
filetool.sh -b
showing => Backing up files to /mnt/mmcblk0p2/tce/mydata.tgz
Reboot the device
sudo reboot
To test the server, i created a file in the SITE folder "index.lsp" containing hello world:
vi /mnt/mmcblk0p2/SITE/index.lsp
type "i" to insert the text "hello world" + ESC + ":wq" to save and quit.
Navigating form the mac to the IP of PI should show you the hello world page.
Thanks for everybody (speccially Gavin) for the instructive posts. It has been a steep learning curve to me :-) haha