Note: Ubuntu does not support MIPS processors and can only be installed and run under x86.
First step, install QEMU
- 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"
- 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