News

Mounting file system created by Wubi in other Linux distros

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.

1 Comment

  1. 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

Leave a Reply

Your email address will not be published. Required fields are marked *