Mounting file system created by Wubi in other Linux distros

Sathya | November 29th, 2009 - 2:51 pm


I wasn’t aware of this tiny little thing  - the filesystem in the  file created by a Wubi install can be easily mounted as a loop device.

To do so, just open the Terminal and type the below:

mount <path-to-wubi-root-disk> <path-to-where-it-should-be-mounted> -o loop

This will make the kernel auto detect the filesystem type and try to mount it. Alternatively, if you’re sure of the filesystem type, mention it explicitly

mount -t <fs-type> <path-to-wubi-root-disk> <path-to-where-it-should-be-mounted> -o loop

Would come in very handy if someone were to migrate from Wubi install to a full install, just copy over the /home files and all files saved.

Thanks, Bharath.

If you enjoyed this post, make sure you subscribe to my RSS feed!

One Response to “Mounting file system created by Wubi in other Linux distros”

  1. Bharath says:

    The filesystem created by wubi installer is better called “root.disk”

    and the default path to the file in a typical installation would be:

    “Drive-where-windows-is-installed/ubuntu/disks/root.disk”

    Drive-where-windows-is-installed is your C: or D: or wherever your windows is installed

You can leave a response, or trackback from your own site.

Leave a Reply