Skip to content

System may not be configured correctly for boot environments #60

@K0-RR

Description

@K0-RR

I got this vague error after the installation but since I read the docs I figured I now need to https://github.com/johnramsden/zectl/blob/master/docs/SYSTEM_SETUP.md#dataset-configuration so I tried zpool set bootfs="zpcachyos/ROOT/default" "zpcachyos"

cannot set property for 'zpcachyos': no such pool or dataset

I used zpool list and got:

NAME        SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
steam       349G   107G   242G        -         -    19%    30%  1.00x    ONLINE  -
zpcachyos   220G   171G  48.5G        -         -    63%    77%  1.00x    ONLINE  -

soo there is such pool? Then I run zfs list

NAME USED AVAIL REFER MOUNTPOINT
steam                                                       107G   232G   107G  /mnt/steam
zpcachyos                                                   179G  41.7G   192K  none
zpcachyos/ROOT                                              179G  41.7G   192K  none
zpcachyos/ROOT/cos                                          179G  41.7G   192K  none
zpcachyos/ROOT/cos/home                                    81.4G  41.7G  77.7G  /home
zpcachyos/ROOT/cos/root                                    78.0G  41.7G  64.5G  /

Maybe zpool set bootfs="zpcachyos/ROOT/cos" "zpcachyos"?
I didn't throw an error but after issuing zectl list

Failed to validate the activated boot environment (cos)! Error:
Boot environment dataset (zpcachyos/ROOT/cos/cos) doesn't exist.

now it doubled "cos" for some reason, ok let's try zpool set bootfs="zpcachyos/ROOT" "zpcachyos"
zectl list

Failed to validate the activated boot environment (ROOT)! Error:
Boot environment dataset (zpcachyos/ROOT/cos/ROOT) doesn't exist.

At least looks similar to the entry from zfs list. Got it, "root" - all lowercase:
zpool set bootfs="zpcachyos/root" "zpcachyos"

cannot set property for 'zpcachyos': no such pool or dataset

This again?

zpool set bootfs="zpcachyos" "zpcachyos"
zectl list

zectl: System may not be configured correctly for boot environments

Aand I'm back at the beginning.


Can someone tell me what I'm doing wrong?

Also, I use refind and limine (as a fallback) instead of grub, will zectl work with them?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions