Welcome to my new post. I am covering
Make sure you have following before starting to flash OS.
- Raspberry Pi board
- Power source
- Micro SD card
- Keyboard and Mouse
- Display with HDMI support
- Working internet connection
Before we start flashing, these tools need to be downloaded
Raspbian is the most famous OS for Raspberry Pi. There are other alternatives as well. To flash Raspbian , first you need to download Raspbian from its site here. There are 3 tyeps of Raspbian OS.
- Raspbian Stretch with desktop and recommended software comes with OS, desktop environment and other softwares such as LibreOffice.
- Raspbian Stretch with desktop comes with OS, desktop environment and only essential software packages
- Raspbian Stretch Lite comes with OS and command line interface only
You can select the one which meets your need the most. However, the setup of the third version might be complex as it doesn’t have a desktop environment and you need to do everything from the command line. However, after installing a desktop environment and other software, it’s no different than the other two types. After the image file gets downloaded, we need to use Etcher to flash onto card.
We’ll use etcher to flash OS to SD card. You can download etcher from its website here. After you download etcher, unzip it to the desired location.
There will be a file named balenaEtcher.<version>.AppImage. This needs to be made executable. Run the following command to make it executable.
chmod +x fileName
After it has been made executable, run it with following command
Running this file will run etcher and you’ll see something like this.
Once you launch etcher, select the OS image and SD card to which you want to flash OS. I’ve used Raspbian Stretch as OS and Kingston 16GB micro sd card. Once you select these things, start flashing by clicking on Flash button.
Once you start flashing, you’ll see progress status as shown in image below.
Once it reaches 100%, and shows flash complete, you can eject the card and insert into Raspberry PI.
You can then connect Raspberry PI to power source and connect other peripherals like display, keyboard and mouse. Once these things are complete(if you had installed OS except Stretch Lite), you will see a boot screen. The default credentials are
- Username: pi
- Password: raspberry
You can then connect to wifi and do other stuffs you want to. In case you installed Raspbian Stretch Lite, you have to do required setup(eg: wifi connection) from command line and install needed softwares.
I hope this post was useful. If you have any questions/suggestions, feel free to leave a comment.
I’ll see you in the next one. Cheers 🙂
242 total views, 1 views today