Earlier quoted context omitted.
The Linux kernel does not require an initramfs. You can build a kernel with everything compiled in; with no modules needed at all. Initramfs is used for generic kernels where you don't know beforehand which features will be required. This allows you to avoid wasting RAM on features you don't use. But it is optional.
I realize that. But every distro I've used uses an initramfs, so unless you want to build your own kernels, you're stuck with it, and the painfully slow initramfs updates when you update packages, and dkms (or similar) updates the initramfs with the newer version of your out-of-tree modules.
No more boot loader: Please use the kernel instead
81–90 of 460 posts
Re: No more boot loader: Please use the kernel instead
#82Earlier quoted context omitted.
FWIW, Grub has a read-only ZFS implementation to allow booting: https://git.savannah.gnu.org/cgit/grub.git/tree/include/grub...
Grub uses an ancient version of zfs code, it's tied to Oracle's zfs and they refuse to update it to current openzfs.
Re: No more boot loader: Please use the kernel instead
#83I really like the idea and the approach. I’m a little concerned however about the compatibility issues with kexec. For example, here’s what Arch says about the NVidia module: > The graphics driver needs to be unloaded before a kexec, or the next kernel will not be able to gain exclusive control of the device. This is difficult to achieve manually because any programs which need exclusive control over the GPU (Xorg, d…
Re: No more boot loader: Please use the kernel instead
#84Re: No more boot loader: Please use the kernel instead
#85I really like the idea and the approach. I’m a little concerned however about the compatibility issues with kexec. For example, here’s what Arch says about the NVidia module: > The graphics driver needs to be unloaded before a kexec, or the next kernel will not be able to gain exclusive control of the device. This is difficult to achieve manually because any programs which need exclusive control over the GPU (Xorg, d…
There's no reason to load things like the nvidia driver if all you want to do is offer a choice to kexec into another kernel, which makes things easier - you can continue just using the display environment the firmware set up.
Re: No more boot loader: Please use the kernel instead
#86Earlier quoted context omitted.
FWIW, Grub has a read-only ZFS implementation to allow booting: https://git.savannah.gnu.org/cgit/grub.git/tree/include/grub...
Grub uses an ancient version of zfs code, it's tied to Oracle's zfs and they refuse to update it to current openzfs.
Re: No more boot loader: Please use the kernel instead
#87Earlier quoted context omitted.
Grub uses an ancient version of zfs code, it's tied to Oracle's zfs and they refuse to update it to current openzfs.
Are there any instances of features being utilized that the old version of the code is unable to cope with well enough to be able to boot the system?
Re: No more boot loader: Please use the kernel instead
#88Re: No more boot loader: Please use the kernel instead
#89Re: No more boot loader: Please use the kernel instead
#90Earlier quoted context omitted.
There's no reason to load things like the nvidia driver if all you want to do is offer a choice to kexec into another kernel, which makes things easier - you can continue just using the display environment the firmware set up.
I think you’re missing the broader point I was trying to make by hyperfocusing on 1 example of an issue that can arise from kexec and is solvable in a number of ways. Ultimately the critique raised in the video about focusing on the VM and not trying this on real HW yet is a very real one and is the single hardest problem here I suspect, so punting on it can’t go on for too long.