Skip to content

update-grub gets confused when other pools are created before rpool #20

Open
@beren12

Description

@beren12

debian 7.8 stable
zfs & tools from debian repo

grub 2.01-22debian1+zfs3-0.6.3-2wheezy
zfs 0.6.3-1
wheezy

I created a zfs mirror pool, mounted on /home
I then partitioned a drive with 6gb swap and remaining space as zfs root pool, with a mount point at /
temp mounted under /mnt
copied root partition to zfs root, chrooted into it, and ran grub install & update-grub
update-grub ran but only found linux images on the /home zpool and current boot drive

exported both pools, then imported rpool, then home pool.
chroot into rpool and update-grub found the correct images.
lz4 was enabled at pool creation, grub booted into it without issue
bios mode used, not EFI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions