Moving AMIDuOS storage location to a different drive (a workaround)

If you have used AMIDuOS before, you will notice that it installs and stores all files forcefully in drive C. If you are running an SSD + HDD combo with too little SSD space, this is really a pain in the head. As we all know, Android apps by default can consume a lot of storage space. Therefore, if you are using a lot of Android apps in your DuOS emulator, it will in turn take a lot of space in your disk space.

For instance in my DuOS configuration, I am seeing around 13-14 GB of storage usage.

My typical DuOS space usage
My typical DuOS space usage.

Luckily there is a guide provided in the AmiDuOS support page by Andrew Kim that will enable us to move those big .vdi files to another drive (in my case in my drive D:).

Simplifying the steps provided  by Andrew Kim will give us the following:

  1. Get symbolic linker app
  2. Move data files to another location
  3. Run symbolic linker app and perform link
  4. Profit!

I could end my entry here but hey, you’re not here to read a summary of a post. So without further ado, let’s proceed with the details.

I – Download the symbolic linker app

Before we start linking, we need to download the app that we will use – WinLN. This is an open-source app created by James Sumners (github page) that create symbolic links in Windows machines. Please note that it has the following system requirements:

  • Microsoft .Net 4.0
  • Windows Vista (or greater)
  • Account privileges for creating symbolic links
WinLN user interface
WinLN user interface.

II – Move the .vdi files

Now before we make the link, we need to move the source files. Go to your DuOS folder located at:

C:/Users/<Your username>/.DuOS/

In there you will find 3 large .vdi files:

  • datafs.vdi
  • backup.vdi
  • sdcard.vdi

Note: If you can’t directly see the .DuOS folder in C:/Users/<Your username>/, you can enable “show all hidden files and folders” in Windows or just type the full address directly in the address bar (i.e. C:/Users/thisismyusername/.DuOS/)

Cut and paste these three files to your desired location (the folder hierarchy doesn’t matter so you can just paste it even in D:/). In my case I pasted it in:

D:/<My username>/Duos/

III – Run the WinLN app and perform symbolic linking

**Please run the application as an administrator**

WinLN user interface

The WinLN app have three different fields that we need to populate in order for it to perform linking:

  • WinLN Name – the name of the file
  • Source – the new location of the file
  • Destination Parent – the old location of the file

So in my case, I filled these up using these information:

  • WinLN Name: datafs.vdi
  • Source: D:/<My username>/Duos/datafs.vdi
  • Destination Parent: C:/<My username>/.DuOS/datafs.vdi

After you have filled all the required information, you can now click “Create” and WinLN will create a link to your .vdi files.

You need to perform these to all the .vdi files that you moved to another location.

You can verify if it successfully created the link by visiting the Destination Parent folder. If you were able to see shortcut files in there with the information that you provided in the WinLN Name field, then grab a beer! You have successfully created a link!

Symbolic links
Symbolic links.

IV – Profit!

Now perform a sanity check by running the DuOS emulator. If it all goes well, then you have successfully performed the workaround!



Care to comment?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Powered by

Up ↑

%d bloggers like this: