booting into initramfs not importing zfs pool

Bug #2031174 reported by Thomas Schweikle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Expired
Undecided
Unassigned

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

Revision history for this message
Julian Andres Klode (juliank) wrote :

I can't comment on zfs, but are you sure you have zfs-linux installed and not zfs-fuse?

affects: grub2 (Ubuntu) → zfs-linux (Ubuntu)
Changed in zfs-linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Julian Andres Klode (juliank) wrote :

Well actually I validated the grub.cfg to be correct on 20.04, 22.04, 23.04, and current 23.10 series by upgrading my ZFS laptop about a week ago.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for zfs-linux (Ubuntu) because there has been no activity for 60 days.]

Changed in zfs-linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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