extra } crashes update-grub in eaon w/zfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Despite the attempted patch to prevent a double } } by 10_linux_zfs in grub.cfg for pure zfs systems, the failure remains in the latest eoan.
Total install failure results crashing do-release-upgrade. Critical.
A debug run follows, then the generated file with the extra }
I added a set -x at the top of the loop. the results were
a799481e327948b
a799481e327948b
+ true
+ have_zsys=
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ main = history ]
+ [ != main -a -n ]
+ title=Ubuntu Eoan Ermine (development branch)
+ main_dataset_
+ main_dataset=
+ zfs_linux_entry 0 Ubuntu Eoan Ermine (development branch) simple zfsroots/std /dev/sda1
+ submenu_level=0
+ title=Ubuntu Eoan Ermine (development branch)
+ type=simple
+ dataset=
+ boot_device=
+ initrd=
+ kernel=
+ kernel_
+ basename
+ sed -e s,^[^0-9]*-,,g
+ kernel_version=
+ printf %0s
+ tr
+ submenu_
+ sed s/^//
+ echo Ubuntu Eoan Ermine (development branch)
+ grub_quote
+ sed s/'/'\\''/g
+ echo menuentry 'Ubuntu Eoan Ermine (development branch)' --class ubuntu --class gnu-linux --class gnu --class os ${menuentry_
+ [ 1 = 1 ]
+ echo recordfail
+ sed s/^//
+ [ = ]
+ echo load_video
+ sed s/^//
+ [ 1 = 0 ]
+ [ simple != recovery ]
+ [ != ]
+ [ 1 = 1 ]
+ echo gfxmode ${linux_gfx_mode}
+ sed s/^//
+ echo insmod gzio
+ sed s/^//
+ echo if [ "${grub_platform}" = xen ]; then insmod xzio; insmod lzopio; fi
+ sed s/^//
+ prepare_
+ local boot_device=
+ grub_add_tab
+ sed+ -e s/^/ /
sed s/^//
+ echo /dev/sda1
+ tr / _
+ local boot_device_
+ echo boot_device_
+ cache_file=
+ [ ! -f /tmp/zfstmp.
+ set +u
+ prepare_
+ old_ifs=
+ IFS=
+ /usr/sbin/
+ partmap=msdos
+ echo insmod part_msdos
+ loop_file=
+ /usr/sbin/
+ abstraction=
+ /usr/sbin/
+ fs=zfs
+ echo insmod zfs
+ [ x = xy ]
+ /usr/sbin/
+ fs_hint=hd0,msdos1
+ [ xhd0,msdos1 != x ]
+ echo set root='hd0,msdos1'
+ /usr/sbin/
+ fs_uuid=
+ /usr/sbin/
+ hints=-
+ echo if [ x$feature_
+ echo search --no-floppy --fs-uuid --set=root --hint-
+ echo else
+ echo search --no-floppy --fs-uuid --set=root 7a1b09c5771f32a5
+ echo fi
+ IFS=
+ [ x != x ]
+ echo insmod part_msdos
insmod zfs
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 7a1b09c5771f32a5
fi
+ set -u
+ cat /tmp/zfstmp.
+ echo insmod part_msdos
insmod zfs
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 7a1b09c5771f32a5
fi
+ [ 1 = 0 ]
+ [ simple != simple ]
+ linux_default_
+ [ simple = recovery ]
+ sed s/^//
+ [ 1 = 0 ]
+ [ simple != simple ]
+ sed s/^//
+ echo }
+ sed s/^//
+ at_least_
+ last_section=main
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ history = history ]
+ [ - != yes ]
+ continue
+ printf \t
+ IFS= read -r machineid iszsys section name dataset device initrd kernel opt
+ [ 1 -eq 1 ]
+ echo }
Found memtest86+ image: /std@/boot/
Found memtest86+ image: /std@/boot/
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 182
Syntax errors are detected in generated GRUB config file.
grub-mkconfig generated file
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${initrdfail}" = 2 ]; then
set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
set next_entry=
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default=
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_
menuentry_
else
menuentry_
fi
export menuentry_id_option
if [ "${prev_
set saved_entry=
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_
save_env saved_entry
fi
}
function initrdfail {
if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
if [ -z "${initrdfail}" ]; then
set initrdfail=1
if [ -n "${boot_once}" ]; then
set prev_entry=
save_env prev_entry
fi
fi
save_env initrdfail
fi; fi
}
function recordfail {
set recordfail=1
# GRUB lacks write support for zfs, so recordfail support is disabled.
}
function load_video {
if [ x$feature_
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_
font=unicode
else
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod zfs
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 7a1b09c5771f32a5
fi
font=
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_
set timeout_
set timeout=10
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 10 ; then
set timeout=0
fi
fi
if [ $grub_platform = efi ]; then
set timeout=30
if [ x$feature_
set timeout_style=menu
fi
fi
### END /etc/grub.
### BEGIN /etc/grub.
set menu_color_
set menu_color_
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}
if hwmatch ${prefix}
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu Eoan Ermine (development branch)' --class ubuntu --class gnu-linux --class gnu --class os ${menuentry_
recordfail
load_video
gfxmode ${linux_gfx_mode}
insmod gzio
if [ "${grub_platform}" = xen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod zfs
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 7a1b09c5771f32a5
fi
linux root=ZFS=
initrd
}
}
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod zfs
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 7a1b09c5771f32a5
fi
knetbsd /std@/boot/
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod zfs
set root='hd0,msdos1'
if [ x$feature_
search --no-floppy --fs-uuid --set=root --hint-
else
search --no-floppy --fs-uuid --set=root 7a1b09c5771f32a5
fi
linux16 /std@/boot/
}
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.
### BEGIN /etc/grub.
if [ -f ${config_
source ${config_
elif [ -z "${config_
source $prefix/custom.cfg;
fi
### END /etc/grub.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: grub-common 2.04-1ubuntu9
ProcVersionSign
Uname: Linux 5.0.0-31-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
Date: Sun Oct 6 13:56:20 2019
InstallationDate: Installed on 2016-05-08 (1246 days ago)
InstallationMedia: Lubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: Upgraded to eoan on 2019-10-05 (0 days ago)
modified.
mtime.conffile.
deleting 10_linux_zfs restored previous normal zfs boot operations.
Note the script shows more severe errors than the extra }, the initrd arguments were blank.
Perhaps some guidance for those of us that already have zfs roots as per the previous guides... to have the new 'for desktops' feature for zfs disabled until explicitly enabled?