The first one is a new initramfs with sync mount options (replace /usr/share/initramfs-tools/scripts/local and rebuild the initrd). The sync options are for the host filesystem as opposed to the nested one (see above comment).
The other file is /etc/init.d/umountroot. I tested it, but it does not seem to manage to remount /host (ntfs-3g) ro. I get the error "Remounting is not supported at present" (see bug #186117). One way to test is to disable /etc/init.d/reboot and then run sudo reboot.
You may want to change sysctl settings manually to emulate a wubi environment:
Have attached above a couple of files to test.
The first one is a new initramfs with sync mount options (replace /usr/share/ initramfs- tools/scripts/ local and rebuild the initrd). The sync options are for the host filesystem as opposed to the nested one (see above comment).
The other file is /etc/init. d/umountroot. I tested it, but it does not seem to manage to remount /host (ntfs-3g) ro. I get the error "Remounting is not supported at present" (see bug #186117). One way to test is to disable /etc/init.d/reboot and then run sudo reboot.
You may want to change sysctl settings manually to emulate a wubi environment:
sysctl -w vm.dirty_ background_ ratio=0 expire_ centisecs= 2 writeback_ centisecs= 2
sysctl -w vm.dirty_ratio=40
sysctl -w vm.dirty_
sysctl -w vm.dirty_