Skip to content

Instantly share code, notes, and snippets.

@ryu1
Created November 27, 2017 17:34
Show Gist options
  • Select an option

  • Save ryu1/0d2425ac06b685a82af1ae3d907956d2 to your computer and use it in GitHub Desktop.

Select an option

Save ryu1/0d2425ac06b685a82af1ae3d907956d2 to your computer and use it in GitHub Desktop.
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment