update-grub fails because 10_linux_zfs puts a spare closed brace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have installed 19.10 on a zfs filesystem using the installer.
I have also installed zfs-auto-snapshot. Zsys is not installed.
When I run "update-grub", I get the error:
Adding boot menu entry for EFI firmware configuration
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 178
At that line the file contains an unmatched closed brace "}".
Looking at the code for /etc/grub.
Commenting line 864 fixes the problem in my case.
=== Environment ===
$ lsb_release -rd
Description: Ubuntu 19.10
Release: 19.10
$ apt-cache policy grub-common
grub-common:
Installed: 2.04-1ubuntu12
Candidate: 2.04-1ubuntu12
Version table:
*** 2.04-1ubuntu12 500
500 http://
100 /var/lib/
Same issue for me, grub update cannot create config file. LINUX=" root=ZFS= OS/ROOT/ ubuntu"
Problem was into "10_linux_zfs" and 10_linux. These scripts cant detect my pool with OS, maybe becouse of chroot env.
I did add my pool to:
GRUB_CMDLINE_
And it isn't working, but it worked on ubuntu 19.04