Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default settings break root on zfs after kernel updates #28

Closed
lc-guy opened this issue Feb 20, 2022 · 2 comments
Closed

default settings break root on zfs after kernel updates #28

lc-guy opened this issue Feb 20, 2022 · 2 comments

Comments

@lc-guy
Copy link

lc-guy commented Feb 20, 2022

See openzfs/zfs#10355 . REMAKE_INITRD='yes' needs to be added to /etc/dkms/zfs.conf to prevent breakage upon kernel updates, making it impossible to boot.
Took a lot of time to debug and fix, annoying.

Also, the grub changes make it impossible to boot into hetzner's rescue mode, requiring a support ticket to change boot order and make it working again. Please fix this.

Unrelated, but there's a stray 18.04 variable in the script:

chroot_execute "DEBIAN_FRONTEND=noninteractive apt install --yes linux-headers${v_kernel_variant}-hwe-18.04 linux-image${v_kernel_variant}-hwe-18.04"

@lc-guy lc-guy changed the title kernels installed for 18.04 in 20.04 script default settings break root on zfs after kernel updates Feb 21, 2022
@Rocco83
Copy link

Rocco83 commented Mar 5, 2022

Also, the grub changes make it impossible to boot into hetzner's rescue mode, requiring a support ticket to change boot order and make it working again. Please fix this.

can you elaborate this point? on which OS have you experienced it?

crpb added a commit to crpb/zfs-hetzner-vm that referenced this issue Jun 13, 2022
@crpb
Copy link
Contributor

crpb commented Jun 13, 2022

I also just ran into the issue of a non-booting system (Debian Bullseye) after an upgrade of linux-image-amd64. Maybe this will keep the doctor(rescue-shell) away in the future.

terem42 added a commit that referenced this issue Jul 27, 2022
@terem42 terem42 closed this as completed Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants