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 setup in Debian:
step 1: Download Raspberry Pi OS
sudo apt install rpi-imager
in a terminal windowAlternatively, use the links below to download OS images.
https://www.raspberrypi.org/downloads/raspberry-pi-os/
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.
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.
sudo apt update
andsudo apt-get install gparted
step 3: Extract the download image
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.
echo "deb https://dl.bintray.com/resin-io/debian stable etcher" | sudo tee /etc/apt/sources.list.d/etcher.list
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.
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.
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing