Changes between Version 15 and Version 16 of PibotGoldenImage


Ignore:
Timestamp:
Jun 23, 2018, 2:03:52 PM (7 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PibotGoldenImage

    v15 v16  
    1919       * Download the latest Raspbian Lite image
    2020       * Unzip to extract the .img file
    21        * Use [https://etcher.io/ Etcher] to install the .img on an SD card (see: https://www.raspberrypi.org/documentation/installation/installing-images/README.md).  This creates two partitions: /boot that is accessible from Windows and /root that is ext4 and cannot (easily) be accessed from Windows.
    22        * Remove and re-insert SD card so Windows will discover the new partitions...ignore/cancel any requests to format them
     21       * Use [https://etcher.io/ Etcher] to install the .img on an SD card (see: [https://www.raspberrypi.org/documentation/installation/installing-images/README.md here] for more info).  This creates two partitions: /boot that is accessible from Windows and /root that is ext4 and cannot (easily) be accessed from Windows.
     22       * Remove and re-insert SD card so Windows will re-mount the new partitions...ignore/cancel any requests to format them
    2323       * Edit /boot/config.txt  (preferably edit with Notepad++)
    2424           * uncomment framebuffer_width=1280
    2525           * uncomment framebuffer_height=720
    2626           * uncomment dtparam=i2c_arm=on
    27            * For Pi Zero only: add at end:
     27           * For Pi Zero only, add the following at the end to enable USB networking (not supported on other Pi platforms):
    2828{{{
    2929# Enable USB Gadget (networking over USB)
     
    3434}}}
    3535       * Edit /boot/cmdline.txt
    36            * Insert after rootwait:
    37             {{{ modules-load=dwc2,g_ether g_ether.dev_addr=5a:77:1e:af:8e:9e g_ether.host_addr=72:8d:1f:c4:e8:ca }}}  (for !PiZero only)
    38            * Remove init=resizefs...   (to prevent automatic expansion to full SD card size)
     36           * For Pi Zero only, insert after rootwait:
     37            {{{ modules-load=dwc2,g_ether g_ether.dev_addr=5a:77:1e:af:8e:9e g_ether.host_addr=72:8d:1f:c4:e8:ca }}}
     38           * For all platforms: Remove init=resizefs...   (to prevent automatic expansion to full SD card size)
    3939            (Note: cmdline.txt must be a single line...no linebreaks)
    4040       * Create an empty file: /boot/ssh   (enables ssh server when started)
    4141       * Create an empty file: /boot/avahi (enables zeroconfig/bonjour when started)
    42        * For Pis with !WiFi built-in: create /boot/wpa_supplicant.conf with your wifi network configuration information (allows Pi to connect to your !WiFi network on boot)
     42       * For Pis with built-in !WiFi (Pi 3, Pi Zero W): create /boot/wpa_supplicant.conf with your wifi network configuration information (allows Pi to connect to your !WiFi network on boot)
    4343{{{
    4444country=US
     
    5151    key_mgmt=WPA-PSK
    5252}
    53 }}}
     53}}}   
     54         NOTE: remember to remove your wifi info (especially PSK) before creating the golden image
    5455   * Boot and configure SD card in Pi
    5556       * Place uSD card in Pi
     
    101102           * sudo reboot
    102103           * wait and then re-connect to the Pi via SSH
    103        * [https://rohankapoor.com/2012/04/americanizing-the-raspberry-pi/ Americanize your Pi]
     104       * Set the locale (see [https://rohankapoor.com/2012/04/americanizing-the-raspberry-pi/ here] for info):
     105           * sudo dpkg-reconfigure locales
     106           * un-select: en_GB.UTF-8
     107           * select: en_US.UTF-8
     108           * make sure to select en_US.UTF-8 as the default locale for the system environment
     109           * wait for generation to finish
     110           * exit   (this is important; the change doesn't take effect before you log in again)
     111           * re-connect via SSH
     112           * sudo dpkg-reconfigure keyboard-configuration   (reconfigures based on new locale)
     113           * sudo dpkg-reconfigure tzdata   (select US->Eastern)
    104114       * sudo raspi-config
    105115           * Update tool to latest version
     116           * Setup Network Options: hostname->pibot
    106117           * If you haven't done this via the step above, setup localisation settings for US, English, EST
    107               * un-select: en_GB.UTF-8
    108               * select: en_US.UTF-8
    109               * make sure to select en_US.UTF-8 as the default locale for the system environment
    110            * Setup interfacing options: enable ssh, vnc, i2c
    111            * Setup Network Options: hostname->pibot
     118           * Setup interfacing options: enable ssh, vnc, i2c  (note, VNC will install X and a ton of other stuff)
    112119       * Install any needed packages
    113120           * sudo apt-get install subversion ant mercurial