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.
How use dracut command in Linux?
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 RHEL dracut?
Dracut is used to create initramfs. Dracut is a new utility available in Red Hat Enterprise Linux 6, and much-improved over mkinitrd. The file-naming convention of systems using the Dracut utility to create the initial RAM disk image is: initramfs-<kernel_version>.img. Generating initramfs file with the Dracut utility.