Results 1 to 6 of 6

Thread: removing kernel modules

  1. #1
    Junior Member
    Join Date
    Jul 2005
    Posts
    7

    removing kernel modules

    I have knoppix installed on a very old system (P233)
    it runs decent but I know if i remove all the unnecesary modules during startup it will run at least a little faster, or at least boot up faster
    I downloaded modconf and remove the modules with that but after a reboot they're all back
    I specifically want to remove anything to do with
    USB, AGP, SCSI, serial/parallel ports -- these I do not have at all. I've stopped the services (removed from rd5.d) for all the other stuff I don't use but I really don't like to see 10-12 drivers load that I will never use.

    1 other question

    after the lilo screen I ge Linux loading............................ then it says something along the line of "no video mode passed" hit enter to choose one or space to continue.
    I know this happens on the cd for a reason, but if I could get rid of it that'd be pretty cool, mus be some lilo argument I have to pass or something right?

    thanks in advance
    tom

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    How did you install Knoppix 3.9 on the HD? What type of installation did you choose? See http://www.knoppix.net/wiki/Hd_Install_HowTo for details.


    after the lilo screen I ge Linux loading............................ then it says something along the line of "no video mode passed" hit enter to choose one or space to continue.
    I know this happens on the cd for a reason, but if I could get rid of it that'd be pretty cool, mus be some lilo argument I have to pass or something right?
    This is controlled by either lilo or grub. If you are using lilo, edit /etc/lilo.conf. I fyou are using grub, edit /boot/grub/menu.lst and find a section that reads like 'vga=716'. Change that to 'vga=normal'. If you are using grub then all you need to do to test it is to reboot. If you are using lilo, then you need to run /sbin/lilo and then reboot.

  3. #3
    Junior Member
    Join Date
    Jul 2005
    Posts
    7
    thanks
    I've modified lilo and it should boot the way I want it to now

    I did the debian install because I've been fighting with deb/sarge for 2 or 3 weeks. no matter what I do debian will not recognise my mouse. knoppix, damn small linux, kanotix, red hat 9 all see my mouse on /dev/psaux debian sarge always says mouse module not found or some such error. and no mouse=no X. and I'm just too new to linux to try to deal with a CLI only environment.

    I basically want to clean up my boot process so unneeded modules aren't loaded, leaving resources free for the various services I want to run

  4. #4
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by jombeewoof
    I basically want to clean up my boot process so unneeded modules aren't loaded, leaving resources free for the various services I want to run
    If you have enough understanding of Linux to even realize the importance of this you are much further ahead than 99% of the people who install Knoppix. Why not install Debian, the distro that Knoppix is based on, and then put together exactly the system that you want rather than fight with a distro intended for Live CD but known to have issues when installed to hard disk?

  5. #5
    Junior Member
    Join Date
    Jul 2005
    Posts
    7
    Quote Originally Posted by Harry Kuhman
    If you have enough understanding of Linux to even realize the importance of this you are much further ahead than 99% of the people who install Knoppix. Why not install Debian, the distro that Knoppix is based on, and then put together exactly the system that you want rather than fight with a distro intended for Live CD but known to have issues when installed to hard disk?
    I would love to just install debian, but the ps/2 port for my mouse is very substandard. it is attatched with a dongle similar to how the serial mice used to do it and for some reason or other debian won't have anything to do with it. I always get some error in the mouse module during install/boot. I've tried every different port debian uses for the mouse with no luck (/dev/mice /dev/mouse /dev/psaux and a few others) I always get the same error.
    I've been playing with fedora 3+4 on another system but that seems a little too bleeding edge and a little too user friendly (read dumbed down) for me

    I am a MCSA who is trying to learn as much about linux as I know about windows. I like options and between windows and linux I am sure I will have several choices for anything I need to do. I just have to get to a point with linux that I will be able to make educated choices.

  6. #6
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    A google would possibly find an answer to your mouse problem, but takes a while as I suspect you'll get tons of useless hits no matter what string you use. Still, have a try with /dev/input/mice or mouse0. You could also try looking at dmesg for the mouse protocol.
    As for modules I don't know what knoppix uses nowadays but should be /etc/modules.conf or /etc/modules-(uname -r), comment out the modules, add them to /etc/hotplug/blacklist and reboot.

Similar Threads

  1. kernel picks the modules
    By kl522 in forum Ideas
    Replies: 0
    Last Post: 03-14-2010, 11:45 PM
  2. Add a few network driver modules to 3.6 kernel 2.4
    By bizarro in forum Customising & Remastering
    Replies: 2
    Last Post: 09-16-2004, 09:30 PM
  3. Custom kernel and sound modules
    By muczy in forum Customising & Remastering
    Replies: 0
    Last Post: 08-23-2004, 07:50 AM
  4. Removing some Modules from Bootdisk gives Error on Boot
    By sauertopf in forum Customising & Remastering
    Replies: 0
    Last Post: 08-27-2003, 09:45 AM
  5. Compiling new Kernel 2.5.67 and modules under Knoppix 3.2-30
    By skda in forum Customising & Remastering
    Replies: 3
    Last Post: 04-16-2003, 08:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock picture

AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock

$75.00



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62 picture

Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62

$46.03



AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$79.00



AMD Ryzen 7 7700x Processor (5.4 GHz, 8 Cores, LGA 1718/Socket AM5) Box -... picture

AMD Ryzen 7 7700x Processor (5.4 GHz, 8 Cores, LGA 1718/Socket AM5) Box -...

$259.99



Intel Core i9-14900KF Unlocked Desktop Processor picture

Intel Core i9-14900KF Unlocked Desktop Processor

$579.99



Intel Core i7-3770 3.40GHz 8MB Quad Core Socket LGA1155 CPU Processor SR0PK picture

Intel Core i7-3770 3.40GHz 8MB Quad Core Socket LGA1155 CPU Processor SR0PK

$35.00



Intel 16 Core i7-13700T DESKTOP processor TURBO Boost 4.90Ghz CM8071504820903 picture

Intel 16 Core i7-13700T DESKTOP processor TURBO Boost 4.90Ghz CM8071504820903

$269.00