# Installing Raspberry Pi OS
## What isRaspberry Pi?
The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. It is a capable little device that enables people of all ages to explore computing, and to learn how to program in languages like Scratch and Python.
**Raspberry Pi4 Image**
- [ ] Raspberry PI4
- [ ] Micro SD card
- [ ] Micro SD Card Reader
- [ ] HDMI monitor
- [ ] Micro HDMI to HDMI
- [ ] USB keyboard and Mouse
- [ ] Power Adapter
**Raspberry setup in Debian:**
**step 1:** Download Raspberry Pi OS
* Install Raspberry Pi Imager to Raspberry Pi OS by running
`sudo apt install rpi-imager` in a terminal window
* Alternatively, use the links below to download OS images.
* Now you will see 3 versions of Raspbian with different options, just select the Raspbian Buster with desktop and recommended software.
**step 2:** Format the SD card
* Insert a USB drive into your system and identify your USB drive correctly. This is the step you need to take care, because you may format the wrong disk if not correctly identify your disk.
* Open the terminal window, run the command `df -h`
* Now, I have identified the drive **/dev/mmcblk0p1**, is my attached 8GB SD card.
* Whenever we attach a USB drive in Ubuntu, it automatically mounted to the system. We can not format any disk on Linux systems which are already mounted. So first un-mount **/dev/mmcblk0p1** SD card on your system.
* Now use the following command to format the SD card
* **Format with vFat File System**
`sudo mkfs.vfat /dev/sdc1`
If it is not working on command line, there is an another way to format the SD card.
* Open the terminal and install the Gparted
* Run the following command
`sudo apt update` and
`sudo apt-get install gparted`
* Open the **Gparted** application and right click on your sd card
* Select **Format -> FAT 32**
**step 3:** Extract the download image
* Right-click on the file you downloaded and extract it.
**step 4:** Create/burn my Raspberry Pi image
By using Etcher tool I burned the Raspberry Pi image.
**Etcher** is a free and open-source image burner with support for Windows, OS X, and GNU/Linux. It makes USB and SD card image burning as simple and fast as possible.
* Run the following commands
echo "deb https://dl.bintray.com/resin-io/debian stable etcher" | sudo tee
and Trust Bintray.com’s GPG key:
`sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61`
* Then update your system and install:
`sudo apt-get update `
`sudo apt-get install etcher-electron`
* Then, launch Etcher and insert your USB or SD card into the computer.
* Using Etcher to create bootable USB and SD cards is as simple as in 3 simple steps.
* Select your source image. All popular file formats are supported such as iso, img, zip and others. You may drag and drop to the app or you may use the file picker to add the image file.
* The second step involves selecting your target drive. You can easily differentiate your USBs and SD cards from your hard disks so that you do not end up wiping them.
* The last step involves “clicking” on Flash button to begin the writing process.
**Step 5:** After flashing finishes eject the MicroSD card from PC and plug it on Raspberry pi.
**step 6:** OS section is done, now plug the USB or Bluetooth Mouse Keyboard to the pi.
**Step 7:** Connect pi to the monitor using Micro HDMI to HDMI cable.
**Step 8:** Power up the monitor first, then power-up the pi using a power adapter.