Avatar

bodaciousFern

bodaciousFern@lemmy.dbzer0.com
Joined
1 posts • 9 comments
Direct message

I’m using Gentoo with systemd and a customized kernel, and additionally I have the /usr partition LUKS encrypted. Because /usr is absolutely essential for systemd to function, I configured dracut to make a specially crafted initrd which activates the luks lvm and prompts for the password to decrypt and mount /usr on startup before systemd init tries to run.

About a year or two ago, some update to dracut or some other dependency (assumption) caused the dracut generated initrd’s to kernel panic. After multiple days of troubleshooting, I discovered that just copying forward an older initrd in /boot and naming it to match the new kernel, e.g. initramfs-6.6.38-gentoo.img , allows the system to boot normally .

So, my Gentoo is booting a kernel 6.6.something with a ramdisk generated in the 5.9 kernel era. I am dreading the day when this behavior breaks and I can no longer update my kernel 😳

permalink
report
reply
19 points

wAkE uP sHeEpLe

permalink
report
parent
reply

I don’t think he knows about second gun, Pip

permalink
report
reply

Wtf I can’t unsee this shit

permalink
report
parent
reply

The President we need, but not the President we deserve

permalink
report
parent
reply

The doctor thought I might have brain damage.

permalink
report
parent
reply

Nobody could have seen this coming 😒

permalink
report
reply

This is great on so many levels - from the context of the original show it also implies Zelenskyy is banging Putin’s mom 🤣

permalink
report
reply

50 minutes seems way too long - I run Gentoo on a 2nd gen i5 and my kernel compile is always under 20 minutes.

You are using make -j4 or make -j(number of CPU cores) for parallel compile, right?

permalink
report
reply