Re: Upon boot, many strange and useless modules are loaded
mody_at_quick.cz
Date: 07/30/03
- Previous message: Kevin Buhr: "Re: Identify dhcp client to server using hostname"
- In reply to: Mark Ferlatte: "Re: Upon boot, many strange and useless modules are loaded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jul 2003 20:16:22 +0200 To: DebianUser list <debian-user@lists.debian.org>
On Wed, Jul 30, 2003 at 10:46:23AM -0700, Mark Ferlatte wrote:
> If you're using the default Debian kernel, it loads all of the modules
> from the initrd, before it even mounts root.
>
> If you want to see what's going on, run:
>
> mount -oloop /initrd.img /mnt
>
> and look in /mnt. It's a cramfs, which is read-only. The loadmodules
> script shows you all of the modules that are loaded on boot.
>
> If you want to change this stuff, you need to do this:
>
> mkdir /tmp/initrd
> cp -a /mnt/* /tmp/initrd
> edit scripts in /tmp/initrd as needed.
> mkcramfs /tmp/initrd /boot/initrd.img-2.4.21-3-686-mine
> Change the /initrd.img symlink to point to /boot/initrd.img-2.4.21-3-686-mine
> Run lilo.
> Reboot.
>
> I do this to force the loading of hardware RAID modules on boot, but you
> can remove the IDE modules this way also.
Looks good. Because I use self-compiled kernel from Debian source, I'd
rather rekompile the kernel with only one IDE module. :-)
Thanks
Mody
-- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- application/pgp-signature attachment: stored
- Previous message: Kevin Buhr: "Re: Identify dhcp client to server using hostname"
- In reply to: Mark Ferlatte: "Re: Upon boot, many strange and useless modules are loaded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|