Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # zfs-native 0.6.5.7 - Kernel Downgrade to 4.4.0-57
- # Does not build with 4.4.0-59
- # Install previous good kernel
- apt-get install linux-image-4.4.0-57-generic linux-image-extra-4.4.0-57-generic
- # Replace primary boot kernel (vmlinuz and initrd.img) in grub.cfg
- sed -E "s/\/(vmlinuz|initrd\.img)-4\.4\.0-59-generic/\/\1-4.4.0-57-generic/g" /boot/grub/grub.cfg > /tmp/grub-modified-4.4.0-57.cfg
- # CHECK THE GENERATED FILE. Then update grub.cfg
- cp -v /boot/grub/grub.cfg /tmp/grub.$(date +%Y-%m-%d-%H-%M-%S)-.bak
- cp -v /tmp/grub-modified-4.4.0-57.cfg /boot/grub/grub.cfg
- # Reboot
- shutdown -r now
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement