Tip

Check out:

Warning

Documentation is not yet finished.

2. Raspberry

Description

Here you can find some information on how to set-up your raspberry.


SSD

How to use an external usb ssd as system storage.

Reasons

  • A SSD is faster than a sd-card

  • Has more read-write cycles

    • it will therefore not die as fast as a sd-card

  • It is currently even cheaper

Needed

  • SSD

  • USB chassis

  • SD card (needed temporarily if it is an older model)

  • Raspberry Pi 2 or higher => 4 would be recommended

  • Power supply with recommended amperage (since the usb device will suck relatively much power)

  • Active cooling => per example a raspi chassis with a build-in 5V fan (since the power throughput will heat the board)

Notes

  • You must not connect the external ssd via usb 3.x (blue one) since it might draw too much current and keep the device from booting at all

  • If you have a raspberry pi 4 => try it without the sd card first; it might just work

HowTo

Raspberry Pi 4

  • Download raspi imager

  • Flash RaspberryPi OS on the usb-ssd (lite version is recommended but has no graphical user interface)

  • Un- and re-plug both so they get automatically mounted on your computer

  • Find the device in the network and connect to it via ssh per powershell (windows) or bash (linux) (default password is ‘raspberry’)

    $ ssh pi@IP-ADDRESS
    

Older models

  • Download raspi imager

  • Flash RaspberryPi OS on the sd card and usb-ssd (lite version is recommended but has no graphical user interface)

  • Un- and re-plug both so they get automatically mounted on your computer

  • Plug in the sd card and start the raspberry

  • Find the device in the network and connect to it via ssh per powershell (windows) or bash (linux) (default password is ‘raspberry’)

    $ ssh pi@IP-ADDRESS
    
  • Now we will set-up the usb device to be bootable as described in this raspi doc

    1. If you have an older board you might want to install all updates

    $ sudo apt-get update && apt-get full-upgrade --yes
    $ sudo reboot
    # wait to reboot and re-connect
    $ sudo raspi-config
    
    1. Select Advanced Options

    2. Bootloader version

    • choose latest and confirm choice

    1. Select Boot Order

    • Select USB

    1. Exit the menu via ‘finish’ (or Ctrl+D)

    $ sudo reboot
    
    1. The raspi will now boot to the usb-ssd

    2. Re-connect to the raspi and re-do the steps 2 to 5

    3. Disconnect the sd-card and you are done with this!