]> git.ipfire.org Git - thirdparty/dracut.git/blob - HACKING
network-manager: remove useless use of basename
[thirdparty/dracut.git] / HACKING
1 Right now, most of the testing is done 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.
5
6 dracut exists and will build an image. It is command-line equivalent
7 to most mkinitrd implementations and should be pretty straight-forward
8 to use.
9
10 To use, just run dracut with an output file name and, optionally, a
11 kernel version (it defaults to using the current). The appropriate
12 modules will be copied over and things should be good to go. If you'd
13 like to customize the list of modules copied in, edit /etc/dracut.conf
14 and set
15 dracutmodules="foo bar baz"
16
17 Note that dracut calls functional components in modules.d "modules"
18 while kernel modules are called "drivers".
19
20 Requirements:
21 * udev
22 * nfs module: nfs daemon and rpc helper
23 * iscsi: iscsi