差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
android:android_x86 [2019/02/21 18:25] – [QEMU で Android x86 を動かす] ともやん | android:android_x86 [2020/05/19 07:19] (現在) – ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== | + | ====== Android x86 ====== |
- | + | ||
- | ===== 仮想ディスクイメージを準備 ===== | + | |
- | <WRAP prewrap 100%> | + | |
- | < | + | |
- | $ sudo qemu-img create -f qcow2 / | + | |
- | Formatting '/ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ===== 仮想マシンの定義 ===== | + | |
- | < | + | |
- | $ vi android_x86_64.xml | + | |
- | </ | + | |
- | <WRAP prewrap 100%> | + | |
- | <file xml android_x86_64.xml> | + | |
- | <domain type=' | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | <memory unit=' | + | |
- | < | + | |
- | <vcpu placement=' | + | |
- | < | + | |
- | <type arch=' | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <vmport state=' | + | |
- | </ | + | |
- | <cpu mode=' | + | |
- | <model fallback=' | + | |
- | </ | + | |
- | <clock offset=' | + | |
- | <timer name=' | + | |
- | <timer name=' | + | |
- | <timer name=' | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | <disk type=' | + | |
- | <driver name=' | + | |
- | <source file='/ | + | |
- | <target dev=' | + | |
- | <boot order=' | + | |
- | <address type=' | + | |
- | </ | + | |
- | <disk type=' | + | |
- | <driver name=' | + | |
- | <source file='/ | + | |
- | <target dev=' | + | |
- | < | + | |
- | <boot order=' | + | |
- | <address type=' | + | |
- | </ | + | |
- | < | + | |
- | <address type=' | + | |
- | </ | + | |
- | < | + | |
- | <master startport=' | + | |
- | <address type=' | + | |
- | </ | + | |
- | < | + | |
- | <master startport=' | + | |
- | <address type=' | + | |
- | </ | + | |
- | < | + | |
- | <master startport=' | + | |
- | <address type=' | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | <address type=' | + | |
- | </ | + | |
- | < | + | |
- | <mac address=' | + | |
- | <source bridge=' | + | |
- | <model type=' | + | |
- | <address type=' | + | |
- | </ | + | |
- | <serial type=' | + | |
- | <target type=' | + | |
- | <model name=' | + | |
- | </ | + | |
- | </ | + | |
- | <console type=' | + | |
- | <target type=' | + | |
- | </ | + | |
- | <input type=' | + | |
- | <address type=' | + | |
- | </ | + | |
- | <input type=' | + | |
- | <input type=' | + | |
- | < | + | |
- | <listen type=' | + | |
- | <image compression=' | + | |
- | </ | + | |
- | <sound model=' | + | |
- | <address type=' | + | |
- | </ | + | |
- | < | + | |
- | <model type=' | + | |
- | <address type=' | + | |
- | </ | + | |
- | < | + | |
- | <address type=' | + | |
- | </ | + | |
- | < | + | |
- | <address type=' | + | |
- | </ | + | |
- | < | + | |
- | <address type=' | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | ネットワークインターフェースのモデルは e1000 を選んでブリッジ br0 へ接続する。\\ | + | |
- | <code xml> | + | |
- | < | + | |
- | <mac address=' | + | |
- | <source bridge=' | + | |
- | <model type=' | + | |
- | <address type=' | + | |
- | </ | + | |
- | </ | + | |
- | マウスの動きを良くする為に USB タブレットを追加する。\\ | + | |
- | <code xml> | + | |
- | <input type=' | + | |
- | <address type=' | + | |
- | </ | + | |
- | </ | + | |
- | サウンドは es1370 を選ぶ。\\ | + | |
- | <code xml> | + | |
- | <sound model=' | + | |
- | <address type=' | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | $ sudo virsh define android_x86_64.xml | + | |
- | ドメイン android_x86_64 が android_x86_64.xml から定義されました | + | |
- | </ | + | |
- | + | ||
- | ===== インストール ===== | + | |
- | 「Installation - Install Android-x86 to harddisk」選択して Enter を押す。\\ | + | |
- | {{: | + | |
- | ↓下矢印キーを1回押すと「Create/ | + | |
- | {{: | + | |
- | GPT にはしないので <No> のまま Enter を押す。\\ | + | |
- | {{: | + | |
- | [ New ] を選択して Enter を押す。\\ | + | |
- | {{: | + | |
- | [Primary] を選択して Enter を押す。\\ | + | |
- | {{: | + | |
- | Size (in MB): 10734 を入力して Enter を押す。\\ | + | |
- | {{: | + | |
- | [ Bootable ] を選択して Enter を押す。\\ | + | |
- | {{: | + | |
- | [ Write ] を選択して Enter を押す。\\ | + | |
- | {{: | + | |
- | yes を入力して Enter を押す。\\ | + | |
- | {{: | + | |
- | [ Quit ] を選択して Enter を押す。\\ | + | |
- | {{: | + | |
- | sda1 が選択された状態で < OK > を選択して Enter を押す。\\ | + | |
- | {{: | + | |
- | ext4 を選択し < OK > を選択して Enter を押す。\\ | + | |
- | {{: | + | |
- | < Yes > を選択して Enter を押す。\\ | + | |
- | {{: | + | |
- | < Yes > を選択して Enter を押す。\\ | + | |
- | {{: | + | |
- | < Yes > を選択して Enter を押す。\\ | + | |
- | {{: | + | |
- | Android-x86 のインストールが始まる。\\ | + | |
- | {{: | + | |
- | Reboot 選択し < OK > を選択して Enter を押す。\\ | + | |
- | {{: | + | |
- | ハードディスクから「Android-x86 8.1-r1」を起動する。\\ | + | |
- | {{: | + | |
- | Android-x86 が起動するのを待つ。\\ | + | |
- | {{: | + | |
- | 「Hi there」の画面で ENGLISH (UNITED STATES) をクリックして日本語を選択する。\\ | + | |
- | {{: | + | |
- | 「ようこそ」に変わったら [開始] を押す。\\ | + | |
- | {{: | + | |
- | 「アップデートを確認中...」 | + | |
- | {{: | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | {{: | + | |
+ | [[.: | ||
+ | [[.: |