Difference between revisions of "Vnx-rootfskvmandroid"
(→Basic installation) |
(→Configuration) |
||
Line 36: | Line 36: | ||
# Add "console=ttyS0" to the kernel line of default boot option | # Add "console=ttyS0" to the kernel line of default boot option | ||
vnx_mount_rootfs -u /mnt/ | vnx_mount_rootfs -u /mnt/ | ||
+ | </ul> | ||
+ | |||
+ | == Known problems == | ||
+ | |||
+ | <ul> | ||
+ | <li>Command execution for Android is not implemented yet. Use '''adb''' to execute commands in Android VMs from the host.</li> | ||
</ul> | </ul> |
Revision as of 19:10, 20 July 2014
How to create a KVM Android X86 root filesystem for VNX
Basic installation
Follow this procedure to create a KVM Android X.86 based root filesystem for VNX. The procedure has been tested with Android-x86-4.4 (http://www.android-x86.org).
- Create the filesystem disk image:
qemu-img create -f qcow2 vnx_rootfs_kvm_android-4.4-v025.qcow2 12G
wget https://downloads.sourceforge.net/project/android-x86/Release%204.4/android-x86-4.4-RC2.iso cp android-x86-4.4-RC2.iso /almacen/iso
vnx --create-rootfs vnx_rootfs_kvm_android-4.4-v025.qcow2 --install-media /almacen/iso/android-x86-4.4-RC2.iso --mem 1G --video vga
# virsh list Id Name State ---------------------------------------------------- 166 vnx_rootfs_kvm_android-4.4-v025.qcow2-2425 running # virsh destroy 166 Domain 166 destroyed
Configuration
vnx --modify-rootfs vnx_rootfs_kvm_android-4.4-v025.qcow2 --mem 1G --video vga
vnx_mount_rootfs -p 1 -r vnx_rootfs_kvm_android-4.4-v025.qcow2 /mnt/ vi /mnt/grub/menu.lst # Add "console=ttyS0" to the kernel line of default boot option vnx_mount_rootfs -u /mnt/
Known problems
- Command execution for Android is not implemented yet. Use adb to execute commands in Android VMs from the host.