Moved remount up to the top, so it always remounts rootfs to make sure it can write to it.