I'm having some issues after following the geli tutorial located here:
http://www.wanda25.de/geli.html
When booting, I'm able to enter the passphrase for the ad0s2 partition and geli appears to correctly do its thing and continues -- if I enter an incorrect passphrase, it immediately prompts me to try again. Almost immediately after entering the correct passphrase, the kernel tries to mount the encrypted root slice (ad0s2.elia) but is unable to do so and gives me a ROOT MOUNT ERROR and drops me to the mountroot prompt. Here's what it shows when listing the valid disk boot devices (presssing ?):
So it appears that something is going wrong and it's missing the encrypted slices from the encrypted partition (ad0s2). Searching around, I found this post from someone with a similar problem:
http://forums.freebsd.org/showthread.php?t=8440&highlight=encrypted+root
I followed jb_fvwm2's advice from that thread and added the geom_{bsd,mbr,label} modules to the loader.conf file, but that has no effect. Is there something else I should be doing to get these encrypted slices to show up?
I'm not sure if it matters, but I am doing this with 8.0-RELEASE in a VirtualBox guest.
Here's the partition scheme:
Here's the /boot/loader.conf file from the unencrypted root partition (ad0s1a):
Here's the /etc/fstab file from the unencrypted root partition (ad0s1a):
http://www.wanda25.de/geli.html
When booting, I'm able to enter the passphrase for the ad0s2 partition and geli appears to correctly do its thing and continues -- if I enter an incorrect passphrase, it immediately prompts me to try again. Almost immediately after entering the correct passphrase, the kernel tries to mount the encrypted root slice (ad0s2.elia) but is unable to do so and gives me a ROOT MOUNT ERROR and drops me to the mountroot prompt. Here's what it shows when listing the valid disk boot devices (presssing ?):
Code:
List of GEOM managed disk devices:
acd0 ad0.eli ad0
Loader variables:
vfs.root.mountfrom=ufs:/dev/ad0s2.elia
vfs.root.mountfrom.options=rw
...
So it appears that something is going wrong and it's missing the encrypted slices from the encrypted partition (ad0s2). Searching around, I found this post from someone with a similar problem:
http://forums.freebsd.org/showthread.php?t=8440&highlight=encrypted+root
I followed jb_fvwm2's advice from that thread and added the geom_{bsd,mbr,label} modules to the loader.conf file, but that has no effect. Is there something else I should be doing to get these encrypted slices to show up?
I'm not sure if it matters, but I am doing this with 8.0-RELEASE in a VirtualBox guest.
Here's the partition scheme:
Code:
ad0 HDD
ad0s1 Partition #1 (unencrypted)
ad0s1a Unencrypted root slice
ad0s2 Partition #2 (encrypted)
ad0s2.elia Encrypted root slice
ad0s2.elib Encrypted swap slice
Here's the /boot/loader.conf file from the unencrypted root partition (ad0s1a):
Code:
geom_bsd_load="YES"
geom_mbr_load="YES"
geom_label_load="YES"
geom_eli_load="YES"
Here's the /etc/fstab file from the unencrypted root partition (ad0s1a):
Code:
/dev/ad0s2.elia / ufs rw 1 1