ryu1
11/27/2017 - 5:34 PM

HowToInstallQEMU.MD

QEMUのインストール
<pre>
$ brew install qemu
</pre>
QEMUの起動
<pre>
$ qemu-system-arm -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.img-2.6.32-5-versatile -m 512 -M versatilepb -hda debian_squeeze_armel_standard.qcow2 -append "root=/dev/sda1" -nographic -redir tcp:2222::22
</pre>

<pre>
$ qemu-system-arm -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.img-2.6.32-5-versatile -m 512 -M versatilepb -hda debian_wheezy_armel_standard.qcow2 -append "root=/dev/sda1" -nographic -redir tcp:2222::22
</pre>

<pre>
$ qemu-system-arm -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.img-3.2.0-4-versatile -m 512 -M versatilepb -hda debian_wheezy_armel_standard.qcow2 -append "root=/dev/sda1" -nographic -redir tcp:2222::22
</pre>

<pre>
$ qemu-system-arm -kernel vmlinuz-3.2.0-4-versatile -initrd initrd.img-3.2.0-4-versatile -m 512 -M versatilepb -hda debian_wheezy_armel_standard.qcow2 -append "root=/dev/sda1" -nographic -redir tcp:2222::22
</pre>
SSH接続

root/root

<pre>
$ ssh -p 2222 localhost
</pre>
必要なパッケージのインストール
<pre>
$ apt-get update
$ apt-get install gcc make
</pre>