[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: modifying initrd



BRINER Cedric <work@infomaniak.ch> writes:

> hi,

Hello.

> how can I change the file loadmodules in the initrd.img to add the
> following line:
> modprobe -k  aic79xx > /dev/null 2>&1

Add the module name to the /etc/mkinitrd/modules file (self
documented), then rebuild the initrd image with mkinitrd.

For example with a 2.4.27-1-386 kernel:

mkinitrd -o /boot/initrd.img-2.4.27-1-386 2.4.27-1-386

-- 
Nicolas



Reply to: