-->

Monday, March 4, 2019

Raspberry Pi] 2. Installing Raspbian on Raspberry Pi 3 Model B+

When I have free time these days, I do various tests with Raspberry Pi. Installing operating systems, using the serial ports, measuring temperature and so on. It's a very interesting thing.


Anyway, I will let you know how to install Raspbian in this post. It's so easy. First, prepare the micro SD and SD reader. Then combine them and connect them to your computer.


Second, download the Raspbian image file from the website below.

https://www.raspberrypi.org/downloads/raspbian/

In my case, I downloaded the '2018-11-13-raspbian-stretch-full.zip' file.

Once the download is complete, the file must be installed in the micro SD. If you use Windows operating system, extract the zip and install it into the micro SD using a program such as Rufus. The use of the Rufus program is very simple. If you don't know how to use it, please refer to the post below.

https://sunguruitchannel01.blogspot.com/2019/02/useful-utilities-1-creating-bootable.html

If you are using Linux operating system, refer to the commands below to install:

[root@centos76 Raspbian]# ls
2018-11-13-raspbian-stretch-full.zip  
[root@centos76 Raspbian]# unzip 2018-11-13-raspbian-stretch-full.zip
Archive:  2018-11-13-raspbian-stretch-full.zip
  inflating: 2018-11-13-raspbian-stretch-full.img  

[root@centos76 Raspbian]# ls
2018-11-13-raspbian-stretch-full.img  2018-11-13-raspbian-stretch-full.zip  
[root@centos76 Raspbian]# lsblk | grep disk
sda                  8:0    0   20G  0 disk 
sdb                  8:16   1 29.8G  0 disk

[root@centos76 Raspbian]# lsblk /dev/sdb
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sdb      8:16   1 29.8G  0 disk 
└─sdb1   8:17   1 29.8G  0 part /run/media/root/9016-4EF8
[root@centos76 Raspbian]# umount /run/media/root/9016-4EF8  

[root@centos76 Raspbian]# parted /dev/sdb print
Model: Mass Storage Device (scsi)
Disk /dev/sdb: 32.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      4194kB  32.0GB  32.0GB  primary  fat32        lba

[root@centos76 Raspbian]# parted /dev/sdb rm 1
Information: You may need to update /etc/fstab.

[root@centos76 Raspbian]# dd if=2018-11-13-raspbian-stretch-full.img of=/dev/sdb bs=1M
5052+0 records in
5052+0 records out
5297405952 bytes (5.3 GB) copied, 792.762 s, 6.7 MB/s

[root@centos76 Raspbian]# eject /dev/sdb
[root@centos76 Raspbian]# lsblk | grep disk
sda                  8:0    0   20G  0 disk

Once the installation is complete, detach the SD reader from your computer and connect the micro SD to the raspberry pi.


Now connect the keyboard, mouse, and monitor to the Raspberry Pi and power on it. You will then be able to see the following screen.


When the boot is complete, you will see the following screen.


Congratulations. And... enjoy your Raspberry Pi. :D

See you next. Thank you.


No comments:

Post a Comment