Difference between revisions of "Raspberry Pi Image Install"

From wikidb
Jump to: navigation, search
(Raspberry Pi 3 Image with ROS)
(Flash the Image)
Line 20: Line 20:
 
= Flash the Image =
 
= Flash the Image =
  
Determine that SDA disks are out there before the SD card has been inserted into the workstation. We don't want to mess it up.
+
Determine that sda disks are out there before the SD card has been inserted into the workstation. We don't want to mess it up.
  
 
   ls /dev/sd*
 
   ls /dev/sd*
 
     /dev/sda  /dev/sda1  /dev/sda2  /dev/sda5
 
     /dev/sda  /dev/sda1  /dev/sda2  /dev/sda5
  
Determine that the SD card will be located at SDB.
+
Determine that the SD card will be located at sdb.
  
 
   ls /dev/sd*
 
   ls /dev/sd*

Revision as of 00:30, 25 February 2017

Raspberry Pi 3 Image with ROS

"Only Ubuntu and ROS installed, without the SW that is needed for the robot (zipped, min 32GB SD Card – as SD cards have different sizes a 64GB card is needed to be sure it works – otherwise 100-200MB might be missing."

  • ROOT PASSWORD: raspberry
  • Ubuntu Mate Xenial 16.04
  • ROS Kinetic
 unzip 3.36GB ubuntu-mate-16.04-armhf-ROS-Kinetic-raspberry-pi.img.zip

Yields: 32.0GM ubuntu-mate-16.04-armhf-ROS-Kinetic-raspberry-pi.img

Add following to the end of /home/ubuntu/.bashrc.

 source /home/ubuntu/catkin_ws/devel/setup.bash

Flash the Image

Determine that sda disks are out there before the SD card has been inserted into the workstation. We don't want to mess it up.

 ls /dev/sd*
   /dev/sda  /dev/sda1  /dev/sda2  /dev/sda5

Determine that the SD card will be located at sdb.

 ls /dev/sd*
    /dev/sda  /dev/sda1  /dev/sda2  /dev/sda5  /dev/sdb  /dev/sdb1

Flash the image to SDB. It takes about 45 minutes on my NUC with an STD.

 sudo dd bs=4M if=ubuntu-mate-16.04-armhf-ROS-Kinetic-raspberry-pi.img of=/dev/sdb
   [sudo] password for eepp: 
   7635+1 records in
   7635+1 records out
   32026656768 bytes (32 GB) copied, 2714.49 s, 11.8 MB/s

Sync

 sync