1 00:00:00,000 --> 00:00:12,120 So if you want to, before generating it, you can have a look at the dracut.conf. 2 00:00:12,120 --> 00:00:15,320 And oh, the dracut.conf, as you can see, is no longer used. 3 00:00:15,320 --> 00:00:19,639 You really need to go into etcdracut.conf.d. 4 00:00:19,639 --> 00:00:26,320 So let's check out etcdracut.conf.d for all the different drop-in files. 5 00:00:26,320 --> 00:00:27,320 Nothing. 6 00:00:27,320 --> 00:00:35,240 Let's talk about usrlib dracut.conf.d. 7 00:00:35,240 --> 00:00:39,880 There we have the standard configuration, and here you can see what is going on. 8 00:00:39,880 --> 00:00:42,160 So we have a 0 1 distconf. 9 00:00:42,160 --> 00:00:49,599 Well, I can tell you, 0 1 0 1 distconf, that's your distribution configuration. 10 00:00:49,599 --> 00:00:54,360 And here you can see everything that is inside. 11 00:00:54,360 --> 00:00:58,439 Lots of parameters telling where everything is going on. 12 00:00:58,439 --> 00:01:03,520 Not too much to do here, but that is the essence of the dracut configuration. 13 00:01:03,520 --> 00:01:07,040 It detects kernel drivers that are currently loaded. 14 00:01:07,040 --> 00:01:10,839 So probably a much better idea is to use lsmod. 15 00:01:10,839 --> 00:01:14,959 And if needed, use modprobe to get your kernel driver included. 16 00:01:14,959 --> 00:01:20,680 And then you can use dracut-f, which will generate your new initramfs. 17 00:01:20,680 --> 00:01:24,760 Now, generating a new initramfs is serious business. 18 00:01:24,760 --> 00:01:28,519 So after generating it, do not forget to reboot 19 00:01:28,519 --> 00:01:32,760 to ensure that your new initramfs is working. 20 00:01:32,760 --> 00:01:36,879 And if it is not, you select the rescue option from the boot menu. 21 00:01:36,879 --> 00:01:40,959 The rescue option will always work and will allow you to get better. 22 00:01:40,959 --> 00:01:45,800 As you see, it took a while, so I want to make for sure that it's still working, 23 00:01:45,800 --> 00:01:47,559 which is why I am rebooting. 24 00:01:51,199 --> 00:01:55,279 Now, in the boot procedure, we have just seen a lot of green and not much red, 25 00:01:55,279 --> 00:01:58,480 and I see my login prompt again. 26 00:01:58,480 --> 00:02:00,919 And that makes that we have confirmed 27 00:02:00,919 --> 00:02:04,559 that the dracut configuration we just recreated is working.