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
  •  


Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA picture

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA

$28.94



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



Cisco SFP-10G-SR V03 850nm 10GBASE-SR SFP+ MMF 10-2415-03 Transceiver picture

Cisco SFP-10G-SR V03 850nm 10GBASE-SR SFP+ MMF 10-2415-03 Transceiver

$4.99



Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED picture

Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED

$24.99



Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver picture

Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver

$20.70