Re: [arch-general] [mkinitcpio] about explicit module inclusion and purpose of udev hook

2015-06-09 Thread Tom Yan
I was being silly. Found the answer myself: if [ -n "$earlymodules$MODULES" ]; then modprobe -qab ${earlymodules//,/ } $MODULES fi in base hook init. On 10 June 2015 at 10:30, Tom Yan wrote: > For my current system, I need the following modules (and their > dependencies) to boot (mount the

[arch-general] [mkinitcpio] about explicit module inclusion and purpose of udev hook

2015-06-09 Thread Tom Yan
For my current system, I need the following modules (and their dependencies) to boot (mount the real root): ahci, sd_mod, btrfs (which are drivers for the sata controller, disk, and the root filesystem respectively.) If I specify these three in the MODULES array of mkinitcpio.conf, the only hook