Hi
To upgrade via ssh, you'll need
unzip.tcz for
unzip and
util-linux.tcz for a more powerful
mount.
1. Download the latest piCore.zip
2. Extract it with unzip
3. Backup the config files in your boot partition (config.txt, cmdline.txt, cmdline3.txt)
4. Check disk image with fdisk
$ fdisk -l piCore-9.0.3.img
Disk piCore-9.0.3.img: 49 MB, 51380224 bytes, 100352 sectors
49 cylinders, 64 heads, 32 sectors/track
Units: cylinders of 2048 * 512 = 1048576 bytes
Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type
piCore-9.0.3.img1 4,0,1 37,63,32 8192 77823 69632 34.0M c Win95 FAT32 (LBA)
piCore-9.0.3.img2 38,0,1 48,63,32 77824 100351 22528 11.0M 83 Linux
Units: cylinders of 2048 * 512 = 1048576 bytes
Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type
piCore-9.0.3.img1 4,0,1 37,63,32 8192 77823 69632 34.0M c Win95 FAT32 (LBA)
5. Mount the first partition (mind the offset value)
mkdir /mnt/pi
sudo mount -o loop,ro,offset=$((512*8192)) piCore-9.0.3.img /mnt/pi
6. Replace all the files in your boot partition
7. Restore your config files
8. Upgrade the kernel modules manually (wireless-KERNEL.tcz ... etc.)
=> Just in case you loose your network connection after reboot
9. Reboot and run tce-update