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-----



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章