Download des Raspios Images und Erstellung der SD-Karte / Download the Raspios Image und writing it on SD Card (DE/EN)

in #deutsch3 years ago

Download des Raspios Images und Erstellung der SD-Karte

(English Below / Englisch unten)

Der Download des Raspios Images via Web Browser bricht regelmässig ab. Glücklicherweise sind die Verzeichnisse in denen die Images abgelegt sind nicht "dicht" gemacht worden. Wenn man im Browser:
https://downloads.raspberrypi.org/raspios_arm64/images/
eingibt dann kann man sehen was fuer Images vorhanden sind.


Das gewünschte Image kann dann z.b mit

wget https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2021-05-28/2021-05-07-raspios-buster-arm64.zip

heruntergeladen werden. Auch dann bricht der Download regelmässig ab. wget stört das aber nicht es macht einfach da weiter wo abgebrochen wurde. Nach beendetem Download sollte allerdings die Checksumme der Image Datei überprüft werden. Die entsprechenden Dateien finden sich im gleichen Verzeichniss wie das Image.
Download also mit:

wget https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2021-05-28/2021-05-07-raspios-buster-arm64.zip.sha1

Danach sollte die Checksumme überprüft werden:

sha1sum -c 2021-05-07-raspios-buster-arm64.zip.sha1

Wenn alles o.k ist kommt die Meldung:
2021-05-07-raspios-buster-arm64.zip.sha1: OK


Das gleiche kann man auch mit der sha256 Pruefsumme machen. Download mit:

wget https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2021-05-28/2021-05-07-raspios-buster-arm64.zip.sha256

Prüfen der Checksumme:

sha256sum -c 2021-05-07-raspios-buster-arm64.zip.sha256

Wenn alles o.k ist kommt auch hier die Meldung:
2021-05-07-raspios-buster-arm64.zip.sha256: OK

Nachdem die Überprüfung abgeschlossen wurde muss das zip File entpackt werden.

unzip 2021-05-07-raspios-buster-arm64.zip

Das entpackte Image ist etwa 3.7 GB gross es könnte evtl auf eine 4GB SD Karte Passen. Wenn man aber irgendwas sinvolles machen möchte dann muss eine SD Karte mit mindesten 8GB Kapazität verwendet werden.

mittels:

sudo dd if=./2021-05-07-raspios-buster-arm64.img of=/dev/sdc

wird das Image auf die SD Karte geschrieben. ACHTUNG: das Zieldevice für die SD Karte, in meinem Falle /dev/sdc kann abhängig vom Computer auf ein anderes sein.
Danach muss die SD Karte in den PI eingelegt und das System gestartet werden.
Beim ersten Start wird das Dateisystem automatisch auf die maximale grösse der SD-Karte vergrössert.
Der Standart Benutzer heisst: pi
und das voreingestellte Passwort ist:
raspberry


Vorsicht beim ersten Start ist es sehr wahrscheinlich das das Tastatur Layout noch auf US steht d.h y und z sind Vertauscht.
Mittels:

sudo raspi-config

auf der Konsole oder innerhalb einer Shell ausgeführt, kann das Tastaturlayout korrekt eingestellt werden. Danach sollte schnellstmöglich das Passwort neu gesetzt werden.
Danach kann auch das Netzwerk und z.b das Starten des SSH Servers mittels raspyconfig Konfiguriert werden.


English Version

Download the Raspios Image und writing it on SD Card

The download of the Raspios image via web browser crashes regularly. Fortunately, the directories where the images are stored have not been "closed". If you go to the browser:
https://downloads.raspberrypi.org/raspios_arm64/images/
then you can see what images are available.


The desired image can then be downloaded with

wget https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2021-05-28/2021-05-07-raspios-buster-arm64.zip

Even then, the download is interrupted regularly. wget does not interfere with this, however, it simply continues where it was interrupted. After the download is finished you should check the checksum of the image file. The corresponding files can be found in the same directory as the image.
Download with:

wget https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2021-05-28/2021-05-07-raspios-buster-arm64.zip.sha1

After that the checksum should be checked:

sha1sum -c 2021-05-07-raspios-buster-arm64.zip.sha1

If everything is o.k comes the message:
2021-05-07-raspios-buster-arm64.zip.sha1: OK


You can do the same with the sha256 checksum. Download with:

wget https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2021-05-28/2021-05-07-raspios-buster-arm64.zip.sha256

Checking the checksum:

sha256sum -c 2021-05-07-raspios-buster-arm64.zip.sha256

If everything is o.k. you get the message here too:
2021-05-07-raspios-buster-arm64.zip.sha256: OK

After the check is finished you have to unpack the zip file.

unzip 2021-05-07-raspios-buster-arm64.zip

The unzipped image is about 3.7 GB big it could fit on a 4GB SD card. But if you want to do anything useful then you have to use a SD card with at least 8GB capacity.

To write the Image to SD-Card:

sudo dd if=./2021-05-07-raspios-buster-arm64.img of=/dev/sdc

ATTENTION: the destination device for the SD card, in my case /dev/sdc can be different depending on your computer.
After that the SD card has to be inserted into the PI and the system has to be started. At the first start the file system is automatically enlarged to the maximum size of the SD card.
The default user is called: pi
and the default password is:
raspberry


Be careful at the first start it is very likely that the keyboard layout is still set to US. The keyboard layout can be set with:

sudo raspi-config

that has to be executed on a Console or in a Shell.
After that the password should be set as soon as possible.
After that the network and e.g. the start of the SSH server can be configured with raspyconfig.

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.033
BTC 64266.94
ETH 3077.24
USDT 1.00
SBD 3.87