def METHOD_NAME(
    self, saved_path: Optional[Path], stage: str = "", force_run: bool = False
) -> None:
    self._node.log.debug("checking initramfs in serial log...")
    content: str = self.get_console_log(saved_path=saved_path, force_run=force_run)
    filesystem_exception_logs = [
        x
        for sublist in find_patterns_in_lines(
            content, self.filesystem_exception_patterns
        )
        for x in sublist
        if x
    ]
    initramfs_logs = [
        x
        for sublist in find_patterns_in_lines(content, self.initramfs_patterns)
        for x in sublist
        if x
    ]
    if initramfs_logs:
        raise LisaException(
            f"{stage} found initramfs in serial log: "
            f"{initramfs_logs} {filesystem_exception_logs}"
        )