Ubuntu Studio 20.04 ZFS Option Fails to Boot

Bug #1870395 reported by David R. Bergstein
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

As part of installation, I selected the experimental ZFS option. Ubuntu Studio then installed without errors, however upon booting the new system there was a zpool import failure and I was prompted at the initrd to manually import the zfs datasets.

The workaround at initrd was to enter the following commands:

zpool import -R /root -N rpool
zpool import -R /root -N bpool
zfs mount -a
exit

The system then booted up normally, however the workaround above has to be used for each subsequent boot.

Tags: zfs
affects: ubuntu → ubuntustudio
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Respin already in progress. New spin has the fix.

affects: ubuntustudio → syslinux (Ubuntu)
Changed in syslinux (Ubuntu):
status: New → Fix Released
affects: syslinux (Ubuntu) → zfs-linux (Ubuntu)
Revision history for this message
David R. Bergstein (dbergst) wrote :

I tried the current Ubuntu Studio ISO, dated 4/3/2020, and this ZFS boot issue is still there. Are there any post-install commands that can be run to fix it or do I need to wait for a subsequent spin of the ISO file?

Revision history for this message
David R. Bergstein (dbergst) wrote :

I have determined that the root cause of the ZFS boot issue reported here is in the content generated by update-grub. The initial entry for 'Ubuntu (lowlatency)' is using $menuentry_id_option 'gnulinux-simple-dev/sda4' which fails to load the zfs datasets at the initrd. The menu entry for 'Ubuntu Focal Fossa (development branch)' uses $menuentry_id_option 'gnulinux-rpool/ROOT/ubuntu_xxxxx', also used by the advanced options. These entries boot normally without errors.

The update-grub command is part of the grub2-common package, and should be updated to correct this issue.

affects: zfs-linux (Ubuntu) → grub2 (Ubuntu)
Changed in grub2 (Ubuntu):
status: Fix Released → New
Revision history for this message
David R. Bergstein (dbergst) wrote :

Copy of /boot/grub/grub.cfg

tags: added: zfs
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Hey David,

Thanks for reporting this bug and help making ubuntu better.
The issue was in the installation setup in the images produced before beta was out. (The ones from the 2nd).
Those installations are really complex to fix and it’s better to reinstall using the beta official image (the respin which finished on the 3rd was for this).
I’m closing up this bug thus. Feel free to reopen if you reproduce on a new installation with thhe beta image,

Changed in grub2 (Ubuntu):
status: New → Fix Released
affects: grub2 (Ubuntu) → ubiquity (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.