1 |
Hi John, |
2 |
|
3 |
my approach is to have EFI partition with staticly compiled grub, alpine |
4 |
linux rescue system and kernel with tiny initramfs for zfs root. |
5 |
|
6 |
It works really well, only thing you need to consider is when upgrading |
7 |
root pool, you will not be able to boot to previous BE with old zfs. |
8 |
Without upgrading the pool, the transition is just easy as recompiling |
9 |
new kernel and upgrading the zfs userspace tools. |
10 |
|
11 |
For the alpine I use script to put a new version on /boot |
12 |
https://github.com/robertek/root-scripts/blob/master/alpine_recovery_update |
13 |
|
14 |
and having grub entry: |
15 |
|
16 |
menuentry "Alpine linux recovery" { |
17 |
linux /boot/vmlinuz-lts modules=loop,squashfs,sd-mod,nvme quiet |
18 |
nomodeset |
19 |
initrd /boot/initramfs-lts |
20 |
} |
21 |
|
22 |
The alpine extended version contains zfs modules, so you only need to |
23 |
"apk add zfs" and then modprobe zfs. |
24 |
|
25 |
The extended version is little bit bigger, but I'm fine to live with 1G efi |
26 |
partition. |
27 |
|
28 |
Robert. |
29 |
|
30 |
On Monday, August 23, 2021 10:15:10 AM CEST John Covici wrote: |
31 |
> Hi. I have been using 5.4 lts kernels for a while, but it seems I |
32 |
> need to change to 5.10 lts -- even Debian is now using 5.10, so it |
33 |
> seems time to do this. |
34 |
> |
35 |
> Now, the problem is that I am using zfs and will not give it up, and |
36 |
> the version I have been using 0.8.6 is no longer supported in 5.10 |
37 |
> versions of the kernel. So, I need a newer version of zfs and a |
38 |
> rescue cd in case I get into trouble. Sysresc seems to no longer be |
39 |
> compatible withgentoo linux, so what is available? I could use gentoo |
40 |
> catalyst to make something -- I have done that in the past, but its |
41 |
> quite a bit of work and I would prefer if there were something |
42 |
> available I could use out of the box. |
43 |
> |
44 |
> Thanks in advance for any suggestions. |