also sprach Niall O Broin <niall at linux.ie> [2006.11.24.0953 +1100]:
> >to /etc/modprobe.d/local-disabled-modules to blacklist them. Then
> >remake the initramfs.
>> Excellent - that's exactly what I want. However, it brings up another
> question. In the interests of experimentation, I tried to alter an
> existing initramfs. It's a gzipped cpio, how hard could it be? So I
> unzipped it to a directory, removed what I didn't want, made a
> gzipped cpio, and it wouldn't boot :-( Then I RTFS and made the cpio
> correctly in newc format and it booted.
I am not totally on top of this stuff yet and have only ever used
update-initramfs :)
> What you have suggested above will remove modules but won't do
> anything about local-scripts. Is there a kosher way of disabling
> some of those, or do I need to do what I have done, extract them
> by brute force?
Deinstall the package that's responsible for the scripts?
> Note that this issue of unwanted raid modules isn't unique to that
> kernel though. I was running 2.6.16 on the box and had the same issue
> with RAID modules (except that raid4, raid5 and raid6 were separate
> modules in that kernel)
I think I spotted the problem. I don't think I can fix it for etch.
The solution for now is to add
MD_MODULES=''
to /etc/default/mdadm
Cheers,
--
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net at madduck
# vim:tw=70
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!