qemu windows 32位安装过程

QEMU Windows版本:

http://qemu.weilnetz.de/w32/qemu-w32-setup-20150925.exe

http://qemu.weilnetz.de/


ARM版的debian:

https://people.debian.org/~aurel32/qemu/armel/vmlinuz-3.2.0-4-versatile

https://people.debian.org/~aurel32/qemu/armel/initrd.img-3.2.0-4-versatile

桌面版本

https://people.debian.org/~aurel32/qemu/armel/debian_wheezy_armel_desktop.qcow2

标准版本

https://people.debian.org/~aurel32/qemu/armel/debian_wheezy_armel_standard.qcow2

https://people.debian.org/~aurel32/qemu


启动命令

1)  qemu-system-arm -M versatilepb -kernel vmlinuz-3.2.0-4-versatile -initrd initrd.img-3.2.0-4-versatile -hda debian_wheezy_armel_standard.qcow2 -append "root=/dev/sda1"
2) qemu-system-arm -M versatilepb -kernel vmlinuz-3.2.0-4-versatile -initrd initrd.img-3.2.0-4-versatile -hda debian_wheezy_armel_desktop.qcow2 -append "root=/dev/sda1"
 
  
以下摘自
https://people.debian.org/~aurel32/qemu/armel/README.txt
 
  
所有的镜像都是25G的QCOW2格式,安装了Debian的Wheezy系统
标准版本的镜像安装的是“标准版系统",而桌面版镜像安装的是"标准版系统"加上
支持Gnome,KDE,和Xfce的“桌面环境"。 Wheezy原生版本上的默认桌面是Gnome,默认的
显示管理器是GDM. 它们都不能在QEMU下使用。Gnome需要图形加速显卡在QEMU上不支持,
另外Gnome和KDM都需要QEMU提供128MB的内存。在Wheezy镜像里用Xfcet和LightDM替换了
它们。Gnome和GDM仍然保存在镜像里,可以通过下面的命令还原:
  - update-alternatives --auto x-session-manager
  - echo /usr/sbin/gdm3 > /etc/X11/default-display-manager
其它的安装选项如下:
  - 键盘:       US
  - 位置:         en_US
  - 镜像站:         ftp.debian.org
  - 主机名:       debian-armel
  - Root密码:  root
  - 用户名:   user
  - 用户密码:  user
使用这些镜像,你需要安装QEMU 1.1.0(或更高版本).
启动QEMU,使用如下命令参数
  - qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.img-2.6.32-5-versatile -hda debian_squeeze_armel_standard.qcow2 -append "root=/dev/sda1"
  - qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.img-2.6.32-5-versatile -hda debian_squeeze_armel_desktop.qcow2 -append "root=/dev/sda1"
  - qemu-system-arm -M versatilepb -kernel vmlinuz-3.2.0-4-versatile -initrd initrd.img-3.2.0-4-versatile -hda debian_wheezy_armel_standard.qcow2 -append "root=/dev/sda1"
  - qemu-system-arm -M versatilepb -kernel vmlinuz-3.2.0-4-versatile -initrd initrd.img-3.2.0-4-versatile -hda debian_wheezy_armel_desktop.qcow2 -append "root=/dev/sda1"
QEMU的默认为机器配置128MB内存。选项-m可以调整内存大小,但最大是256MB。如果你不想以启动图形模式的QEMNU,
你可以使用 -nographic选项。镜像配置为在第一个串口(ttyAMA0)显示登录提示。如果你想切换开机信息到串口,你
需要加"root=/dev/sda1" 之后添加 "console=ttyAMA0". 
------
第一次翻译,大家体谅一下

原文:
-----BEGIN PGP SIGNED MESSAGE-----
 
  
Hash: SHA1,SHA256

Debian Squeeze and Wheezy armel images for QEMU
===============================================

This directory contains Debian Squeeze and Wheezy armel images for QEMU and
the corresponding kernels and initrds:
  27c20dbf3223a77e8151154df93b21f5  debian_squeeze_armel_standard.qcow2
  79b6973f6de11cbb7dbf79b2ec416ae5  debian_squeeze_armel_desktop.qcow2
  e274c88e4bc9eb190c41f4444580c60d  initrd.img-2.6.32-5-versatile
  f9d5f7019291fd0deaf2231d78ebbb53  vmlinuz-2.6.32-5-versatile
  4b830c500591181e3af2d832da39f1ba  debian_wheezy_armel_standard.qcow2
  b40008b3aac6c270e41c9b35e43151ad  debian_wheezy_armel_desktop.qcow2
  ed7c39ec86e759240bdddd783248ed8b  initrd.img-3.2.0-4-versatile
  3bdf3393243e65bd862b1398a494134a  vmlinuz-3.2.0-4-versatile

