-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grub.cfg incorrectly includes a / after zpool name and halts system on boot #25
Comments
The bug is probably in Grub, I reported in, no response in 3 months: http://savannah.gnu.org/bugs/?52746 |
This was due to a (malconfigured?) system, that directly resides under an rpool's (implicit?) dataset. It surfaced again when attempting a reboot of the machine.
It resulted in an
There seems to be a
Everything is stored and mounted directly from the zpool's mountpoint. This is visible in
A monkey patch can be applied as per
Indeed rewriting the And yes, it is very much the case you are reporting in the upstream issue. |
System information
Describe the problem you're observing
When installing from an Ubuntu 16.04.3
installimage
at Hetzner, installation of a ZFS-capable GRUB via a chrooted environment and reboot into such works as expected, as outlined by the recipies in Ubuntu 16.04 root on ZFS informed by Ubuntu on ZFS root on Hetzner Server.If the system is upgraded immediately after set up with
apt update && apt upgrade -y
prior to installation ofzfs-dkms
andzfs-initramfs
, the resulting GRUB file will not contain the right pool identifier to continue.Describe how to reproduce the problem
apt update && apt upgrade -y
ext4
to azfs
partition and install GRUB to the respective disk'sboot_grub
-flagged 1M partition via a chroot environment. Verify to be in the correct system withgrub-probe /
.Include any warning/errors/backtraces from the system logs
The system will try to auto-import
rpool/
, containing a slash, which cannot be found. Manually removing the trailing/
fromgrub.cfg
's linux lines after runningupdate-grub
in the chroot and only then installing GRUB helped to circumvent the issue.Trying with
root=ZFS=rpool/ROOT/ubuntu
didn't help solving the case.Possibly (in)directly related to
The text was updated successfully, but these errors were encountered: