FreeBSD 10.1 i386 encrypted mirrored ZFS root on USB flash drives
David Christensen
dpchrist at holgerdanske.com
Sun Jan 11 20:09:49 UTC 2015
freebsd-questions:
I tried again with two Ultra Fit drives in the USB ports that come up as
da0 and da1, and encrypted mirrored ZFS, but this time I choose "MBR"
rather than "GPT":
"Welcome to FreeBSD" -- choose "1. Boot Multi User".
"Welcome" -- choose "Install".
"Keymap Selection" -- choose ">>> Continue with default keymap".
"Set Hostname" -- enter "cd2533".
"Distribution Select" -- accept default selections:
games
ports
"Partitioning" -- select "Auto (ZFS)":
"Pool Type/Disks" -- mirror: 2 disks:
mirror
da1 SanDisk Ultra Fit
da2 SanDisk Ultra Fit
"Pool Name" -- "cd2533".
"Force 4K Sectors" -- "YES".
"Encrypt Disks" -- "YES".
"Partition Scheme" -- "MBR".
"Swap Size" -- "1g".
"Mirror Swap" -- "YES".
"Encrypt Swap" -- "YES".
Choose ">>> Install".
"Last Chance" -- choose "YES".
Enter and confirm encryption passphrase.
Enter and confirm root password.
"Network Configuration":
Select "em0"
"IPv4" -- "Yes".
"DHCP" -- "Yes".
"IPv6" -- "No".
"Resolver Configuration"
"Search" -- holgerdanske.com
"IPv4 DNS 1" -- 192.168.1.1
"IPv4 DNS 2" --
"Set Local or UTC Clock" -- "Yes".
"Time Zone Selector" -- "America North and South" -- "United States" --
"Pacific Time". Confirm "PST".
"System Configuration" -- select:
sshd
ntpd
powerd
dumpdev
"Add User Accounts" -- "No".
"Final Configuration" -- "Exit".
"Manual Configuration" -- "No".
"Complete" -- "Reboot".
The machine boots!
I enter the encryption passphrase when prompted and boot continues!
Then it dies:
.
GEOM_ELI: Device da0s1d.eli created.
GEOM_ELI: Encryption: AES-XTS 256
GEOM_ELI: Crypto: software
GEOM_MIRROR: Cancelling unmapped because of da0s1b.
GEOM_MIRROR: Device mirror/swap launched (1/2).
GEOM_ELI: Device da1s1d.eli created.
GEOM_ELI: Encryption: AES-XTS 256
GEOM_ELI: Crypto: software
Trying to mount root from zfs:cd2533/ROOT/default []...
Fatal double fault:
eip = 0xc186ad2e
esp = 0xea4f2000
ebp = 0xea4f2360
cpuid = 0; apic id = 00
panic: double fault
cpuid = 0
KDB: stack backtrace:
#0 0xc0b53ed2 at kdb_backtrace+0x52
#1 0xc0b1688f at panic+0x11f
#2 0xc101bedb at dblfault_handler+0xab
Uptime: 49s
David
More information about the freebsd-questions
mailing list