]>
Commit | Line | Data |
---|---|---|
881d2b0b | 1 | Right now, most of the testing is done using a qemu/kvm guest and |
55ca5f4f JK |
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 | |
3b403b32 | 4 | using qemu's -kernel and -initrd options. |
78ad9ceb | 5 | |
55ca5f4f JK |
6 | dracut exists and will build an image. It is command-line equivalent |
7 | to most mkinitrd implementations and should be pretty straight-forward | |
3b403b32 | 8 | to use. |
55ca5f4f JK |
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 | |
e19d6bf6 | 15 | dracutmodules="foo bar baz" |
78ad9ceb | 16 | |
3b403b32 | 17 | Note that dracut calls functional components in modules.d "modules" |
e19d6bf6 | 18 | while kernel modules are called "drivers". |
aec35295 JK |
19 | |
20 | Requirements: | |
21 | * udev | |
881d2b0b HH |
22 | * nfs module: nfs daemon and rpc helper |
23 | * iscsi: iscsi |