]> git.ipfire.org Git - thirdparty/dracut.git/blob - HACKING
e9efe09ac1fa818bf8e66c06ccbf663eaa37e35b
[thirdparty/dracut.git] / HACKING
1 Right now, I'm doing most of my testing using a qemu/kvm guest and
2 generating the initramfs on another box but the support is all present
3 to build for the "running" machine. For the former, you can boot the guest
4 using qemu's -kernel and -initrd options. Currently supported rootfs
5 types are regular partitions, root-on-lvm and root-on-lvm-on-encrypted-pv.
6
7 dracut exists and will build an image. It is command-line equivalent
8 to most mkinitrd implementations and should be pretty straight-forward
9 to use.
10
11 To use, just run dracut with an output file name and, optionally, a
12 kernel version (it defaults to using the current). The appropriate
13 modules will be copied over and things should be good to go. If you'd
14 like to customize the list of modules copied in, edit /etc/dracut.conf
15 and set
16 modules="foo bar baz"
17
18
19 Requirements:
20 * udev
21 * nash (for switchroot until we get in util-linux)