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

  1. kboyd kboyd is offline Abacus
    Category
    How To, DIY
    Views
    18,741
    Replies
    0
     

    HOWTO: Install Ubuntu 9.04 onto Roboard - Part 3 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 III of the Ubuntu Install tutorial. Be sure to read Part I *AND* Part II before reading here. Good Luck!

    At the end of Part II, you were preparing your default boot configuration. Let's continue!


    First we will set the default boot entry to 4 - which will correspond to the linux-386 kernel boot entry in this file that we are interested in using:


    The number "4" refers to the fact that the fifth boot entry in this configuration file(0,1, 2, 3, 4) is the one that we would like to use as the default - it may be different if you did not decide to perform the software upgrades suggested by the Update Manager after the initial boot.

    Next we will find this boot menu entry for the 386 kernel and add the flags we need to support the roboard. To do this quickly and easily press
    "Ctrl-W" to enable search in nano, and then type "386" (no quotes):


    and then press ENTER. This should take you to the first boot entry with "386" in its title. To find the end of the kernel boot string we want,
    press the key combination "Ctrl-W" to search again and then type "splash" (no quotes):


    and then press ENTER. Once again we will remove the word "splash" and type the following flags:

    pnpbios=off acpi=off noreplace-paravirt noapic nolapic

    so that the end of this boot command becomes:


    (the entire command is word-wrapped so you cannot see it at the point shown above except for the "nolapic" flag)

    You are finished editing menu.lst. To save your changes, press "Ctrl-X" - then press "Y" - and then press ENTER to save your changes:


    The text editor application nano will close, and you will be returned to a Terminal prompt. Before you reboot or try the new kernel on your roboard, you may want to verify that your changes have taken effect. To do this, let's check the current version of Ubuntu by issuing the command:

    uname -r



    The command returns the default kernel, 2.6.28-11-generic. We will make a note of this, and issue a reboot:


    The machine will now restart. The boot loader should automatically choose our linux-386 kernel and automatically log in to the operating system.

    After what should be an uneventful reboot, you will be presented with your logged in user desktop. Open a Terminal window and type

    uname -r

    again:


    "uname -r" reports that you are now running 2.6.28-6-386. Congratulations! You have successfully installed a roboard compatible kernel as your default boot kernel on your microSDHC memory card. Now it's time for the big test - installing this card into your roboard. First, we need to orderly shut down Ubuntu. The shutdown option is located in the upper right-hand corner of the desktop:


    Click "Shut Down..." here, and then click the "Shut Down" button that pops up afterwards. When your desktop computer reports the
    "System halted." then it is safe to power down the machine and remove your memory card.

    At this point, you can install the memory card into your roboard, connect a video display, keyboard, mouse, speakers, and then power up to test out your system. Congratulations! Consider "Part One" of your install complete!

    But what now?

    Well, by default, the Ubuntu install will correctly detect your audio card, and provide a 800x600 video display. In order to get the most out of your roboard, you may want to:

    1. Customize your video card resolution to match your monitor (up to 1600x1200)
    2. Install programming development tools and utilities
    3. Configure on-board ethernet
    4. Maybe control some servos

    More to come :^) - have fun!

    -kboyd
    Attached Files
    • ub31
    • ub32
    • ub33
    • ub34
    • ub35
    • ub36
    • ub37
    • ub38
    • ub39
    • ub40