DSL Tips and Tricks :: Removing Kernel Modules



I'm not sure what you mean. The ram disk only has the /home /opt /var directories on it.
/lib/modules is on /KNOPPIX which is RO.
I just need to stop umem.o from loading at boot.
Is there a util or a file I can edit that will be saved for the next boot?

mydsl-load any dsl, or running mkwriteable should load the data to your ramdisk
Hi,
Thanks, I found the mkwriteable script at http://www.damnsmalllinux.org/talk/node/163
It let me rename the umem.o file.
Now I just need a way to save it, cause after a reboot the change is gone.
How would I save the change back?

mkwriteable can be found in /etc/init.d/

You may as well remove it and save some more memory :)

You could do a dsl image remaster.
Actually, you could've just done a remaster in the first place, and you wouldn't have to have done any of the above.  Guess I didn't look ahead :P

However, doing the above will make it easier if you choose to update your module lists.

EDIT: above meaning the contents of the previous posts

Quote (^thehatsrule^ @ Sep. 12 2006,14:25)
You can remove the symlinks/files on the ramdisk and copy over the actual files from /KNOPPIX to /ramdisk
You should be able to run depmod/edit things after... then you could do a remaster with the changed structure/files.

I don't know if you can remount it as RW, I've always edited things separately with a copy (I suppose you could do this in a toram though)

im removing some applications i dont want..

when starting dsl toram .. all files will end up on /KNOPPIX..

following the remastering howto.. it will be copied to newcd/source i then deleted beaver which in effect is in newcd/source/usr/bin but it gives me ro file system error..

will mkwriteable make it writeable?

my other question is depmod? what is it?dependency module? for what? checking dependencies.

sorry for so many questions.. im a willing learner. :D

Next Page...
original here.