Tutorial: HOWTO: Install Ubuntu 9.04 onto Roboard - Part 2 of 3

  1. kboyd kboyd is offline Abacus
    Category
    How To, DIY
    Views
    25,072
    Replies
    0
     

    HOWTO: Install Ubuntu 9.04 onto Roboard - Part 2 of 3

    Difficulty
    As easy as reading an article about technology - accessible to anyone!
    Estimated Time
    Expect to spend anywhere from 1 to 3 hours to complete the basics of this tutorial.
    Skills Required
    No skills required - just patience and the right tools!
    Parts Required
    * A Roboard RB-100
    * A desktop computer that can 1) Run Virtual Machines well and 2) boot from a USB memory card
    * 8GB microSDHC memory card with USB carrier/adapter like this
    * A working Internet connection and web browser
    * VMware Workstation
    * Ubuntu 9.04 Desktop

    Optional Hardware:
    * USB Ethernet adapter (for troubleshooting and updates): here
    Tools Required
    Hi!

    This is Part II of the Ubuntu Install tutorial. Be sure to read Part I before reading here. Good Luck!

    At the end of Part I, you were preparing your drive partitions and swap space. Let's continue!

    It's a good idea to manually specify your drive partitions, so let's choose that option:



    Now we can click Forward to continue. The installer will scan the microSDHC card, and then present you with installer-provided partition defaults:



    The roboard ships with 256MB of RAM. In order to run multiple large applications, the roboard seems to work well with a 2GB swap space on
    a Class 6 microSDHC card. The rest of the memory card can be used as your hard drive. Single-click "Delete Partition" to remove the preconfigured
    partitions presented to you in step 4. The result will be this:


    If no partitions are presented to you, then you will see a screen like this:


    If your "Prepare partitions" screen looks like the one shown here (no "free space" entry in the "Device" column) then single-click "New partition table:"


    Click Continue and the installer will create the "free space" partition on your storage device.

    Now you can add your new partitions by single-clicking the text "free space" and then clicking "New partition".

    Type in 2048 for the size of the swap area, and choose "Use as:" drop down choice of "swap area" so that you have this:


    Click "OK" to create the new partition. When the partition has been created, you will be presented with:


    Next, we will create a new partition to be used as the file storage area of your memory card. Once again, click on "free space" and then click
    "New partition". Enter these values in order to configure this free space:


    Once you have entered these values, click "OK." When the machine has finished allocating this partition, you will have this result:


    Click "Forward" to continue. Next, we will configure the default user account for Ubuntu:


    Please fill in the user information as you wish. For the sake of speed, this example suggests that you choose to log in automatically. If you are
    not interested in doing so, it is not required. Click "Forward" to continue when you are ready.


    At this point, Ubuntu has all of the information it needs to install. Click "Install" to begin:



    Be patient. Depending on your computer speed, microSDHC card speed, and your patience level, this will take some time.


    25% Done. Sit back, relax, twirl a robot arm, go nuts. :^)


    53% done... go find a funny clip on youtube or something - I hear that's the new Solitaire. If the screen goes black during the install, don't worry -
    that is just the installer's screen saver. You can click and/or move the mouse to make everything reappear.

    And so it goes until you reach this screen:


    At this point, we will restart by clicking the "Restart" button - this will exit the installer Graphical User Interface and leave you sitting at a blinking cursor.
    From here. It is okay to shut down and exit VMware Workstation - to complete the install you will need to reboot the entire desktop machine and boot from the microSDHC card install of Ubuntu that you have just created.

    Booting your desktop machine from microSDHC card: Your desktop machine, at power-on, should be able to boot from a bootable USB device. Perform the steps necessary to boot from your microSDHC card. The Ubuntu install should automatically log you in and if you are still connected to the Internet, you will be presented with Update Manager.

    You may or may not want to run Update Manager. For this tutorial we will choose to "Install Updates." The Update Manager may ask you to provide your password for permission to continue updating the system. Once all updates have been installed, you can either reboot now or later, it makes no difference.

    At this point, you are now running a version of Ubuntu that supports i686- or higher-class machines. Your roboard is an 486-class machine. Your next task is to install the roboard compatible kernel. Use your mouse and select

    Applications -> Accessories-> Terminal:


    Once the Terminal window has opened, issue the following command:
    sudo apt-get -y install linux-386

    The Terminal session will ask you for your password, and then proceed:



    Once the install of the i386 support files is complete, you will be returned to a Terminal prompt:


    The next step is to set our new kernel as the default kernel to load at boot time. Type:

    sudo nano -w /boot/grub/menu.lst

    and then press ENTER:


    The nano text editor will allow you to modify the grub boot menu file. We want to make two changes: 1. Set the default boot entry selection to our i386 kernel, and 2. add the boot flags needed to support the roboard. The nano full-screen text editor presents the file for editing:


    Please proceed to forums.trossenrobotics.com/tutorials/how-to-diy-128/howto-install-ubuntu-904-onto-roboard-part-3-of-3-3270/ (Part 3 of 3) in order to complete this tutorial.
    Attached Files
    • ub11
    • ub12
    • ub13
    • ub14
    • ub15
    • ub16
    • ub17
    • ub18
    • ub19
    • ub20
    • ub21
    • ub22
    • ub23
    • ub24
    • ub25
    • ub26
    • ub27
    • ub28
    • ub29
    • ub30