You are not logged in.

#1 2011-10-21 11:34:14

soroush
Member
From: Urmia - IRAN
Registered: 2011-09-25
Posts: 33

Removing UDev

Hi

I've installed an arch stuff on a simulated ARM board. Recompiling the kernel I removed all unnecessary modules and installed the new kernel. Now I want to remove Udev process and explicitly specify which drivers should load on boot. I think I should remove UDev from hooks and add all loaded modules (get from lsmod) in MODULES array of /etc/rc.conf ... Is this correct? and is order of loading important ?

Last edited by soroush (2011-10-21 11:35:55)

Offline

#2 2011-10-21 12:16:49

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Removing UDev

You're confusing 2 parts of the boot process.

1) HOOKS are for the initramfs. If you remove udev from HOOKS in /etc/mkinitcpio.conf, you might as well remove all other hooks (aside from base) from the initramfs as you'll need to explicitly specify all the modules (sans dependencies) that need to be loaded in order to do discovery and mounting of the root FS.
2) If you want to load more modules beyond that, they need to be specified in the MODULES array of /etc/rc.conf. Order does not matter as all elements in the array are passed to `modprobe --all' and are loaded at once.

Offline

Board footer

Powered by FluxBB