This shows you the differences between two versions of the page.
packages:dracut [2014-05-04 12:29] glen created |
packages:dracut [2014-05-04 12:30] glen hostonly option |
||
---|---|---|---|
Line 2: | Line 2: | ||
[[wp>Dracut (initramfs)|Dracut]] is an event-driven [[wp>initramfs]] infrastructure. ''dracut'' (the tool) is used to create an initramfs image by copying tools and files from an installed system and combining it with the dracut framework, usually found in ''/usr/lib/dracut/modules.d''. | [[wp>Dracut (initramfs)|Dracut]] is an event-driven [[wp>initramfs]] infrastructure. ''dracut'' (the tool) is used to create an initramfs image by copying tools and files from an installed system and combining it with the dracut framework, usually found in ''/usr/lib/dracut/modules.d''. | ||
+ | |||
+ | ===== Building smaller image ===== | ||
+ | |||
+ | By default Dracut builds big initrd because ... | ||
+ | to build smaller initrd, add to your dracut config: | ||
+ | |||
+ | <code bash /etc/dracut.conf> | ||
+ | # build initrd only to boot current hardware | ||
+ | hostonly="yes" | ||
+ | </code> | ||