Sometimes you just need quickly deploy Android x86 server in your production environment using Microsoft Hyper-V virtualization. Now you can do it with Remix OS.
Installation to Hyper-V virtual machine is a bit tricky, but possible.
First of all create Generation 1 VM with at least 6 Gb HDD. I’ve tested VM with 2 Gb of RAM.
After creation of VM do not power on it.
Connect created VHD disk to any windows machine (Disk Management -> Right Click -> Attach VHD)
Initialize it as MBR disk.
Format it in FAT32 file system.
Detach VHD.
Boot VM with Legacy ISO. Do not choose Resident or Guest mode
Press TAB button. Edit your boot string to:
/kernel initrd=initrd.img root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive quiet INSTALL=1 nomodeset vga=791
You can replace 791 with any 16bit color depth code. More codes can be found at GRUB VGA Modes
Chose sda1 partition
Do not format it.
Chose yes for GRUB installation.
Skip EFI GRUB2 installation.
Choose yes for making system directory read-write.
Choose yes for creating user data image.
Enter size of data.img. Maximum is 2047 because we formatted our dist to FAT32 file system.
Now you can run you Android-x86. It’ll take a while, do not panic.
Configure it as you wish.
The last thing you need to do is eject ISO from VM and edit created GRUB entries.
Shutdown your VM and eject ISO.
Once again attach VHD to Windows machine.
Edit \grub\menu.lst
You need to delete extra digits after kernel path, for example if you used vga=791 previously you need to replace kernel791 with kernel. Also you need to add desired vga mode again. So your menu.lst should look like:
|
|
Detach VHD and boot your VM.
Happy Remix OS experience!
Update (17 Oct 2016): latest versions of RemixOS have Hyper-V support. If you have problems with mouse pointer capture in latest versions you can try following:
- Start Termux terminal
- Get root access with
su
command - Stop Hyper-V mouse driver with
rmmod hid_hyperv
command