From Fedora Project Wiki
Description
This test case validates the basic functionality of dracut, ensuring it can create an initramfs image.
Setup
- Install a fresh copy of Fedora.
- Ensure dracut is installed using:
dnf install dracut
.
How to test
- Run
dracut --force
. - Navigate to
/boot
and ensure a new initramfs image file has been created.
Expected Results
- The command completes without error.
- An initramfs image is successfully generated in
/boot
.
Optional
Experiment with different dracut modules to see how they affect the initramfs generation.