FreeBFreeBSD-12.3-RELEASE-amd64 Auto ZFS MBR BIOS Encrypt Disks and changing provider nodes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Feb 2022 07:52:42 UTC
freebsd-questions:
I recently installed FreeBSD-12.3-RELEASE-amd64 onto a desktop x86 PC
(Intel DQ67SW motherboard; UEFI disabled in the firmware):
FreeBSD - Welcome to FreeBSD Boot Multi user
FreeBSD Installer - Welcome Install
Keymap Selection Continue with default keymap
Set Hostname f4.tracy.holgerdanske.com
Distribution Selection <unselect all options>
Partitioning Auto (ZFS)
Pool Type/Disks stripe: 1 disk
ada0 INTEL SSDSC2CW060A3
Pool Name f4_zroot
Force 4K Sectors YES
Encrypt Disks YES
Partition Scheme MBR (BIOS)
Swap Size 2g
Mirror Swap YES
Encrypt Swap YES
>>> Install Proceed with installation
ZFS Configuration
Last Chance! YES
Enter a strong passphrase ********
Re-enter password ********
Root - New Password ********
Retype New Password ********
Network Configuration em0
Configure IPv4 Yes
Use DHCP Yes
Configure IPv6 No
Search tracy.holgerdanske.com
IPv4 DNS #1 192.168.5.1
IPv4 DNS #2 208.67.222.222
CMOS clock set to UTC Yes
Time Zone
Region America -- North and South
Country or region United States of America
Zone Pacific
Time & Date - month, year, day <verify>
Time & Data - time <verify>
Services to start at boot sshd, ntpdate, ntpd, powerd
System hardening options <none>
Add users No
Final configuration Exit
Open shell No
Complete Reboot
When I boot, I see the prompt:
GELI Passphrase:
When I enter the GELI passphrase and press <Enter>, boot continues and
the computer works.
When I add two SATA Host Bus Adapters (StarTech PEXSAT32) and four SATA
drives (Seagate ST3000DM001), boot, enter the GELI passphrase and press
<Enter>, boot continues and then displays another prompt:
Enter passphrase for ada4s1d
It appears that FreeBSD has assigned a different device node to the OS
drive -- it was ada0 at installation, now it is ada4.
When I enter the passphrase and press <Enter>:
GEOM_ELI: Wrong key for ada4s1d. Tries left: 2.
Enter passphrase for ada4s1d
The passphrase no longer works. After two more failed attempts:
Mounting from zfs:f4_zroot/ROOT/default failed with error 2; retrying
for 3 more seconds
Mounting from zfs:f4_zroot/ROOT/default failed with error 2.
Loader variables:
vfs.root.mountfrom=zfs:f4_zroot/ROOT/default
Manual root filesystem specification:
<fstype>:<device> [options]
Mount <device> using filesystem <fstype>
and with the specified (optional) option list.
eg. ufs:/dev/da0s1a
zfs:zroot/ROOT/default
cd9660:/dev/cd0 ro
(which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
? List valid disk boot devices
. Yield 1 second (for background tasks)
<empty line> Abort manual input
mountroot>
Comments or suggestions?
David