[Bug 1952114] Re: Grub error at boot on Ubuntu 20.04 ZFS install (Zsys)

2021-11-24 Thread Sidh RTHA
according to what I can see in the error message I provided, it is in
the grub update process (during kernel updates) that the error occured.

** Package changed: ubuntu => grub (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1952114

Title:
  Grub error at boot on Ubuntu 20.04 ZFS install (Zsys)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/1952114/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1952114] [NEW] Grub error at boot on Ubuntu 20.04 ZFS install (Zsys)

2021-11-24 Thread Sidh RTHA
Public bug reported:

On last system upgrade I dropped on a Grub prompt .

After hours spent on internet from my smartphone, I managed to boot on
my zroot fs with the following procedure :


NOTE : the following errors have been OCR-ized from pictures taken with 
smartphone, and most typos have been fixed (please forgive me for those 
remaining)


```
grub> set root=(hd1.gpt3)
grub> linux /BOOT/ubuntu.p8Ss19/@/vmlinuz root=ZFS=rpool/ROOT/ubuntu.p85s19 
boot=zfs
grub> initrd /BOOT/ubuntu.p85s19/@/initrd.img 
grub> boot
```

I don't know if it's related , but errors start appearing while
installing new packages :

```
Processing triggers for man-db (2.9.1-1) ...
ZSys is adding automatic system snapshot to GRUB menu
Error Service took too long to respond. Disconnecting client
```

I would like to fix this boot error and any attempts I made with grub
commands failed to this previous prompt.

Thank you for any hint or track you could provide.

Regards,

### error when install kernel update

```
image: initrd.img-5.11.0-25-generic in rpool/ROOT/ubuntu_p85sl9@autozsys_twfvik 
Found linux image: vmlinuz-5.11.0-34-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_41opy3 
Found initrd image: initrd. ing-5.11.0-34-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_41opy3 
Found linux image: vmlinuz-5.11.6-27-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_41opy3 
Found initrd image: initrd.tmg-5.11.8-27-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_41opy3 
Found linux image: vmlinuz-5.11.0-34-generic in rpool/ROOT/ubuntu 
p85sl9@autozsys_plzjig 
Found initrd image: initrd.ing-5.11.0-34-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_plzjig 
Found linux tmage: vnltnuz-5.11.0-27-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_plzjig 
Found initrd image: initrd.img-5.11.0-27-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_plzjig 
Found Linux image: vmlinuz-5.11.0-34-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_sug732 
Found initrd image: initrd.ing-5.11.0-34-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_sug732 
Found linux image: vmlinuz-5.11.0-27-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys sug732 
Found initrd image: initrd.tmg-5.11.8-27-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_sug732 
Found 11inux image: vmlinuz-5.11.0-34-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_pxcfk1 
Found initrd image: initrd.ing-5.11.0-34-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_pxcfk1 
Found linux image: vmlinuz-5.11.0-27-generic in 
rpool/ROOT/ubuntu_p85s19@autozsys_pxcfk1 
Found initrd image: initrd.ing-5.11.0-27-generic in 
rpool/ROOT/ubuntu_p85s19@autozsys_pxcfk1 
Found linux image: vmlinuz-5.11.0-34-generic in rpool/ROOT/ubuntu 
p85sl9@autozsys_b2d7pt 
Found initrd image: initrd.img-5.11.0-34-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_b2d7pt 
Found linux image: vmlinuz-5.11.0-27-generic in 
rpool/ROOT/ubuntu_p85s19@autozsys_b2d7pt 
Found initrd image: initrd.ing-5.11.0-27-generic in 
rpool/ROOT/ubuntu_p85s19@autozsys_b2d7pt 
Found linux image: vmlinuz-5.11.0-34-generic in 
rpool/ROOT/ubuntu_p85s19@autozsys_erboow 
Found initrd image: initrd. tmg-5.11.8-34-generic in rpool/ROOT/ubuntu 
p85sl9@autozsys_erboow 
Found linux image: vmlinuz-5.11.0-27-generic in rpool/ROOT/ubuntu 
p85sl9@autozsys_erbobw 
Found initrd image: initrd.img-5.11.8-27-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_erbouw 
Found linux image: vmlinuz-5.11.0-34-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_e8gz7y 
Found initrd image: initrd.img-5.11.0-34-generic in 
rpool/ROOT/ubuntu_p85s19@autozsys_e8gz7y 
Found Linux image: vmlinuz-5.11.0-27-generic in 
rpool/ROOT/ubuntu_p85sl9@autozsys_e8gz7y 
Found initrd image: initrd.img-5.11.8-27-generic in 
rpool/ROOT/ubuntu_p85s19@autozsys_e8gz7y 
/etc/grub.d/10_linux_zfs: 404: .: Can't open /tmp/zfsmat.TCEG2z/etc/os-release 
device-mapper: reload ioctl on osprober-Linux-nvmeinip4 failed: Device or 
resource busy 
Command failed.

Adding boot menu entry for UEFI Firmware Settings

done

root@ubuntu:/
```

### OS Version and dataset info

```
sidh@rochefort:~$ uname -a
Linux rochefort 5.11.0-34-generic #36~20.04.1-Ubuntu SMP Fri Aug 27 08:06:32 
UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
sidh@rochefort:~$ lsb_release -rd
Description:Ubuntu 20.04.3 LTS
Release:20.04
sidh@rochefort:~$ zfs list 
NAME   USED  AVAIL REFER  
MOUNTPOINT
bpool  366M  1,39G   96K  /boot
bpool/BOOT 364M  1,39G   96K  none
bpool/BOOT/ubuntu_p85sl9   364M  1,39G  194M  /boot
rpool  301G   590G   96K  /
rpool/ROOT16,3G   590G   96K  none
rpool/ROOT/ubuntu_p85sl9  16,3G   590G 6,81G  /
rpool/ROOT/ubuntu_p85sl9/srv96K   590G   96K  /srv
rpool/ROOT/ubuntu_p85sl9/usr  72,5M   590G   96K  /usr
rpool/ROOT/ubuntu_p85sl9/usr