32
submitted 2 days ago by [email protected] to c/[email protected]

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!

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 5 points 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.

this post was submitted on 06 Jun 2025
32 points (92.1% liked)

Linux

10975 readers
220 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS