Chinaunix首页 | 论坛 | 博客
  • 博客访问: 712139
  • 博文数量: 130
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 2198
  • 用 户 组: 普通用户
  • 注册时间: 2011-11-29 12:48
个人简介

每一个“丑得人神共愤”的泡妞高 手都有一颗坚忍的心,这证明了人类 在绝境中毫不妥协的求生精神,反正丑都丑了,索性放开手脚大干一场,这就叫“无产阶级失去的是锁链,得到的是全世界”

文章分类

全部博文(130)

文章存档

2013年(130)

我的朋友

分类: LINUX

2013-07-23 15:45:01

注:ubuntu是不支持mips处理器的,只能在x86下安装运行
第一步、安装qemu
  1. sudo apt-get install qemu qemu-system
注:没有必要安装KVM,原因如下:QEMU can make use of KVM when running a target architecture that is the same as the host architecture. For instance, when running qemu-system-x86 on an x86 compatible processor, you can take advantage of the KVM acceleration - giving you benefit for your host and your guest system. (摘自)
第二步、使用debian开发人员做好的镜像,其中已经包含了debian的squeeze版。下载地址为。下载后启动qemu即可使用
  1. qemu-system-mips -M malta -kernel vmlinux-2.6.32-5-4kc-malta -hda debian_squeeze_mips_standard.qcow2 -append "root=/dev/sda1 console=tty0"
要自己安装镜像的话,我的思路如下(不过这种做法在qumu-system-i386下可以,在i386下安装ubuntu我测试了,在mips下不行,因为qemu貌似还没有mips下的bios fireware,详解参考资料):
第一步、下载debian的mips镜像(我下载的是debian-7.1.0-mips-CD-1.iso)

第二步、创建虚拟磁盘
  1. qemu-img create qemu-mips-debian.img 5G
第三步、启动qemu
  1. qemu-system-mips -hda qemu-mips-debian.img -cdrom debian-7.1.0-mips-CD-1.iso -boot d -m 1024
参数说明:-hda qemu-mips-debian.img     指定硬盘
                 -cdrom debian-7.1.0-mips-CD-1.iso     指定cdrom
                 -boot d     从cdrom启动
                 -m 1024     指定内存大小为1024M
第四步、安装系统
第五步、启动debian
  1. qemu-system-mips -hda qemu-mips-debian.img -m 256
OVER

参考资料:


阅读(7244) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~