I'm trying to do geli-encrypted FreeBSD dual-boot with Debian on legacy BIOS. My partition scheme is:
The output from
[FONT=Arial]And from
[FONT=Arial]The output from
What am I doing wrong?
- /dev/ada0 (gpt)
- /dev/ada0p1 (bios boot)
- /dev/ada0p2 (linux filesystem)
- /dev/ada0p3 (linux filesystem)
- /dev/ada0p4 (freebsd boot)
- /dev/ada0p5 (freebsd swap)
- /dev/ada0p6 (freebsd zfs)
The output from
gpart backup ada0
is:
Code:
GPT 8184
1 bios-boot 2048 2048
2 linux-data 4096 497664
3 linux-data 501760 2776629248
4 freebsd-boot 2777131008 256 boot0
5 freebsd-swap 2777133056 16777216 swap0
6 freebsd-zfs 2793910272 3066619904 tank0
zpool import
:[/FONT]
Code:
ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
pool: tank
id: 13125465944866070244
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
tank ONLINE
ada0p6.eli ONLINE
[FONT=Arial]The output from
geli list
:[/FONT]
Code:
Geom name: ada0p6.eli
State: ACTIVE
EncryptionAlgorithm: AES-XTS
KeyLength: 256
Crypto: software
Version: 7
UsedKey: 0
Flags: BOOT, GELIBOOT
KeysAllocated: 366
KeysTotal: 366
Providers:
1. Name: ada0p6.eli
Mediasize: 1570109386752 (1.4T)
Sectorsize: 4096
Mode: r0w0e0
Consumers:
1. Name: ada0p6
Mediasize: 1570109390848
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
What am I doing wrong?