Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.
/ slim-aios Public archive

Optimised OS for the Raspberry Pi for creating and running containers ๐Ÿ‹

License

Notifications You must be signed in to change notification settings

flexiondotorg/slim-aios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Slim.AI OS

Optimised OS for the Raspberry Pi for creating and running containers ๐Ÿ‹. Based on Ubuntu, but not Ubuntu, includes "Just Enough OS", Docker Engine, DockerSlim and Dropbear.

This repository hosts downloadable images of Slim.AI OS and the script that builds Slim.AI OS images for Raspberry Pi devices.

Features

  • Optimized images for Raspberry Pi 2, 3, 4 and 400.
  • Based on Ubuntu, Docker Engine and DockerSlim
  • Supported Raspberry Pi models:
    • Raspberry Pi Compute Module 3 Lite
    • Raspberry Pi Compute Module 4 Lite
    • Raspberry Pi 2 Model B
    • Raspberry Pi 3 Model A+
    • Raspberry Pi 3 Model B
    • Raspberry Pi 3 Model B+
    • Raspberry Pi 4 Model B (Recommended)
    • Raspberry Pi 400
    • Raspberry Pi Zero 2 W
  • Boot from USB
  • Automatic first boot file system expansion

Downloads

Alpha images of Slim.AI OS are available for download from the GitHub releases.

Putting Slim.AI OS on a Raspberry Pi

  • Download Slim.AI OS
  • Use Raspberry Pi Imager to put the image on microSD card.
  • Select Use custom from the Operating System drop down
  • Select the target microSD card or USB drive.
  • Click Write

Building Images

  • Clone the Slim.AI OS project
    • git clone https://github.com/flexiondotorg/slim-aios.git

It is best to run the slim-aios-image on an Ubuntu 22.04 x86 64-bit workstation, ideally running in a VM via Quickemu. If using a fresh Quickemu VM you will need to set the disk_size parameter large enough to complete the build (around 26G). This can be achieved by adding disk_size="32G" to ubuntu-jammy.conf before running quickemu to create the VM. Alternatively you could mount external storage into the container for the build area. You'll also need to sudo apt install git.

The following incantation will build a Slim.AI OS arm64 image for Raspberry Pi. You can replace arm64 with armhf to build an image for 32-bit ARM.

sudo ./slim-aios-image --arch arm64

You can tweak some variables towards the bottom of the slim-aios-image script.

IMG_VER="22.04"
IMG_RELEASE="jammy"

What is the default username and password:

This is the default username and password for logging into Slim.AI OS via SSH or the desktop.

  • Username: slimdevops
  • Password: slimai

Kernel headers

If you need to build kernel modules you can install the kernel header for the Raspberry Pi kernel like so:

sudo apt-get install linux-headers-raspi

Reference

GPIO

As of Linux kernel 5.11, the old methods of communicating with the header pins on the Raspberry Pi will no longer work. This means that packages such as RPi.GPIO will no longer function properly with newer kernels.

About

Optimised OS for the Raspberry Pi for creating and running containers ๐Ÿ‹

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages