I want to install Ubuntu inside Windows.
However, if Windows gets corrupted, how can data from the Ubuntu system be recovered?
The data can be recovered if Windows is unbootable but you can still access the filesystem. All of the data is stored inside of a filesystem image called C:\ubuntu\disks\root.disk. Simply boot an Ubuntu livecd, mount that image (