Installing Debian using the QEMU analog MIPS processor under ubuntu12.04

Source: Internet
Author: User

Note: Ubuntu does not support MIPS processors and can only be installed and run under x86.
First step, install QEMU

  1. sudo apt-get install Qemu qemu-system.
    The Qemu-system-mips--version discovery version is too low because later QEMU requires a later version. Download http://wiki.qemu-project.org/download/qemu-2.1.2.tar.bz2, then unzip, perform make, this step takes a long time, and make install after make is done.
    If you have previously performed "sudo apt-get install qemu qemu-system", please first execute "sudo apt-get remove Qemu qemu-system"
  2. The long-time can be directly with the following link, is my Deb package, version 2.12: HTTP://PAN.BAIDU.COM/S/1BNVUVLT
Note: There is no need to install KVM for the following reasons: QEMU can make use of KVM when running a target architecture that is the same as the host ARCHITECTU Re. For instance, when running qemu-system-x86 on a x86 compatible processor, you can take advantage of the KVM acceleration -Giving benefit for your host and your guest system. (excerpt from Http://wiki.qemu.org/KVM)

The second step, using the Debian Developer's image, contains the Debian version of Squeeze. For http://people.debian.org/~aurel32/qemu/mips/. Start qemu after download to use

Start QEMU with the following arguments for a 64-bit machine:  -qemu-system-mips64-m Malta-kernel vmlinux-2.6.32-5-5 Kc-malta-hda debian_squeeze_mips_standard.qcow2-append "root=/dev/sda1 console=tty0"  -qemu-system-mips64-m Malta-kernel vmlinux-3.2.0-4-5kc-malta-hda debian_wheezy_mips_standard.qcow2-append "root=/dev/sda1 console=tty0"

This content is on the download page below, I downloaded
Vmlinux-2.6.32-5-5kc-malta and Debian_squeeze_mips_standard.qcow2 (this is relatively large)

When the download is complete, execute:

Qemu-system-mips64-m malta-kernel vmlinux-2.6.32-5-5kc-malta-hda debian_squeeze_mips_standard.qcow2-append "root=/ DEV/SDA1 console=tty0 "

The system will start and you will be prompted later:
User:user (write user can)

Password:user (Set yourself).

This completes the setup.

Notice that the window locks the mouse and uses Ctrl+alt to unlock the mouse.
Close the Qemu form, and the second boot also uses this command: qemu-system-mips64-m malta-kernel Vmlinux-2.6.32-5-5kc-malta-hda Debian_squeeze_mips_ Standard.qcow2-append "Root=/dev/sda1 console=tty0"

Installing Debian using the QEMU analog MIPS processor under ubuntu12.04

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.