Greetings,

I want to trim down my Linux kernel to only support a tty and ethernet card, I don’t need any other features, has anyone done something similar of trimming down the linux kernel. I know that “make tinyconfig” exist but it’s not what I want.

can anyone suggest me something? or provide me some documentation to do it?

Thanks in advance!

  • pelya@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 days ago

    If you want to run Linux on a toaster with 16 MB flash, your best option is probably OpenWRT.
    If you are running it on a regular PC, just turn off the monitor and plug out the speakers I guess. Recompiling Linux kernel looks too much like a hassle, you’ll need to disable specific device drivers to deactivate videocard and soundcard but keep the keyboard running. Or boot into a recovery mode, the OS will disable everything except for the terminal, and you’ll need to enable networking using shell commands.