Raspberry Pi Image Install

From wikidb
Revision as of 00:25, 25 February 2017 by Edc (Talk | contribs)

Jump to: navigation, search

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

"Make sure to read the README.TXT on the desktop! Note: You should enter the following in terminal: “nano /home/ubuntu/.bashrc” then add following at the end of the file: “source /home/ubuntu/catkin_ws/devel/setup.bash” all without the “”. Then press ctrl+x to exit and save.

 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

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