Contents
How do you use dracut command?
To do so, you would run the following command:
- # dracut –force –no-hostonly. …
- $ uname -r. …
- # dracut –force. …
- $ man dracut. …
- # sed -i ‘s/ rd.lvm.lv=fedora/root / /’ /boot/grub2/grub.cfg. …
- # ls /dev/mapper. …
- # lvm lvscan. …
- # lvm lvchange -a y fedora/root.
What is the use of dracut in Linux?
Dracut is a set of tools that provide enhanced functionality for automating the Linux boot process. The tool named dracut is used to create a Linux boot image (initramfs) by copying tools and files from an installed system and combining it with the Dracut framework, which is usually found in /usr/lib/dracut/modules.