h1ji3-pi-black

Raspberry Pi Base Image

Here is a quick instruction set on how to setup a Raspberry Pi Full Desktop Image with all the basic configuration completed so a fresh build can be put on an SD card from an image so you wont have to start from scratch for each new project/rebuild.

We will be using the official Raspbian Jessie OS but removing all the games and un-needed applications still keeping the desktop GUI, another stripped down image will be made with no GUI later.

**work in progress**

Software

Download the following 3 required applications to enable the install and config the Raspbian OS.

2 optional applications are listed below for remote access to the RPi

SD Card Formatter – required
https://www.sdcard.org/downloads/formatter_4/

WinDisk32 – required
https://sourceforge.net/projects/win32diskimager/

Raspbian Jessie Full Image (2016-03-18) – required
https://www.raspberrypi.org/downloads/raspbian/

Putty – optional
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

WinSCP – optional
https://winscp.net/eng/download.php


Lets Get Started!

Start off by formatting the SD card using ‘SD Card Formatter’.

Then

Write the raw downloaded Operating System Image to the SD card using ‘WinDisk32’.

Place the SD card into the Raspberry Pi and power up.


Install done, Setup time

There are 2 ways to connect into the Raspberry Pi, using a keyboard/mouse and monitor directly connected to the RPi or connect remotely using Putty.

For this guide we will be using Putty to remotely connect, you will need to find out the IP address of the RPi,  check your DHCP server for this information.

Login as pi/raspberry

RPiSetup-1

Update Raspbian

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean

 


Enter the Raspbian Setup

sudo raspi-config

RPiSetup-4


Expand file System

Select option:

1  Expand Filesystem

RPiSetup-5

Select option:

<Ok>

RPiSetup-6

You will be returned to the Raspi-Config menu

RPiSetup-0


Enable Login to Desktop with the user Pi

Select option:

3  Boot Options

RPiSetup-7

Select option:

B4

You will be returned to the Raspi-Config menu

RPiSetup-0


Set Host name

Select option:

9 Advanced Options

RPiSetup-9

Select option:

<Ok>

RPiSetup-10

Enter a Host name and  Select

<Ok>

RPiSetup-23

You will be returned to the Raspi-Config menu

RPiSetup-0


Overclock

Select option:

8  Overclock

RPiSetup-12

Select option:

<Ok>

RPiSetup-13

Select option:

High 1000MHz ARM,..............

And then

<Ok>

RPiSetup-14

Select option:

<Ok>

RPiSetup-15

You will be returned to the Raspi-Config menu

RPiSetup-0


Select option:

<Finish>

RPiSetup-16

Select option:

<Yes>

RPiSetup-17

The system will now reboot


Raspbian Custom Settings

Force the screen to stay On 

After approx 15 minutes with no user input the screen will go black, to stop this the lightdm.cofig file must be edited;

sudo nano /etc/lightdm/lightdm.conf

Add/edit the following lines to the [SeatDefaults] section:

# don't sleep the screen
xserver-command=X -s 0 dpms

Force HDMI Output

Some devices may not immediately notice the Pi’s HDMI or may not do the negotiation.

Update the .config file to force the HDMI output and mode

The .config  file is access through a PC, mount the SD card and open the drive in ‘My Computer’

RPiSetup-18

Open the Config.txt using a notepad editor.

Update the Following lines as applicable:

RPiSetup-19


HDMI not detected

Increase signal strength (max value= 9)

RPiSetup-20

HDMI Group

This defines the HDMI output group to be either CEA (Consumer Electronics Association, the standard typically used by TVs) or DMT (Display Monitor Timings, the standard typically used by monitors). This setting should be used in conjunction with hdmi_mode.

RPiSetup-21

(use hdmi_group=1 and if it is an older TV, try hdmi_group=2.)

hdmi_group result
0 Auto-detect from EDID
1 CEA
2 DMT

HDMI Mode

See https://www.raspberrypi.org/documentation/configuration/config-txt.md for mode settings

RPiSetup-22

Do not set hdmi_safe=1 as this overrides many of the previous options.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *