On 01/29/2019 12:04 PM, Rich Freeman wrote:
I don't see the value in using a different configuration on a box simply because it happens to work on that particular box. Dracut is a more generic solution that allows me to keep hosts the same.

And if all the boxes in the fleet can function without an initramfs? Then why have it? Why not apply Occam's Razor & Parsimony and use the simpler solution. Especially if more complex solutions introduce additional things that need to be updated.

Kinda sorta. The kernel boots one distro which then chroots and execs another. The initramfs follows the exact same rules as any other userspace rootfs.

There's no "kinda" to it. Booting one distro (kernel & set of init scripts), then chrooting and execing a new kernel and the booting another distro is at least twice as complex as booting a single distro.

This is even more complicated if the first initramfs distro is not identical to the main installed distro. Which is quite likely to be the case, or at least a subset of the main installed distro.

IMHO an initramfs is usually, but not always, an unnecessary complication.

Sure, and I wouldn't expect them to require rebuilding your initramfs either. I was speaking generally.

Modifying things like crypttab and / or adding / removing file systems from the kernel that are required for boot have caused me to need to rebuild an initramfs in the past. But that was not necessarily Gentoo, so it may not be a fair comparison.



--
Grant. . . .
unix || die

Reply via email to