Browse Source

Raspberry Pi on Diet Pi instaructions

change all DietPi build links to point to the rootzoll dev branch
dev
openoms 6 years ago
parent
commit
26a5921901
  1. 1
      dietpi/Odroid_HC1_HC2.md
  2. 22
      dietpi/README.md
  3. 31
      dietpi/RaspberryPi.md
  4. 4
      dietpi/boot/Automation_Custom_Script.sh

1
dietpi/Odroid_HC1_HC2.md

@ -52,6 +52,7 @@ Updating from a v6.14 DietPi image is causing a bootloop under some circumstance
https://dietpi.com/downloads/images/DietPi_OdroidXU4-ARMv7-Stretch.7z
* Burn it to the SD with [Etcher](https://www.balena.io/etcher/)
* Insert the SD card, connect the HDD, the network cable and power supply to boot up the Odroid:
* In the desktop terminal on Linux / MacOS or Putty on Windows:
`ssh root@[IP-OF-DIETPI]`

22
dietpi/README.md

@ -7,16 +7,20 @@ This guide was tested on:
* Odroid HC1
* Odroid HC2 (the same board with a 3.5" 12V HDD)
* Odroid XU4 (with HDMI screen)
* Raspberry Pi 3 B + (no support for the default GPIO LCD so far, but the HDMI works)
* Raspberry Pi 3 B+ (with the default GPIO or HDMI display support)
See the [hardware comparison](hw_comparison.md).
The screen tested: https://www.aliexpress.com/item/3-5-inch-LCD-HDMI-USB-Touch-Screen-Real-HD-1920x1080-LCD-Display-Py-for-Raspberri/32818537950.html
The HDMI screen tested: https://www.aliexpress.com/item/3-5-inch-LCD-HDMI-USB-Touch-Screen-Real-HD-1920x1080-LCD-Display-Py-for-Raspberri/32818537950.html
---
### Downloads and walkthrough for the [Odroid HC1 / HC2 / XU3 / XU4](Odroid_HC1_HC2.md)
### Instructions for the [Raspberry Pi](RaspberryPi.md)
---
## General guide for the RaspiBlitz-on-DietPi
### Setting up the DietPi OS
@ -31,8 +35,8 @@ Look for the SD card image for the specific SBC in the [download section](https:
* Insert the SDcard into your SBC.
* Connect the HDD with a powered suitably powered adapter.
A USB 2.0 port will not be able to power an HDD so you will need extra cable
* Connect the HDD with a suitably powered adapter.
A USB 2.0 port will not be able to power an HDD so you will need extra cable.
If you are connecting the HDD to a USB 3.0 port and have an at least 2A power supply, you might be able to run without an extra cable.
* Power up and log in with the desktop terminal on Linux / MacOS or Putty on Windows:
@ -59,18 +63,16 @@ password: `dietpi`
`wget https://raw.githubusercontent.com/[GITHUB-USERNAME]/raspiblitz/[BRANCH]/build_sdcard.sh && sudo bash build_sdcard.sh [BRANCH] [GITHUB-USERNAME]`
If you are working from a forked repo be aware of that the fork needs to be called `raspiblitz` for the git downloads to work.
* Run the forked version of @openoms:
`wget https://raw.githubusercontent.com/openoms/raspiblitz/DietPi/build_sdcard.sh && sudo bash build_sdcard.sh DietPi openoms`
* Run the dev branch of @rootzoll:
`wget https://raw.githubusercontent.com/rootzoll/raspiblitz/dev/build_sdcard.sh && sudo bash build_sdcard.sh dev rootzoll`
This will take a couple minutes depending on your internet connection and the processing power of the SBC.
* Restart when done and log back in now as `admin`:
`ssh admin@[IP-OF-DROIDBLITZ]`
* After the automatic restart log back in now as `admin`:
`ssh admin@[IP-OF-RASPIBLITZ]`
password: `raspiblitz`
* From here he setup continues with the [RaspiBlitz Setup Process](https://github.com/rootzoll/raspiblitz/blob/master/README.md#setup-process-detailed-documentation)
---
### Useful commands for debugging:
To test a new configuration run XXcleanHDD.sh and strictly restart

31
dietpi/RaspberryPi.md

@ -0,0 +1,31 @@
# ⚡️ RaspiBlitz-on-DietPi ⚡️
## Tested on the Raspberry Pi 3 B +
### Automated the SDcard building process:
* Download the DietPi image for the Raspberry Pi:
https://dietpi.com/downloads/images/DietPi_RPi-ARMv6-Stretch.7z
* Burn it to the SD card with [Etcher](https://www.balena.io/etcher/)
* Right click and download the following two files: [DietPi.txt](/dietpi/boot/dietpi.txt), [Automation_Custom_Script.sh](/dietpi/boot/Automation_Custom_Script.sh)
* Copy them to the /boot directory of the DietPi SDcard:
[DietPi.txt](/dietpi/boot/dietpi.txt): Overwrites the default dietpi.txt. Modified the settings to automate the DietPi setup. (see the details [here](https://github.com/rootzoll/raspiblitz/tree/master/dietpi#excerpts-from-the-default-dietpitxt))
[Automation_Custom_Script.sh](/dietpi/boot/Automation_Custom_Script.sh): Runs after DietPi installation is completed. Contains the link to download and run the build_sdcard.sh from the dev branch of @rootzoll.
(Optionally open the file with a text editor and uncomment (remove the `#` from the front of) the line with the branch you want to build the SDcard from.)
* Insert the SDcard into your Raspberry Pi.
* Connect the HDD, network cable and power supply to boot. (The optional default LCD will be setup automtically)
* The automated setup will run and the Raspberry Pi will restart at least twice during the process. This will take up to an hour. Log in with `root` if you want to follow along. The build_sdcard.sh script output can be seen with: `tail -n1000 -f /var/tmp/dietpi/logs/dietpi-automation_custom_script.log`
* When the setup is finished log in as `admin`:
`ssh admin@[IP-OF-RASPIBLITZ]`
password: `raspiblitz`
* From here he setup continues with the [RaspiBlitz Setup Process](https://github.com/rootzoll/raspiblitz/blob/master/README.md#setup-process-detailed-documentation)
## To build manually
* Follow the generic DietPi install process to [build your own SDCard](https://github.com/rootzoll/raspiblitz/tree/master/dietpi#general-guide-for-the-raspiblitz-on-dietpi)

4
dietpi/boot/Automation_Custom_Script.sh

@ -8,7 +8,7 @@
# wget https://raw.githubusercontent.com/rootzoll/raspiblitz/master/build_sdcard.sh && sudo bash build_sdcard.sh
# @rootzoll dev branch:
# wget https://raw.githubusercontent.com/rootzoll/raspiblitz/dev/build_sdcard.sh && sudo bash build_sdcard.sh dev
wget https://raw.githubusercontent.com/rootzoll/raspiblitz/dev/build_sdcard.sh && sudo bash build_sdcard.sh dev
# @openoms DietPi branch:
# wget https://github.com/openoms/raspiblitz/raw/DietPi/build_sdcard.sh && sudo bash build_sdcard.sh DietPi openoms
# https://raw.githubusercontent.com/openoms/raspiblitz/DietPi/build_sdcard.sh && sudo bash build_sdcard.sh DietPi openoms
Loading…
Cancel
Save