(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Turtlebot Ubuntu Installer

Description: Using and Regenerating the Turtlebot Ubuntu Installer

Tutorial Level: BEGINNER

Using the Turtlebot Ubuntu Installer

The Turtlebot installer is designed to install Ubuntu 10.04 and the Turtlebot ROS packages on the official turtlebot laptop, the Asus EEE 1215N. Using the installer with other laptops may work, but is unsupported.

To use the installer you will need an empty 2GB or bigger USB flash drive; this process will erase your drive and turn it into a bootable USB installer.

  1. Download the ISO image from location

  2. Create a bootable USB installer from this ISO image.
    1. Insert your USB drive into your computer running Ubuntu.
    2. Launch the "Startup Disk Creator" tool on Ubuntu (System -> Administration -> Startup Disk Creator)

    3. If the ISO you downloaded does not appear in the list of source disk images, click other and find it.
    4. Make sure that your ISO is selected. This does not happen automatically if you use the "Other" button.
    5. Select the partition that corresponds to your USB drive.
    6. Click "Make Startup Disk"
    7. Enter your password when prompted
    8. When finished, unplug your USB drive
  3. Power off your turtlebot laptop.
  4. Plug your bootable USB drive into your turtlebot laptop
  5. Power on your turtlebot laptop. Depending on your version of the laptop press Delete or ESC as soon as you see the BIOS splash screen. This will take you to a screen will the title Please select boot device and lists both laptop harddrive and USB drive. The screen should look something like: boot_device_select_screenshot_800x600.jpg Bigger

  6. Select your USB drive as the boot device and press enter
  7. Wait for the installer to load. It may take a few minutes.
  8. Push the "Install Ubuntu 10.04.3 LTS" button
  9. Follow the install directions. Recommended settings:
    1. On "Prepare disk space" select "Erase and use the entire disk"
    2. On "Who are you," you MUST enter "turtlebot" for "What name do you want to use to log in?"
  10. Wait for the installer to finish, and click reboot.

How to regenerate the Turtlebot Installer

  1. Download the desktop install ISO for the version of ubuntu that you want to use. The current installer is based on Ubuntu 10.04 64-bit. Here is a list of Ubuntu ISOs

  2. Install UCK.
    sudo apt-get install uck
  3. Run UCK
    uck-gui
    1. Select the languages you want to support (use 'en' for english). Here is a list of 2-letter codes descriptions

    2. Choose desktop environments. At a minimum, you should select gnome
    3. When prompted, locate the ubuntu ISO you downloaded earlier
    4. Enter "Turtlebot" as the name for your CD
    5. Select YES to customize this CD manually
    6. Select YES to delete all windows-related files. These are unnecessary since we are building an installer.
    7. Read information, then click Close and switch to terminal to enter your login password for current system (same password you would be using for sudo)

    8. Wait. The unpack process will take 10-100minutes.
    9. Once previous is complete, a GUI prompt will be displayed. When prompted, choose to run a console application to customize your CD
    10. Download the customization script. Read it and make any necessary updates, for example to upgrade to a newer kernel, wireless drivers or a newer version of ROS.

    11. Open a new terminal (not in the UCK chroot environment) and copy the customization script to ~/tmp/remaster-root. You may need to use sudo. Also, note the ~ in ~/tmp.

    12. In the UCK chroot terminal, run the customization script:
      chmod u+x turtlebot.sh
      ./turtlebot.sh
    13. Exit the customization terminal. You will see a window appear prompting for the next step to take; ignore it for now.
    14. Open a normal terminal and navigate to ~/tmp/remaster-root
    15. Do 'sudo rm -rf root/.gconfd'. Do 'sudo ls -a root' to confirm that there are no gnome-related configuration directories still floating around. Remove them if they still exist.
    16. Go back to the UCK window and select "Continue Building".
    17. Wait for the installer to finish. Move your competed image to its final location and give it a more meaningful name.
    18. Celebrate! a 6-pack of Beer is recommended.

Wiki: turtlebot/Tutorials/TurtlebotUbuntuInstaller (last edited 2011-12-22 20:59:58 by dking)