Files
Anthias/docs/create_disk_image.md
2017-12-13 18:23:46 +06:00

840 B

Screenly OSE Disk Image steps

  • Download the latest Rasbian Stretch Lite
  • Flash out the disk image to a 4GB SD card
  • Boot the system
  • Run sudo apt-get update && sudo apt-get -y upgrade
  • Run raspi-config and:
    • Set the keyboard to locale to en_US.UTF-8 UTF-8
    • Set the memory split to 192
  • Run the installer and install the production branch
  • Verify that everything works
  • Run apt-get clean
  • Run sudo wget -O /etc/init.d/resize2fs_once https://github.com/RPi-Distro/pi-gen/raw/dev/stage2/01-sys-tweaks/files/resize2fs_once
  • Run sudo chmod +x /etc/init.d/resize2fs_once
  • Run sudo systemctl enable resize2fs_once
  • Add init=/usr/lib/raspi-config/init_resize.sh in /boot/cmdline.txt
  • Shut down the system
  • Create the disk image