Moblin: Install mic2 in different Linux Environments

Source: Internet
Author: User
Tags gz file

Today, we are working on the new machine (the old P4 machine can finally be retired, and it is also a shame to think about it, so the development has fallen to this level ......), I have installed Ubuntu and fedora, and now I have a summary of installing MIC2 on Ubuntu8.10, Ubuntu9.04, fedora 9, and fedora 10.

Install MIC2 in Ubuntu8.10 and 9.04

[NOTE 1] Ubuntu 8.10 is the most smooth installation, but the Ubuntu community does not maintain version. This means that the version of the package downloaded using the apt-get method has been archived and new packages are not provided, in addition, the download link of 8.10 cannot be found on the page.

[NOTE 2] MIC2 cannot be installed and used on Apsara 8.04. To use version 8.04, you must reinstall the OS. The moblin-image-creator command is affected.

For more information, see http://moblin.org/documentation/moblin-image-creator-2/installation:

  • Sqlite version 3.6.10-1 is used, and a bug exists. You need to upgrade or downgrade it. If you use the new system tool directly, many other software package versions will be associated,
    Version matching fails. This method is not recommended. Sqlite3.6.10-1 Causes yum download problems: moblin-image-creator reports:
  • Retrieving http://repo.moblin.org/moblin/development/core/ia32/debug/repodata/repomd.xml... OK


    Retrieving http://repo.moblin.org/moblin/development/core/ia32/ OS /repodata/repomd.xml... OK

    Unable to create image: Unable to download from repo: near "release": syntax error

  • If there is a problem with the compilation of mic2, it means some packages are not downloaded. Because the description of MIC2 is not detailed enough, it is difficult to locate which package is missing. If this happens, install clutter first, after clutter is successfully installed, all the packages required for MIC2 compilation are also downloaded. If it is a tuu 9.04, it may be caused by python2.6.
  • For Ubuntu8.10, after MIC2 is installed, it can be used normally. For Ubuntu9.04, run moblin-image-creator to download the rpm from the moblin community and create the installation media. Refer to the following process:

Method 1:

Step 1:

Do not use git clone
Git: // git.moblin.org/moblin-image-creator-2,

Please use repo.moblin.orgto download the mic2-0.7.tar.gz file for Ubuntu.
. It can be compiled.

Step 2:

You can download the sqlite3.5.9-x version, compile and install it, and then refer to the sqlite link in/usr/bin and/usr/lib to the new version. In this way, you can download the rpm package. I used sqlite3.5.9-6.

Step 3:

If UnicodeEncodeError: 'ascii 'codec can't appears when you run moblin-image-creator
Encode characters in position 3-6: ordinal not in
Range (128) error. From the error, it is estimated that it is the font encode problem. You only need to change the system language to English. You can also use export LANG = en_US.utf8 to specify the current character set before executing the command.

Method 2:

Step 1:

Update sqlite3, including libsqlite3;

Step 2:

Change phython from version 2.6 to version 2.5. in/usr/share,/usr/bin,/usr/lib, you 'd better find the location of the relevant link file, link to version 2.6 to version 2.5.

Step 3:

Git clone can be compiled successfully.
Git: // git.moblin.org/moblin-image-creator-2.

UnicodeEncodeError. The processing method is the third step of method 1.

Install MIC2 in Fedora9 and 10

We started to install F10 on the old P4 machine. As a result, the old video card was not supported. Later, we installed it on the new machine and used the ati Video card. The result was too new and not supported. Install fedora
If the problem is displayed during the process of 10, it means it is not applicable to the graphics card driver. For example, if the old graphics card and the new graphics card are too old, you can press the tab in the grub menu after installation, and then add
Linux xdriver = vesa indicates that the ora vesa is the universal graphics card driver. After installing the system, you can install a dedicated driver.

Installation Steps, please synchronize read more http://moblin.org/documentation/moblin-image-creator-2
/Installation. Install MIC2 according to the steps in this document. If we want to make moblin-image-creator run properly, make sure that the system has been installed.
Pykickstart. This moblin website can download src, but it is more convenient to directly use yum. You may also need to install python-iniparse.

My F10, which uses Chinese as the system language, appears in the format of File "/usr/share/yum-cli/callback. py", similar to 9.04 ",
Line 196, in callback UnicodeEncodeError: 'ascii'
Codec ...... The system language can be changed to English.
You can also use export LANG = en_US.utf8 to specify the current character set before executing the command.

OK, get MIC2, and get the moblin development environment.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.