Fw: Automatic module insert in boot time

Yacob Hassidim yacobh at zahav.net.il
Mon Sep 26 07:59:20 EDT 2011


----- Original Message ----- 
From: "Yacob Hassidim" <yacobh at zahav.net.il>
To: "Mulyadi Santosa" <mulyadi.santosa at gmail.com>
Sent: Monday, September 26, 2011 2:51 PM
Subject: Re: Automatic module insert in boot time


> Hello Mulyadi,
>
> Thank you for your response.
>
> I read the best way to automatically insert a module is via the 
> /etc/modules (see 
> http://www.cyberciti.biz/faq/linux-how-to-load-a-kernel-module-automatically-at-boot-time/).
>
> Don't forget I use Ubuntu 11.04.
>
> I tried the rc.local: It works perfectly.
>
> I searched for initramfs file but didn't find at all under Ubuntu.
>
> Sincerely,
>
> Yacob Hassidim.
>
>
>
> ----- Original Message ----- 
> From: "Mulyadi Santosa" <mulyadi.santosa at gmail.com>
> To: "Yacob Hassidim" <yacobh at zahav.net.il>
> Cc: <kernelnewbies at kernelnewbies.org>
> Sent: Monday, September 26, 2011 11:04 AM
> Subject: Re: Automatic module insert in boot time
>
>
>> Hi Yacob...
>>
>> 2011/9/26 Yacob Hassidim <yacobh at zahav.net.il>:
>>> ________________________________
>>> Hello everyone,
>>>
>>> I ask for help to insert/install module automatically in boot time.
>>>
>>> I use Ubuntu 11.04.
>>>
>>> I try to insert a module automatically in boot time.
>>>
>>> I added the name of my module (hello) to the file /etc/modules.
>>
>> I don't think that is the place.
>>
>> Boot time? perhaps better to put your modprobe/insmod calling your
>> module in something like rc.local, or manually modify your
>> initrd/initramfs so that it load your module earlier.
>>
>>
>> -- 
>> regards,
>>
>> Mulyadi Santosa
>> Freelance Linux trainer and consultant
>>
>> blog: the-hydra.blogspot.com
>> training: mulyaditraining.blogspot.com
> 




More information about the Kernelnewbies mailing list