All images are 25GiB images in QCOW2 format on which a Debian Squeeze or Wheezy
system has been installed. The standard images correspond to a "Standard system"
installation, while the desktop images correspond to a "Standard system" +
"Desktop environment" with Gnome, KDE and Xfce environments. On Wheezy the
original default desktop environment is Gnome and the default display manager is
GDM. These can not work in QEMU, as Gnome needs an accelerated graphics card,
which is not provided by QEMU. Moreover both Gnome and GDM need more than the
default 128MiB memory provided on QEMU. They have therefore been replaced
respectively by Xfce and LightDM on the Wheezy desktop image. Both Gnome and GDM
are still installed on the image, and the original default can be restored using
the following commands:
  - update-alternatives --auto x-session-manager
  - echo /usr/sbin/gdm3 > /etc/X11/default-display-manager
The other installation options are the following:
  - Keyboard:       US
  - Locale:         en_US
  - Mirror:         ftp.debian.org
  - Hostname:       debian-armel
  - Root password:  root
  - User account:   user
  - User password:  user

To use these images, you need to install QEMU 1.1.0 (or later). Start
QEMU with the following arguments:
  - qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.img-2.6.32-5-versatile -hda debian_squeeze_armel_standard.qcow2 -append "root=/dev/sda1"
  - qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.img-2.6.32-5-versatile -hda debian_squeeze_armel_desktop.qcow2 -append "root=/dev/sda1"
  - qemu-system-arm -M versatilepb -kernel vmlinuz-3.2.0-4-versatile -initrd initrd.img-3.2.0-4-versatile -hda debian_wheezy_armel_standard.qcow2 -append "root=/dev/sda1"
  - qemu-system-arm -M versatilepb -kernel vmlinuz-3.2.0-4-versatile -initrd initrd.img-3.2.0-4-versatile -hda debian_wheezy_armel_desktop.qcow2 -append "root=/dev/sda1"

By default QEMU emulates a machine with 128MiB of RAM. The -m option increases
or decreases the size of the RAM. It is however limited to 256MiB. If you don't
want to start QEMU in graphic mode, you can use the -nographic option. The image
is configured to display a login prompt on the first serial port (ttyAMA0). If
you want to switch the boot messages to the serial port, you need to add
"console=ttyAMA0" after "root=/dev/sda1".

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iD8DBQFSyvX1w3ao2vG823MRAsPBAJ9YtmnTvsC+BYzv/SI6Wdnestiz4wCeNfIL
4ZA105hNfik2GAyrdjeFoXyJAhUDBQFSyvX1upx4Bh3djJsBCFVdD/wIBGWbGfYJ
kHd2KvjOzroItiQMCvlcvC0GPq1RTr4qzB7CrHquM6xsEBS/RZwuBfIGFZ8CUlyj
xp0ti6m6HlmrfCYmsqGbtY+0aGjB0TBuVP6Jw+CUh2B65PM+G6RXlMJcLkgUjzw4
Ky8VSUbj4TBrEGunE6d14f9stI8hoThMNLeslHZAWNdX3itxYb1CKBeOGi7v1Sc/
Kd5ynCE82WGvPZUdjARC63P8ZyqOu3dZf0MTNvFYc1z0V47wGeDEuNW+GW4Pzjge
1oavJNVKxGNjcZYcJTfn0SidMOQ7po4cYBEPaAD57DZgwZiyTqgSc5q6AzSnJfWw
QVPrY8VonXibNyn2c6HFLGBOUgZO74aoFOnEP3hKZ+n8mno7JNjrGwuPS9G9M1Ko
3zyg/XVyxFlo6IC9TaaR5E7AxJF0/CCPGG0iDHt32QmizG0Qm8JtjEKpQgfxYOEv
Xe8A4ukWRBo3FXztmQnjfTpWH5Q924Ew/d4d0W86fsQZL1bcOQTx1XLHCLCJOEHk
RZ2kcnzHE/+KlIubnLA86VGFXue4CUUaewmCBchMXK+mvBOYLZ+ch1NgOqsg7EyD
8J2S4MsdY/1JWPHMKkpUohw6Dcxas+KuS43dCv8dufaWvVOF/QQUP9RfjXUDtxCK
T6HBj6ni8ppj7hepI9fGJAGzPon/Y7iL7w==
=JkOI
-----END PGP SIGNATURE-----

 
  

你可能感兴趣的:(kernel,QEMU,linux)