check_for_iso() {
	grep -qE '/dev/root.*iso9660' /proc/mounts && ramoverlay
}

boot_hook_add preinit_mount_root check_for_iso