[Bug 2031174] [NEW] booting into initramfs not importing zfs pool

Thomas Schweikle 2031174 at bugs.launchpad.net
Fri Aug 11 17:06:03 UTC 2023


Public bug reported:

With root on zfs ubuntu boots into initramfs not finding the pool.

No pool imported. Manually import the root pool
at the command prompt an then exit
Hint: Try: zpool import -N

zpool import -N

imports the pool:
  pool: rpool
    id: ....
 state: online
status: Some supported features are not enabled on the pool.
action: The pool can be imported using its name or nummeric identifier ...

zpool list
no pools available
zpool import rpool
zpool list
....
rpool 232G 215G 17.4G 48% 92% 1.00x online -

exiting the initramfs commandline makes the system boot further, then

find: /dev/zvol/: no such file or directory
find: /dev/zvol/: no such file or directory
cannot open "/ROOT/ubuntu_sxcpx": No such file or directory
...
mount: mounting /dev on /root/dev failed: no such file or directory
mount; mouniing /run on /root/run failed: no such file or directory
run-init: can't execute /sbin/init: no such file or directory
[... further run-init messages about missing file or directory]
No init found. Try passing init= bootarg

A second ctrl-d leads to a kernel panik because of killing init.

Seems update-grub generating grub-configurations unusable with root on
zfs and /boot on ext4

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  booting into initramfs not importing zfs pool

Status in grub2 package in Ubuntu:
  New

Bug description:
  With root on zfs ubuntu boots into initramfs not finding the pool.

  No pool imported. Manually import the root pool
  at the command prompt an then exit
  Hint: Try: zpool import -N

  zpool import -N

  imports the pool:
    pool: rpool
      id: ....
   state: online
  status: Some supported features are not enabled on the pool.
  action: The pool can be imported using its name or nummeric identifier ...

  zpool list
  no pools available
  zpool import rpool
  zpool list
  ....
  rpool 232G 215G 17.4G 48% 92% 1.00x online -

  exiting the initramfs commandline makes the system boot further, then

  find: /dev/zvol/: no such file or directory
  find: /dev/zvol/: no such file or directory
  cannot open "/ROOT/ubuntu_sxcpx": No such file or directory
  ...
  mount: mounting /dev on /root/dev failed: no such file or directory
  mount; mouniing /run on /root/run failed: no such file or directory
  run-init: can't execute /sbin/init: no such file or directory
  [... further run-init messages about missing file or directory]
  No init found. Try passing init= bootarg

  A second ctrl-d leads to a kernel panik because of killing init.

  Seems update-grub generating grub-configurations unusable with root on
  zfs and /boot on ext4

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




More information about the foundations-bugs mailing list