Tiny Core Linux

  • Very lightweight
  • Semi-mutable, in the sense that, the packages are loaded every time, and persistence is acheived via filetools.sh, that archives selected files into mydata.tcz. In doing so, each time after reboot, the filesystem is fresh, except the ones that are mounted to the disk partitions.
  • Packages are loaded mainly via tce-load or /opt/bootlocal.sh, the philosiphy of TCE is to load only the necessary things, hence the boot time is minimalized. There is no systemd or srun by default.

Installing on GPD Pocket 2

  • TCE provides convenice installer image, but we have to use the CorePure64 variant.
  • tc-install script can install the distro image, but installs a BIOS bootloader, which is not suitable for GPD Pocket 2 (that is UEFI only).

Dependencies (Use tce-fetch.sh or FetchExt.sh)

# Linux Kernels
bluetooth-6.18.35-tinycore64
wireless-6.18.35-tinycore64

# Intel wifi firmware
wireless-regdb
firnware-iwlwifi

# Wifi manager deps
iw
wifi-manager

# Installer script
tc-install
grub2-multi

Partition table

PartitionDeviceSizeFilesystemPurpose
p1/dev/mmcblk0p1512 MBFAT32ESP — bootloader (EFI/BOOT/BOOTX64.EFI, boot/grub/)
p2/dev/mmcblk0p2—swapSwap space
p3/dev/mmcblk0p3rest of eMMCext4tce/boot/vmlinuz64, tce/boot/corepure64.gz, tce/mydata.tgz, tce/optional/, tce/onboot.lst

GRUB2 Config

set timeout=1
search --no-floppy --fs-uuid --set=root <block-uuid>

menuentry "TinyCoreLinux" {
	linux /tce/boot/vmlinuz64 quiet syslog showapps fbcon=rotate:1 waitusb=10:UUID="<block-uuid>" tce=UUID="<block-uuid>" opt=UUID="<block-uuid>" home=UUID="<block-uuid>"
	initrd= /tce/boot/corepure64.gz
}

Remarks:

  • Replace <block-uuid> with the output from blkid <root partition>
  • Paste the exact path to vmlinuz64 and corepure64.gz in root partition (if not, GRUB cannot find them). They are installed by tc-install