[Bug 229357] bootpool is not imported after boot (separated bootpool/zroot due to zroot encryption)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jun 27 06:38:36 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229357
Bug ID: 229357
Summary: bootpool is not imported after boot (separated
bootpool/zroot due to zroot encryption)
Product: Base System
Version: 11.2-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: misc
Assignee: bugs at FreeBSD.org
Reporter: petr.fischer at me.com
I have encrypted zroot partition, so, my bootpool is separated from zroot
zpool. Encryption classic, via GELI, password prompt before boot.
But on freshly updated 10.2, after every reboot, bootpool is not imported, so,
no access to the kernel modules, resulting in other related issues (some
autoloaded modules from rc.conf, like vbox, can crash the whole system during
boot, because bootpool is just not available/auto imported)...
This is similar to bug #212258, but I have GPT (not MBR).
Workaround is probably to import bootpool in rc.local and then, load all
necesary kernel modules (like linux, vbox etc.) manualy again (also in
rc.local).
This bug occurs probably only on separated bootpool/zroot systems, due to zroot
encryption.
Also - I have GPT partitions, but I am booting in CMS BIOS Mode (classic BIOS
way), not UEFI, because with UEFI, my i915kms Intel Graphics does not work
(tested on 11.0 and 11.1).
Is there any new way how to config encrypted zroot, than separated
bootpool/zroot?
--- gpt output ----
=> 40 500118112 ada0 GPT (238G)
40 2008 - free - (1.0M)
2048 1024 1 freebsd-boot (512K)
3072 1024 - free - (512K)
4096 204800 2 efi (100M)
208896 2048 - free - (1.0M)
210944 4194304 3 freebsd-zfs (2.0G)
4405248 8388608 4 freebsd-swap (4.0G)
12793856 487324296 5 freebsd-zfs (232G)
--- loader.conf (selection) ---
...
geli_ada0p5_keyfile0_load="YES"
geli_ada0p5_keyfile0_type="ada0p5:geli_keyfile0"
geli_ada0p5_keyfile0_name="/boot/encryption.key"
geom_eli_load="YES"
geom_eli_passphrase_prompt="YES"
vfs.root.mountfrom="zfs:zroot/ROOT/default"
kern.geom.label.disk_ident.enable="1"
kern.geom.label.gptid.enable="1"
zpool_cache_load="YES"
zpool_cache_type="/boot/zfs/zpool.cache"
zpool_cache_name="/boot/zfs/zpool.cache"
...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list