brundage wrote:It's my understanding that "rootwait" applies to the first stage of boot, while the kernel is waiting for its initial root device, which it gets. I'll try adding that and report back.
rootwait is useless when used with most initramfs because the kernel has a "root" in the initramfs.
The default of dracut is rd.retry=180 (seconds). Meaning dracut will wait for a root device to come online within 3 minutes before dropping to a shell and reporting an issue.
There is also these options to consider:
Code: Select all
rd.driver.pre=<drivername>[,<drivername>,...]
force loading kernel module <drivername>. This parameter can be specified multiple times.
rd.driver.post=<drivername>[,<drivername>,...]
force loading kernel module <drivername> after all automatic loading modules have been loaded. This parameter can be specified multiple
times.
See also
man dracut.cmdline for what dracut can do on startup with kernel options.