Setting up Raspbian (and DOOM!)

Contributors: Jimb0

Pages

Install Raspbian

As your Pi begins to boot for the first time, you should be presented with the image installation screen. If so, skip down to the Image Installation Selection section. Otherwise, time for some quick troubleshooting:

Blank, Black Display on First Boot?

If you’re turning on your Pi for the first time, and don’t see anything on the screen, don’t fret! As long as your monitor isn’t complaining about “No Signal”, the Pi probably is working.

First, try pressing either 1, 2, 3, or 4 on your keyboard depending on which display mode you need:

  1. HDMI – Regular HDMI mode.
  2. HDMI safe – Try this if you’re using HDMI, but option 1 doesn’t work.
  3. Composite PAL – Composite cable, PAL signal out.
  4. Composite NTSC – Composite cable, NTSC signal out.

After selecting the correct mode, your screen should continue on to the install selection screen.

Still No Luck?

If your screen is still blank, you may have to manually configure it. Try this:

  1. Unplug your Pi, take out the SD card, and plug it back into your computer.
  2. Create a new file called config.txt at the top level of your SD card.
  3. In config.txt add these lines:
    hdmi_drive=2            # HDMI/DVI mode (1=DVI, 2=HDMI)
    hdmi_group=2            # HDMI type (1=CEA, 2=DMT)
    hdmi_mode=16            # Resolution (9=800x600/60Hz, 16=1024x768/60, 28=1280x800/60)
    hdmi_force_hotplug=1    # 1=Force HDMI mode even if no HDMI montor is detected

You may need to alter some values there. These settings manually define things like HDMI mode and resolution. For more help altering the config.txt file, check out the RPiconfig page.

(These values were required for an old 15-inch monitor connected to the Pi via a VGA-to-HDMI adapter.)

Image Install Selection

The first step in NOOBS setup is selecting which images to install. We recommend selecting at least Raspbian. If you have a lot of space on your card, you can install multiple operating system images.

Use you mouse to select or de-select options (or navigate up and down with the arrow keys, and Spacebar to select).

NOOBS image selector

After selecting the image, you can modify the language setting. Then click install or press i to start the installation.

The installation procedure will take a while (30 minutes to an hour-ish). Read the handful of installation slides:

Raspbian install slides

Then go take a break to bake some pie or something.


Want more information about SparkFun's classes? Interested in getting involved with teaching electronics? Just want to talk? Sign up for our newsletter, or contact our education department.

SparkFun is a company built around one core idea – sharing ingenuity. We think everyone should have the hardware and resources to learn and play with cool electronic gadgetry.

Share, give, learn, SparkFun.

Do you regularly instruct classes and workshops in a formal or informal learning environment? SparkFun offers Educator Discounts to people teaching and sharing electronics.

Find out more.