Tag: kernel (Atom feed)

minimal initramfs script

After several years having Debian as my main Linux distro, I've decided to go back to Gentoo, the distro who caught my attention since day one. However, my root partition is encrypted. While Debian has an out-of-the-box solution that makes everyone's life easier and almost transparent, Gentoo goes the opposite way. You have to connect the dots and make it work yourself. I had to stop, plan for a moment, and get ready.

In this short post, I'll be sharing the steps I took, the shell scripts, and how I wired up a minimal init script, that I called initramfs, although it's not quite that, this is much smaller and single purposed, decrypt my root partition.

Read more...