[Bug 1888400] [NEW] grub-common: generated xen boot entries incorrect with root on zfs
Launchpad Bug Tracker
1888400 at bugs.launchpad.net
Tue Jul 21 14:10:30 UTC 2020
You have been subscribed to a public bug:
I have a system with a ZFS root (/) and which boots xen. The generated
grub.cfg kernel command line is ok for a non-xen boot but is missing the
pool name from the xen entries. Since upgrading from 18.04 it is
necessary to modify the command line via the grub editor during boot or
edit grub.cfg directly.
i.e. direct linux looks like:
linux /vmlinuz-5.4.0-40-generic root=ZFS=rpool/ROOT/ubuntu ro
and xen entries look like:
module2 /vmlinuz-5.4.0-33-generic placeholder root=ZFS=/ROOT/ubuntu ro
console=hvc0 console=tty0 earlyprintk=xen
grub's 10_linux includes this block:
# We have a more specialized ZFS handler, with multiple system in 10_linux_zfs.
if [ -e "`dirname $(readlink -f $0)`/10_linux_zfs" ]; then
exit 0
fi
but no similar provision for systems booting xen has been made.
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
# apt-cache policy grub-common
grub-common:
Installed: 2.04-1ubuntu26
Candidate: 2.04-1ubuntu26
Version table:
*** 2.04-1ubuntu26 500
500 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
--
grub-common: generated xen boot entries incorrect with root on zfs
https://bugs.launchpad.net/bugs/1888400
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to grub2 in Ubuntu.
More information about the foundations-bugs
mailing list