Difference between revisions of "Setup:RPI Raspian"

From SingletonMillerWiki
Jump to: navigation, search
(First Boot)
Line 17: Line 17:
 
Here's mine. No value means I didn't enter the menu and left the defaults as is.
 
Here's mine. No value means I didn't enter the menu and left the defaults as is.
 
* info:
 
* info:
* expand_rootfs: '''YES'''
+
* expand_rootfs: '''see note below'''
 
* overscan:
 
* overscan:
 
* configure keyboard:
 
* configure keyboard:
Line 27: Line 27:
 
* boot_behaviour: '''boot to CLI'''
 
* boot_behaviour: '''boot to CLI'''
 
* update:
 
* update:
 +
 +
# Normally expanding the root partition is an obvious thing to do, however if ou intend to make a number of other basic changes like installing software or adding new users etc, this it may be better to hold off expanding the partition. This is so you can make a smaller backup of your working Raspian build using [[Backup SD Image]].
 +
After you've set everything up you can rerun the Raspian configure script using <code> sudo raspi-config</code> or expand the partitions yourself using [[Expand Image to fill SD card]].
 +
  
 
=== SSH ===
 
=== SSH ===

Revision as of 11:19, 24 July 2012


As of July '12 Raspian is the recommended operating installation for the Raspberry Pi.[1]

Installation

Flash your RPi with a vanilla build of Raspian using [2].

Connect to your TV, keboard, mouse, network cable and apply power to the RPi micro USB.

First Boot

Raspian will boot to an installation screen (INSERT PIC HERE). Here you can scroll up and down using the keyboard arrows and select a menu item using the Enter key.

Navigate through each menu item and select the options and preferences depending on your requirements.

Here's mine. No value means I didn't enter the menu and left the defaults as is.

  • info:
  • expand_rootfs: see note below
  • overscan:
  • configure keyboard:
  • change_pass: yes, enter new password
  • change_locale: en_GB
  • change_timezone: Europe / London
  • memory_split:
  • ssh: yes enable
  • boot_behaviour: boot to CLI
  • update:
  1. Normally expanding the root partition is an obvious thing to do, however if ou intend to make a number of other basic changes like installing software or adding new users etc, this it may be better to hold off expanding the partition. This is so you can make a smaller backup of your working Raspian build using Backup SD Image.

After you've set everything up you can rerun the Raspian configure script using sudo raspi-config or expand the partitions yourself using Expand Image to fill SD card.


SSH

I mostly connect to my RPi via SSH from another Linux PC.

I previously used the same PC to SSH in this RPi when it had a different distribution, attempting to connect to the new install highlighted that the SSH key no longer matched.

pi@192.168.0.20
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
fe:86:2e:6a:85:33:ee:e5:20:ca:0d:a4:db:e3:91:da.
Please contact your system administrator.

If you see this message, just follow the instructions to remove the old keys and then retry the connection to generate new valid keys.

ssh-keygen -f "/home/jack/.ssh/known_hosts" -R 192.168.0.20

References

  1. Raspberrry Pi Foundation Downloads
  2. elinux Copying_the_image_to_an_SD_Card_on_Windows