-
Notifications
You must be signed in to change notification settings - Fork 4
2. Raspbian install
Frank1119 edited this page Apr 8, 2019
·
5 revisions
Download Raspbian from https://www.raspberrypi.org/downloads/raspbian/. Make sure to download Raspbian Stretch Lite, not the desktop. This guide supposes that the .zip format is downloaded.
- Insert your SD card into your computer
- On the official Raspberry site there is a good manual how to deploy an image: https://www.raspberrypi.org/documentation/installation/installing-images/README.md
- Do not eject the SD card yet. Sometimes the installation software ejects the SD card. Might that be the case, then re-insert the card again
- Windows might display a message about formatting a disk, but that is just because Windows does not understand ext4 partitions, so ignore this message
- Open the boot partition on the SD card
- Open cmdline.txt in an editor suitable for linux formatted text files, like Notepad++
- Remove the
init=
part. Normally the filesystem is extended to use all space on first use, but because an extra partition is needed, we will do this manually - Add
modules-load=dwc2,g_ether
after rootwait - Save cmdline.txt
- Open
config.txt
in the same editor - Add a line
dtoverlay=dwc2
- Save config.txt
- Create a new file
ssh
on the boot partition on the SD card. Make sure the name is all lowercase. The content does not matter. Just onespace
will suffice
I did not invent all of this myself. See this manual by gbaman
Go Home