This is Google's cache of http://odroid.foros-phpbb.com/t2440-guide-installing-the-latest-ubuntu-on-odroid-x-emmc. It is a snapshot of the page as it appeared on 18 Feb 2013 03:05:27 GMT. The current page could have changed in the meantime. Learn more
Tip: To quickly find your search term on this page, press Ctrl+F or ⌘-F (Mac) and use the find bar.

Text-only version
 
[GUIDE] Installing the Latest Ubuntu On ODROID-X eMMC

Log in

I forgot my password

HardKernel

Latest topics

Poll

How is your Over Clocking(ODROID-X)?
25% 25% [ 9 ]
33% 33% [ 12 ]
42% 42% [ 15 ]

Total Votes : 36

    [GUIDE] Installing the Latest Ubuntu On ODROID-X eMMC

    Share

    mdrjr
    Teacher Forum
    Teacher Forum

    Languages ​​spoken: English and Portuguese
    Devices: ODROID-X, ODROID-X2, ODROID-U2, ODROID-Q and ODROID-Q2
    Posts: 2863
    Join date: 2012-07-19
    Age: 28
    Location: Brazil

    [GUIDE] Installing the Latest Ubuntu On ODROID-X eMMC

    Post by mdrjr on Mon Jan 28, 2013 7:22 pm

    This will overwrite your eMMC! Be Ware!

    First you'll need some files.

    http://dn.odroid.com/Android_Alpha_4.0.2/x/
    or
    http://www.mdrjr.net/odroid/mirror/dn.odroid.com/Android_Alpha_4.0.2/x/

    And the latest release of Ubuntu for ODROID-X available at:
    http://odroid.foros-phpbb.com/t2416-linaro-ubuntu-1211-for-odroid-x
    or
    http://dn.odroid.com/Ubuntu_X/20130128/

    Needed tools:
    eMMC card
    SDCard
    A Computer running Linux

    1. Write the eMMC Android Installer to a SDCARD.
    2. Setup ODROID-X board to boot of SD (Jumper).
    3. Make sure that the eMMC installer SDCARD and eMMC are connected.
    4. Turn on the board. Wait at least 15mins for the fully flash.
    5. After waiting 15 minutes, power off the board, remove the sdcard set the jumper to eMMC boot!
    6. Check if booted onto Android, if yes. Continue, otherwise double check the first five steps!
    7. Write the Ubuntu image to the SDCARD!
    8. Change the jumper to SD boot and boot up with your new SDCARD with Ubuntu on it.
    9. Check if Ubuntu booted! If so, continue, otherwise double check steps above.
    10. Power off the board, reconnect the SDCard to your PC and copy the Ubuntu image (with .xz extension, the compressed one to your sdcard rootfs partition)
    11. Connect the eMMC with Android as well the SdCard with Ubuntu, set the jumper to SDCard boot.
    12. Boot on your Ubuntu, Open a Terminal and navigate to where you saved your Ubuntu img.xz
    13. Now figure out wheres your eMMC. Type
    ls /dev/mmcblk*
    Your eMMC will be the device with with boot0/boot1 on it as well p1/p2/p3/p4 as well. We'll assume that is mmcblk0! YOU MUST CHECK!

    14. On the folder that your Ubuntu img.xz is type: xzcat odroidx_20130128-linaro-ubuntu-desktop_SD_with_HDMI.img.xz | dd of=/dev/mmcblk0 bs=4M

    15. Type sync
    16. poweroff
    17. Remove SDcard and set the jumper to eMMC boot.

    18. Enjoy.


    I'll probably refine this soon ;( Sorry for too much steps.


    Last edited by mdrjr on Tue Jan 29, 2013 4:32 pm; edited 1 time in total

    headhoncho
    Member
    Member

    Languages ​​spoken: English (native), Korean (native)
    Devices: ODROID-X
    Posts: 17
    Join date: 2012-10-02
    Location: New York

    Re: [GUIDE] Installing the Latest Ubuntu On ODROID-X eMMC

    Post by headhoncho on Mon Jan 28, 2013 7:26 pm

    THANK YOU!!!!!!!!!

    Very Happy

    headhoncho
    Member
    Member

    Languages ​​spoken: English (native), Korean (native)
    Devices: ODROID-X
    Posts: 17
    Join date: 2012-10-02
    Location: New York

    Re: [GUIDE] Installing the Latest Ubuntu On ODROID-X eMMC

    Post by headhoncho on Tue Jan 29, 2013 1:04 am

    mdrjr wrote:
    13. Now figure out wheres your eMMC. Type
    ls /dev/mmcblk*
    Your eMMC will be the device with with boot0/boot1 on it as well p1/p2/p3/p4 as well. We'll assume that is mmcblk1! YOU MUST CHECK!

    14. On the folder that your Ubuntu img.xz is type: xzcat odroidx_20130128-linaro-ubuntu-desktop_SD_with_HDMI.img.xz | dd of=/dev/mmcblk1 bs=4M


    Hey mdrjr,

    Thank you for the write yup!

    I'm just having one snag...

    Starting with step 13. I typed "ls /dev/mmcblk*"

    On my system, it seems that the eMMC is on mmcblk0 (because the boot0/boot1 and p1/p2/p3/p4 are all on mmcblk0).

    I then typed:
    "xzcat odroidx_20130128-linaro-ubuntu-desktop_SD_with_HDMI.img.xz | dd of=/dev/mmcblk0 bs=4M"

    It gives me this response:
    "dd: opening '/dev/mmcblk0': Permission denied

    Any thoughts? I'm guessing I may need to repair permissions? I'm not sure how I can do that within Ubuntu (booting up from the SD card).

    Thank you so much! cheers

    magnum_pi
    Member
    Member

    Languages ​​spoken: English, Japanese
    Devices: ODROID-X2, ODROID-U2
    Posts: 61
    Join date: 2012-12-27
    Location: Ireland

    Re: [GUIDE] Installing the Latest Ubuntu On ODROID-X eMMC

    Post by magnum_pi on Tue Jan 29, 2013 2:12 am

    headhoncho wrote:"xzcat odroidx_20130128-linaro-ubuntu-desktop_SD_with_HDMI.img.xz | dd of=/dev/mmcblk0 bs=4M"

    You need to be running the dd as root. Either 'sudo su -' before running the entire command, or use 'sudo dd' in the above line.
    Alternatively:
    Code:

    xzcat odroidx_20130128-linaro-ubuntu-desktop_SD_with_HDMI.img.xz | sudo tee /dev/mmcblk0 > /dev/null

    You'll often see people saying to do things like:
    Code:

    echo blah blah > output_file

    but a regular user might not have access to output_file. Even doing
    Code:

    sudo echo blah blah > output_file

    won't work because the output redirection part is being done in the current shell, and not by the root user. That's why writing to a file as the root user needs to use this idiom instead:
    Code:

    echo blah blah | sudo tee output_file
    # OR
    echo blah blah | sudo tee output_file >/dev/null

    The second version there stops "blah blah" from being echoed on the terminal, which might be desirable in same cases (such as with the xzcat command above). The "tee" command acts like a literal "T" and splits the output, with one output going to the standard output, while the other one goes to the file that you give it as a parameter. Simple, really, and very useful in cases like this when regular shell redirection isn't working for you...

    magnum_pi
    Member
    Member

    Languages ​​spoken: English, Japanese
    Devices: ODROID-X2, ODROID-U2
    Posts: 61
    Join date: 2012-12-27
    Location: Ireland

    Does this procedure also work for X2?

    Post by magnum_pi on Tue Jan 29, 2013 2:31 am

    If I use the X2 versions of Android and Ubuntu, of course?

    headhoncho
    Member
    Member

    Languages ​​spoken: English (native), Korean (native)
    Devices: ODROID-X
    Posts: 17
    Join date: 2012-10-02
    Location: New York

    Re: [GUIDE] Installing the Latest Ubuntu On ODROID-X eMMC

    Post by headhoncho on Tue Jan 29, 2013 6:41 am

    Thank you mdrjr!

    Your instructions worked spot on!!!

    cheers

    mdrjr
    Teacher Forum
    Teacher Forum

    Languages ​​spoken: English and Portuguese
    Devices: ODROID-X, ODROID-X2, ODROID-U2, ODROID-Q and ODROID-Q2
    Posts: 2863
    Join date: 2012-07-19
    Age: 28
    Location: Brazil

    Re: [GUIDE] Installing the Latest Ubuntu On ODROID-X eMMC

    Post by mdrjr on Tue Jan 29, 2013 11:50 am

    magnum_pi wrote:If I use the X2 versions of Android and Ubuntu, of course?


    Yep Wink

    Tommy.Z
    Member
    Member

    Languages ​​spoken: German, English
    Devices: ODROID-X
    Posts: 25
    Join date: 2012-12-21

    Re: [GUIDE] Installing the Latest Ubuntu On ODROID-X eMMC

    Post by Tommy.Z on Tue Jan 29, 2013 4:05 pm

    Here the device is mmcblk0
    device is flashing :-)

    mdrjr
    Teacher Forum
    Teacher Forum

    Languages ​​spoken: English and Portuguese
    Devices: ODROID-X, ODROID-X2, ODROID-U2, ODROID-Q and ODROID-Q2
    Posts: 2863
    Join date: 2012-07-19
    Age: 28
    Location: Brazil

    Re: [GUIDE] Installing the Latest Ubuntu On ODROID-X eMMC

    Post by mdrjr on Tue Jan 29, 2013 4:32 pm

    Tommy.Z wrote:Here the device is mmcblk0
    device is flashing :-)


    Updated the OP to match the more frequent mmcblk0, but remember it can be mmcblk1 as well. That's why I'm asking for checks Smile

    Tommy.Z
    Member
    Member

    Languages ​​spoken: German, English
    Devices: ODROID-X
    Posts: 25
    Join date: 2012-12-21

    Re: [GUIDE] Installing the Latest Ubuntu On ODROID-X eMMC

    Post by Tommy.Z on Wed Jan 30, 2013 9:10 am

    Working perfect.
    Thanks

      Current date/time is Mon Feb 18, 2013 4:05 am