Installing the Linux operating system on the Raspberry Pi Mini-PC

1. Download operating system image for Raspberry Pi

You can download the operating system image for Raspberry Pi at www.raspberrypi.org

It is recommended to select a minimal image for downloading (Minimal image based on Debian …)

2. Write the operating system image to the SD card

The procedure for writing to the SD card on computers with a Linux operating system

1. Create a tmp folder:

mkdir /home/username/tmp

2. Copy the name.zip file to the /home/username/tmp/ folder:

cp name.zip /home/username/tmp/

3. Insert a new SD card into the computer (via the adapter)

4. Find out the address of the memory card in the system and the numbers of its partitions

sudo fdisk -l

5. Unmount all partitions of the memory card

sudo umount /dev/sdbX

6. Obtain the rights of the superuser

sudo su

7. Write an image to the SD card

gunzip -c /home/username/tmp/name.zip | dd of=/dev/sdb

Now wait. The operation does not output anything to the console.

8. After the write is completed, remove the SD card from the computer.

The procedure for writing to the SD card on computers with OS X operating system

1. Unpack the archive file name.zip in the name.img file, where name is the name of the image.

2. Insert the memory card into the computer memory card slot.

3. Check the name of the mounted disk

diskutil list

4. Unmount the disk

diskutil unmountDisk /dev/diskX

,where diskX is the name of the connected card. For example – disk2

5. Go to the working folder with the image and write the image to the SD card

sudo dd bs=1m if=name.img of=/dev/diskX

,where name is the name of the image

6. Unmount the disk after the write is completed

diskutil unmountDisk /dev/diskX

The procedure for writing to the SD card on computers with the Windows operating system

1. Unpack the archive file name.zip in the name.img file, where name is the name of the image.

2. Insert the memory card into the computer memory card slot.

3. Run the Win32DiskImager program. If there is no program, install by link

4. In ‘Image File’, specify the path to the ‘name.img’ image file.

5. In Device, select the address of the installed memory card.

6. Click ‘Write’.

7. The message ‘Complete. Write Successful ‘ is displayed when complete. Click ‘OK’ and ‘Exit’.

8. Before removing the SD card from the computer, definitely make a safe removal of the device.

3. Configure the operating system

SSH access is required to configure the operating system.

SSH access to the supplied images is closed by default. To open access via SSH, you need to put an empty file named ssh in the root on the SD card.

For example, in the operating system OS X, you can do this:

– insert the SD card into your computer

– go to the root of the SD card:  cd /Volumes/boot/

– create an empty file named SSH: touch ssh

Configuring the operating system

1. Insert the SD card with the recorded image into the Raspberry Pi Mini-PC and turn on the power.

2. Login the system by ssh (login: pi, password: raspberry)

ssh pi@xxx.xxx.xxx.xxx ,где xxx.xxx.xxx.xxx – IP address of the Raspberry Pi Mini-PC in your local network.

3. Run the commands:

sudo apt-get update
sudo apt-get upgrade

3. Run the raspi-config utility

sudo raspi-config

The following settings are recommended:

– Extend the size of the file system to the size of the SD-card (Advanced Options / Expand Filesystem)

– Change the name of the server in the local network (Network Options -> Hostname), for example, to ihserver

– Set time zone (Localization Options / Change Timezone)

Close Menu