Install and Run Image Creator

This page details how to install and run Moblin Image Creator on your Ubuntu Linux or Fedora Linux PC. (Other Debian or RPM-based distributions may also work, but have not been verified).

Note: These steps describe the process for Moblin v1 using Moblin Image Creator (MIC--first version). Moblin v2 (Feb 2009 and beyond) uses MIC2. Users should go to the new test drive page.

Overview

Steps to create an image for your device.

  1. Install and run Image Creator
  2. Create a project and target for your platform
  3. (Optional) Add applications or customize the target file system
  4. Create an image of the target
  5. Boot the image on your netbook or MID

Supported Devices

Image Creator currently allows you to create an image for a growing number of devices. Devices which have been verified to work include: the Samsung Q1 Ultra, CrownBeach, Compal Jax10, and Asus EeePC Netbook.
Note: You do not need to have a mobile device to develop or debug applications. Using Image Creator, you can develop applications and test run the UI on your Linux workstation.

System Requirements

The instructions in this guide assume that you have the following components:

Software:

  • Ubuntu Gutsy (7.10) or Hardy (8.04) with the following packages:
    git-core, automake, build-essential, intltool, dh-make, python, debootstrap, fakeroot, curl, yum, kvm, qemu, python (v2.4)

    $ sudo apt-get install git-core automake build-essential intltool dh-make python debootstrap fakeroot curl yum kvm qemu python2.4

    Note: A current incompatibility with yum, python 2.5, and the latest python element tree libraries requires that you force yum to use python 2.4. Replace the first line in /usr/bin/yum with the following:

    #!/usr/bin/python2.4

  • Fedora 9.0 with the following packages:
    git, automake, autoconf, make, intltool, python, debootstrap, libtool, kvm, qemu, gettext-devel, gettext-libs

    # yum install git automake autoconf make intltool python debootstrap kvm qemu gettext-devel gettext-libs

Hardware:

Removable USB Drive ( >= 1 GB)

Get and Install Moblin Image Creator (for user)

Use download the Image Creator RPM or deb package to your workstation, then install it.
Download page is here.

Ubuntu Gutsy (7.10) or Hardy (8.04) with the following packages:

  • $ dpkg -i moblin-image-creator_<version>_all.deb
    $ sudo image-creator

Fedora 9.0 with the following packages:

  • # rpm -ihv moblin-image-creator-<version>-<release>.fc9.noarch.rpm
    $ image-creator
  • When you run a image-creator, Fedora system shows to us while please input root password
    of window.

You should now see Image Creator running on your workstation.

Get, Build, Install, and Run Moblin Image Creator (for developer)

Use "git" to download the Image Creator source code to your workstation, then build and install it. See the troubleshooting page if you have problems.

Ubuntu Gutsy (7.10) or Hardy (8.04) with the following packages:

Fedora 9.0 with the following packages:

Update Image Creator (for user)

To update (rebase) Image Creator at any time, run the following steps:
Use download the latest version of Image Creator RPM or deb package to your workstation, then install it.

Ubuntu Gutsy (7.10) or Hardy (8.04) with the following packages:

  • $ dpkg -i moblin-image-creator_<version>_all.deb

Fedora 9.0 with the following packages:

  • # rpm -Uhv moblin-image-creator-<version>-<release>.fc9.noarch.rpm

Update Image Creator (for developer)

To update (rebase) Image Creator at any time, run the following from the moblin-image-creator directory created in the previous steps:

Ubuntu Gutsy (7.10) or Hardy (8.04) with the following packages:

  • $ git pull
    $ ./autogen.sh
    $./configure
    $ sudo make install

Fedora 9.0 with the following packages:

  • $ git pull
    $ ./autogen.sh
    $./configure
    $ su -
    # make install

Command-line

You can also run Moblin Image Creator from the command-line. This is useful for scripting and automation. To see the available list of command-line arguments, use the following command:

$ sudo image-creator --help

For more information, read the Command-line page.

View the Source Online

The Moblin Image Creator source is contained in a git source repository and can be viewed online. For more information, read about getting the source.

Comments (8 total)

The Git URL above was wrong

Windows Based install

What about installing the image creator on a windows machine?? What happened to the idea of using this on everything? I was wanting to try this on my main PC, or at least look at it on my main, and it would be very good for other users to have a windows installer at least for the img, if possible.

Thanks

kvm not found!!

hi
i'm new to all this, linux too...
i have an aspire one and would like to try this.
but i'm having this error messege when i try to do the first step!!
my console says that vannot find the kvm package...
can anyone help me with this.
i'm running the UBUNTU NETBOOK REMIX.
thanks
paulo

Target:menlow platform Image

Target:menlow platform
Image version :moblin-image-creator-0.48-1.fc9.noarch.rpm

Build Moblin target image
Platform Projects->“Add”
Enter Name & Desc
Enter Path
Select “menlow-lpia-moblin2”
Click “Add a Target”
Enter Target Name
“Add Functional Sets”
Select core Sets
Build “Install USB”
“Write USB image”

During installing, repeat the below information unceasingly....

Sleeping finished
Checking device /dev/sda for installation source…
Checking device /dev/sdb for installation source…
Found Removable drive at /dev/sdb
mount: mounting /dev/sdb on /mnt failed : No such file or directory
umount: cannot umount /dev/sdb : No such file or directory
/dev/sdb does not contain a rootfs
Checking device /dev/sdc for installation source…
Checking device /dev/sdd for installation source…

fatal: Fetch failed

error: Couldn't resolve host 'git.moblin.org' (curl_result = 6, http_code = 0, sha1 = cdb392ab52654e776946262e17e3eba14856aa11)
error: Unable to find cdb392ab52654e776946262e17e3eba14856aa11 under http://git.moblin.org/repos/tools/moblin-image-creator.git
Cannot obtain needed blob cdb392ab52654e776946262e17e3eba14856aa11
while processing commit 15474c3a6d6ad3035cc15dae5d86dcd2e4116527.
fatal: Fetch failed.

Trouble running image-creator in Fedora 9

Hi,

I have the exact same problem as Gorden on the troubleshooting page.

MIC seems to install fine on Fedora 9, but I try to run it the following error occurs:

$ sudo image-creator
Traceback (most recent call last):
  File "/pub/paul/moblin-image-creator/image-creator", line 33, in <module>
    import SDK
ImportError: No module named SDK

Any ideas?

Paul

Error when trying to download

Hello,

I am getting a error when trying to run the git command that downloads the moblin image creator:
......
got 914d6170a109f36ed996c4146d6c93ee48711891
got d55b557242b464b2dca5601b5c9ff17cfc4d24ec
got ec695c7e2057b8314fa58f0f0dc80f839cd0657f
error: Failed connect to git.moblin.org:80; Operation now in progress (curl_result = 7, http_code = 301, sha1 = ec695c7e2057b8314fa58f0f0dc80f839cd0657f)
error: Unable to find f406485abd92c5684bccc51f7a217bb7ea432039 under http://moblin.org/repos/tools/moblin-image-creator.git
Cannot obtain needed tree f406485abd92c5684bccc51f7a217bb7ea432039
while processing commit 2689d5b2c7b84c316b320893c1bf9313849d4078.
....
have tried several times but get the same error.
Any ideas for workaround?
thanks

The Git URL above was wrong

The Git URL above was wrong and has been fixed. It should be:

http://git.moblin.org/cgit.cgi/moblin-image-creator/

Thanks!