Skip to content

u/thelinuxguy7

In this archive from Apr 2021 to Sep 2025

8
posts
63
comments
0
media
276
score

Top posts

Compiling the Linux kernel

I want to compile the a Linux kernel to save ram. I know that compiling my own kernel will offer very few benefits, but I haven't compiled my own kernels for a while now. Any suggestions to decrease ram usage? I will remove all unnecessary drivers and features, and I am wondering if disabling module...

5 points9 comments
Open on Reddit

Top comments

I broke a lot of stuff, that I can tell you, I broke python by installing another version manually, I made it unbootable multiple times, I uninstalled stuff many times with the -s flag, but still, it can be repaired by reading tfm. But not always, I once installed dpkg on an arch system and I installed another version of glibc, that system was just done.

5 points

You can boot from a live usb, but if you don't want to, you can enter the grub menu by pressing escape, then press e and find the line has linux /boot/..... go to the end of the line and add init=/bin/sh then press F10 to boot. Now you have a shell that you can use to disable reboot service.

You won't have systemd running so maybe systemd disable will not work, in this case you probably need to remove a symbolic link from /etc/systemd/system to disable that service manually.

In case you don't know which one to disable you probably can guess from its name,but don't remove anything unless it you are sure it is the one, else you may break something. You can also use ls --full-time to know when was each link created, and that should give you an idea which file you are looking for.

4 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.