Torpus,
I like your goal to have a secure as possible Linux ... you can do it ... with Gentoo
I am paranoid for security ... and privacy ! Therefore I wrote an "Installation guide for paranoid dummies" ... it is in german language (because my english is poor). Yes, one piece of it is a hardened kernel (you dont have in hardened-sources; you have to do it by yourself). But this alone is not sufficient. You will need also a firewall, maybe encryption of your home partition (or your entire disk), maybe SecureBoot ... SELinux or AppArmor (I recommend SELinux for a server and AA for a desktop) ... maybe IMA ! ... I also recommend to use DoT (DNS over TLS) ... to a trustworthy service ...
But what security you will need depends on your threat scenario ... so, these are only pieces you can use.
Believe me: Even if you are an experienced Linux - and - Gentoo user, you will need many days to install all what you want/need. Maybe take a look into my (last) installation-log:
https://wiki.gentoo.org/wiki/User:Pieti ... /delete_me
(I have posted it for user @4761)
(Please dont use it; I have no WLAN; because ... too insecure for me; I like cables)
Please dont ask me, how many YEARS it took me to learn a little bit about the kernel ... and ... it is still not over ... and will never be ... because you will learn ALWAYS something new.
Now to your questions:
Torpus wrote:Should I just make my Gentoo too normal (GRUB instead of LILO, GTK3 instead of GTK2,
LILO is outdated. "Normal" is grub. Use it for the beginning. Later you can make a stub kernel (your UEFI BIOS can start/boot also a stub kernel directly without using a bootmanager like grub) if you want.
Torpus wrote:not encrypted with LUKS and pretty vulnerable,
Do you know where encryption helps ... and where it is useless ? If you download a bad mkv-video-file and watch it, then it could be your system gets immediately infected ... EVEN if you have FDE (full disk encryption) ... because after every system start all of your partitions (and files) are readable (must be) ... encryption of your disk helps against OFFLINE TAMPERING (or loosing the notebook), but not against ONLINE ATTACKS ... (If you want we can do this in more detail in an other thread)
Torpus wrote:use genkernel instead of making my own (cheating)
Use our
binary dist-kernel (= no gentoo-sources) for the first time (option 1 in AMD64 handbook) and NOT genkernel. TBH I have never used genkernel ... this is more complicated for me than a manual configuration. Later you can start with (option 3):
https://wiki.gentoo.org/wiki/User:Pieti ... figuration
READ ALSO all LINKS I have in ... it is a lot; I know ... you will learn the difference between -*- and [*] ... and believe me - trust me - what I am saying ... e.g.:
: Look into every <Help> of an option you want to enable or disable and read not only the help text ... moreover read also all information in the last section, where you can find something like "Selects:" and/or "Selected by:" and/or "Depends on:". These will show you the dependencies to (or from) other modules.
Dont worry you can have as many kernels as you want (and have space on disk); grub will see them all; and you can select in grub which kernel you want to boot (later you can delete some). I have three different kernels acitve; my working one is a
HARDENED (with KSPP and own changes), SIGNED (for secureboot), MONOLITHIC (=no module support=all modules are built-in my kernel), STUB (needs no grub) Kernel with IMA (Integrity Measurement Architecture) and AppArmor enabled. My /home partition is encrypted with "fscrypt" (I dont care much about offline tampering; but I am afraid of online attacks) ... and yes, it is a STABLE system.
Torpus wrote:and XFCE instead of dwm)
Sorry, I cannot help here because I am using KDE since 20 years.
Torpus wrote:and THEN proceed to harden it and make it more minimal once everyhing works fine?
Gentoo is minimal from the beginning because you will install only what you need. (Okay, not quite true; to be user-friendly some packages are installed not everybody needs; but these are not security relevant)
Torpus wrote:Should I also just install an easier distro on my laptop and play around Gentoo on a VM until I can be "good-enough"? (or maybe dual-boot)
Hard to say ... yes, you will need "some" Linux knowledge ... e.g. a blinking file is a link to a non-existant file (= a dead link) ... but you can learn also with Gentoo.
Torpus wrote:(and the learning experience is quite fun!)
YESSS !! If you want really go deep with Linux, then Gentoo is the best (Meta-) distribution.
Torpus wrote:P.S: Please don't delete this thread temporarily because I might re-read it carefully when I reconfigure WiFi, thanks!
Dont worry - no serious thread is deleted in our forum.