These are the steps taken to setup piCore 14 on a Raspberry Pi with only Wi-Fi (no ethernet)
Newer version might work as well (or maybe even better), but have not been tested.
- Download the piCore image
- Unpack the
.zipfile and write the.imgfile to the SD-Card (using Raspberry Pi Imager for example) - Move the SD-Card to the Pi, plug in a keyboard and a screen, plug in the power source
- Execute
backupshell command after the first boot to save generated unique SSH keys which will be used during next boots. - Expand the partition:
- Start the partition tool:
sudo fdisk -u /dev/mmcblk0 - List partitions with
pcommand and write down the StartLBA of the second partition - Delete second partition with
dthan recreate it withncommand
SelectpforPrimary Partitionand2forPartition Number
Use the same starting sector as deleted had and use the default value forLast Cylinder
Exit fdisk withwcommand - Reboot the Pi:
sudo reboot - After reboot expand the partition:
sudo resize2fs /dev/mmcblk0p2(may take a while)
- Start the partition tool:
- Run
uname -rmto get your kernel version and architecture, write this down - Shut down the Pi and move the SD-Card back to the pc
- Download needed extensions to the
bootpartition of the SD-Card from http://tinycorelinux.net/14.x/armv6/tcz/
Make sure the architecture matches with the output of step 6
Append the filename to get the full url:firmware-rpi-wifi.tczwifi.tczwireless_tools.tczwireless-5.4.51-piCore.tcz<-- make sure this matches with the kernel version of step 6wpa_supplicant.tczlibnl.tczreadline.tczncurses.tcz
- Move the SD-Card to the Pi again and have it boot
- Mount the boot partition:
mount /mnt/mmcblk0p1 - Move extension:
mv /mnt/mmcblk0p1/*.tcz /mnt/mmvblk0p2/tce/optional/ - Install extensions:
tce-load -i /mnt/mmvblk0p2/tce/optional/*.tcz - Add extensions to
/mnt/mmcblk0p2/tce/onboot.lst:firmware-rpi-wifi.tczwifi.tcz
- Generate the checksums and download the dep files:
for F in /mnt/mmvblk0p2/tce/optional/*.tcz; do md5sum $F > ${F}.md5.txt done tce-audit updatedeps tce-update - Configure wifi:
sudo wifi.sh - To connect Wi-Fi at boot, add
wifi.sh -a &> /home/tc/wifi.log &to/opt/bootlocal.sh - Save changes:
backup