These installation instructions assume you are using the DietPi operating system, and an MHS35 3.5" TFT LCD screen (hereafter called the MHS35) or an official 7" touchscreen.
Please read these instructions in their entirety before attempting to install. Familiarity with the process will help you to resolve any issues, should there be any.
Note that for the MHS35 these instructions will tell you to reboot frequently - don't skip a reboot, they're important to ensure stuff is setup for the next step.
The first step is to write an image of the DietPi operating system to an SD card. A 16Gb SD card is large enough (with room to spare) but a 32Gb card will last longer and allow for the addition of many more images for the slide show (lots of family photos perhaps). If you intend to load your own images though, go for a 64Gb or 128Gb SD card. If you need more space, consider using an SSD drive instead. Get a SATA SSD and a SATA-to-USB cable. Once the DietPi image has been stored on the SSD, plug it into one of the Raspberry Pi 4's USB-3 ports (the blue ones) and ensure there is no SD card in the SD Card bay. The RPI4 will now boot from the SSD.
If you've never done this before, download an image from DietPi.com and uncompress it. The complete docs on how to download, uncompress and install DietPi are found at https://dietpi.com/docs/install/. Where it says to use Balena Etcher, you can use that or you can use the Raspberry Pi Imager. The only caveat with the RPI Imager is that it can't apply 'OS customisations' on DietPi, so when it ask you if you want to, select 'No'.
After installing DietPi on the SD card (or SSD), you may wish to pre-configure wifi by editing dietpi-wifi.txt in the boot partition of your SD card before you put it in the RPI (it's the smaller of the two partitions). You should also edit dietpi.txt in the same partition and change the following values as appropriate:
AUTO_SETUP_NET_ETHERNET_ENABLED=0
AUTO_SETUP_NET_WIFI_ENABLED=1
# WiFi country code: 2 capital letter value (e.g. GB US DE JP): https://en.wiki>
# - NB: This choice may be overridden if the WiFi access point sends a country >
AUTO_SETUP_NET_WIFI_COUNTRY_CODE=GB
Also in the file is the line that sets the hostname of the computer to 'DietPi'. You may wish to change this to something else.
After saving you changes, eject the SD card (or SSD) and place it in the RPI or connect it to a USB port as appropriate, and power up the RPI.
After booting up, you should login to the computer:
# from another computer (replace hostname with the name of the computer - default is dietpi
ssh root@hostname
# On the same computer:
# If you have a 3.5" screen, you'll need an addition monitor attached
# If you have a 3.5" screen or a 7" screen, you'll need a keyboard
# Press enter and type 'root' (without 's)
# the default password is 'dietpi'
- Configure country and keyboard settings as usual.
- Change passwords for both software and users
- Change
DropBeartoOpenSSHin the software options main screen - Select ONLY
gitas software to install - Select
Install Softwareand allow the system to complete the install & update procedure
Please follow these instructions which are specific to installing for an MHS35 screen: MHS35 Instructions
Please follow these instructions which are specific to installing for the 7" screen: Official 7" Touchscreen Instructions