I recently installed the popular desktop Android environment Remix OS into my usb disk. However I found the data partition(it is data.img actually) created by Remis OS installation process is soooo small! I can not even install HearthStone in it. And I don't know why it format the usb disk into fat32, ext4 should be better.

I found actually I can invoke the traditional Android x86 installer that can help you install remix os into any disk, using ext4 and getting larger data partition. I can invoke it by simply adding INSTALL=1 into boot time parameter list. This parameter will be check by the initrd script as follow:

Here I used QEMU/KVM and usb passthrough to install remix os into my 16GB usb disk.

qemu-system-x86_64 --enable-kvm -boot d \ -cdrom ./Remix_OS_for_PC_64_B2016011402_Alpha_Legacy.iso \ -smp 4 -m 4096 \ -vga std -usbdevice tablet -soundhw hda \ -usb -device usb-host,hostbus = 3 ,hostaddr = 8

First, press tab to edit boot parameter at GRUB menu.

Add INSTALL=1 to the parameter list

Here we get the traditional Android x86 installation program invoked. And I have to press detect devices first to let the installation program to probe my usb device.

Create a partition and mark it as bootable.

Select the partition just created.

Choose ext4 as disk format type and start the installation!

After installation is complete, I plugged my usb disk into my laptop and remix os is working great with ext4 and can access the full storage of my 16GB usb disk now.