Raspberry Pi 4B operating system burning and PC connection method


1. Introduction

Because I did VNCn't figure out why the graphical interface could not be displayed using the graphical interface at the beginning , I thought that the system copied by the merchant did not have a graphical interface, so I burned the system again, but later found out that I didn't figure it out, so I recorded it.

Second, the specific steps

1. Burning the operating system

There are many kinds of operating systems, and the most recommended is the official system.

①, the choice of operating system

Raspberry Pi OS (Raspbian) Raspberry Pi
official deep customized hardware driver and software program, the official recommended system. If you are using Raspberry Pi for the first time, please download this.
32-bit Lite version (no desktop) | 32-bit desktop version (recommended) | 32-bit desktop version (including common software)
Default account:Username: pi Password: raspberry

Ubuntu MATE for the Raspberry Pi
Ubuntu MATE is a desktop Linux distribution. Its purpose is to provide the introduction and elegance of the Ubuntu operating system through the classic and traditional desktop environment of MATE. MATE is the continuation of the GNOME 2 desktop environment. Once used as the default desktop of Ubuntu, Ubuntu MATE is also suitable for Raspberry Pi novices. The interface is the best-looking, but it is not as good as the official system in terms of CPU optimization.
Official Website | Download Page

Arch Linux ARM's
famous lightweight system Arch Linux is transplanted on ARM architecture. Pay attention to the simplicity of the developer, any dispensable software will not come with it. There is only a command line interface, and it is not recommended for beginners. Arch Linux's software strategy is quite radical. You can use the latest software packages with Arch Linux, but you also need to take the risk of early adopters.
Official website | Download page
Default account:Username: root Password: root

RetroPie
is a home computer emulator system based on Raspbian. It has built-in simulator software for game platforms such as FC, SFC, GB, GBA, DOS, etc. It can quickly configure the Raspberry Pi into a multi-functional old game console.
Official website
default account:Username: pi Password: raspberry

Volumio
is an audiophile music player system with richer features and beautiful UI, designed to play music with the highest fidelity.
Official website
default account:Username: volumio Password: volumio 预设热点 volumio 密码 volumio2

More operating systems are included here

②, related mirror sites

However, due to the above-country visit the official website to download the file will be super super slow speed, so in order to be able to quickly download the operating system, we can make the appropriate download mirror through domestic sources, it is now more common 清华大学 TUNA 镜像站and 上海交通大学 SJTUG 镜像站.

The link is as follows:

  • TUNA mirror station (located in Beijing): https://mirrors.tuna.tsinghua.edu.cn/raspberry-pi-os-images/
  • SJTUG mirror station (located in Shanghai): https://mirrors.sjtug.sjtu.edu.cn/raspberry-pi-os-images/
  • Raspberry Pi official resource site: http://downloads.raspberrypi.org/

raspberry-pi-os-images The content of the mirror directory contains many folders, and several folders contain system mirrors:

  • raspbian_lite: streamlined version of Raspbian system
  • raspbian: regular version of Raspbian system
  • raspbian_full: Full version of Raspbian system
  • raspios_lite_armhf: a streamlined version of Raspberry Pi OS system
  • raspios_armhf: Regular version of Raspberry Pi OS system
  • raspios_full_armhf: Full version of Raspberry Pi OS system
  • raspios_lite_arm64: A streamlined version of Raspberry Pi OS 64-bit system
  • raspios_arm64: Regular version of Raspberry Pi OS 64-bit system

For how to replace the domestic apt mirror source with one click for the Raspberry Pi , please refer to- Replace the domestic apt mirror source with one click for the Raspberry Pi .

③ Format the SD card

According to the official description of the SD Association, it is necessary to use its official software SD Formatter for SD/SDHC/SDXCto format the SD card to more effectively protect the SD card, emmm... who knows, but I did it according to him, insert the card reader, it will automatically recognize the SD card Just format the card directly.
Insert picture description here
Download link: https://www.upantool.com/hfxf/sd/11513.html

④, system burn

The system burn I chose is balenaEtcherreally stupid burn, very simple!

First select the mirror image, select the SD card, and start directly!
Etcher
The burning process is quite long, just wait patiently for a while.
Insert picture description here
After the burning is completed, it will be automatically disconnected. At this time, we can unplug it and plug it in again, and you can see the burned state.
By win + Ropening cmdand typing diskmgmtto open the disk manager, you can see your disk partitions.
disk partition

2. Use a PC to connect to the Raspberry Pi

There are usually three ways to connect to the Raspberry Pi using a PC. Here I only introduce the two that I used, one is puttyconnection, the other is VNCconnection.

①, putty connection

Insert picture description here
Putty connection is connected through ssh. We need to create a new file named ssh in the boot partition. If there is no suffix, just call it directly ssh. Then insert the TF card into the Raspberry Pi, connect to the Internet cable, and check the corresponding IP on the router management interface after power on, and you can use the SSH client to connect

More details: Use PuTTY to log in to the Raspberry Pi in the Raspberry Pi Lab .routing
Open putty and enter the corresponding ip address
Insert picture description here
to connect successfully.Insert picture description here

①、VNC connection

Enter the following command in the terminal to enter the configuration interface.

sudo raspi-config

Insert picture description here
Operate in sequence: Interfacing Options -> VNC -> Yes. After that, the system will prompt you whether you want to install the VNC service, enter y and press Enter, and wait for the system to automatically download and install. If everything goes well, the VNC service will start!
Insert picture description here
VNC has been opened at this time, but the graphical interface still cannot be displayed through VNC View.
Insert picture description here
The reason is that the resolution is not set for the display interface, so you only need to set it.
Insert picture description here
Choose a resolution other than the first one (I chose 1280x720) and
Insert picture description here
press Enter. After finishing the selection, press Escback and click Finish to end the setting. At this time, the Raspberry Pi will be disconnected, but it will be restored immediately.
Insert picture description here
At this point, we can enter the ip address corresponding to the Raspberry Pi through VNC View to enter it smoothly.
Insert picture description here

More details: Raspberry Pi Lab Raspberry Pi VNC Viewer Remote Desktop Configuration Tutorial

Guess you like

Origin blog.csdn.net/qq_41071754/article/details/113179459