Comment 25 for bug 204133

Revision history for this message
Agostino Russo (ago) wrote :

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
sysctl -w vm.dirty_ratio=40
sysctl -w vm.dirty_expire_centisecs=2
sysctl -w vm.dirty_writeback_centisecs=2