From Fedora Project Wiki

Description

This test case validates the basic functionality of dracut, ensuring it can create an initramfs image.

Setup

  1. Install a fresh copy of Fedora.
  2. Ensure dracut is installed using: dnf install dracut.

How to test

  1. Run dracut --force.
  2. Navigate to /boot and ensure a new initramfs image file has been created.

Expected Results

  1. The command completes without error.
  2. An initramfs image is successfully generated in /boot.

Optional

Experiment with different dracut modules to see how they affect the initramfs generation.