The way how I Installed RASPBIAN JESSIE LITE into Raspberry Pi B+


Here’s the way how I installed RASPBIAN JESSIE LITE into Raspberry Pi B+.

I used linux machine for OS, LASPBIAN installation. For Windows and Mac, there are good utilities and it’s easy to install raspbian.

What I Prepared

What I Bought

I bought the following item.

Raspberry Pi とケースのセットを買いました。

MicroSDHCカードはもっと容量の小さいものでもよかったのですが、 今後多くの容量が必要になるかもしれないので 8GB のものを選びました。 8GBまでなら値段はさほど変わりません。

Items in My House

Raspberry Pi のセットアップ・使用のために必要になったもので、 既に家にあったものです。

  • Monitor + HDMI cable (TV in these days are equipped HDMI port, so you can substitute TV if you have HDMI cable)
  • USB keybord
  • Micro USB power cable (I substitute smartphone power cable and adapter)

You can get all of them in Amazon.

Install OS into SD Card

Prepare OS

In the page Raspberry Pi Download, follow links and get zip archive of RASPBIAN JESSIE LIGHT. If you want to use desktop environment, choose Raspbian without “LITE”.

Place the zip file at your working directory and extract it.

Write OS onto SD Card

Insert your SD card into the computer. And confirm device file of the SD card.

You can see the device file is /dev/sdb from “Disk /dev/sdb: 8026 MB”. If it is mounted, unmount it.

Next, let’s write OS image onto the SD card. Wait some minutes for finishing.

Lastly, execute the following command end exit.

Confirmation

Connect the devices and check.

First, insert the SD card into Raspberry Pi, and connect monitor and keyboard to it.

Turn on the monitor.

Connect Raspberry Pi to power cable, and Raspberry Pi will boot automatically.

Then, login prompt will be shown. And type user “pi”, and password “raspberry” and login.

After logging in, execute sudo shutdown -h now and wait Raspberry Pi shutdown.

Expand Filesystem

Install Raspbian in the above instruction, the disk space is limited to 2 GB, even if you use 8 GB SD card. Then, let’s expand the filesystem.

Login to the Raspberry Pi, and execute sudo raspi-config.

Configuration screen appears, and select 1. Expand Filesystem. Raspberry Pi will say "The filesystem will be enlarged upon the next boot".

You can reboot with the command sudo shutdown -r now. After the rebooting, you can check filesystem size with df command.