|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
geli attach during boot problems
Hi all!
I'm building one of my home server (very small) with FreeBSD 9.1, and have a problem trying to open an encrypted partition for data at boot. I followed http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html"]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html Used gpt for disk partitioning. There's no problem when I issue the command: geli attach -k /root/da2.key /dev/da2 (from the handbook example). It is said that that I should include the following two lines in rc.conf geli_devices="da2" geli_da2_flags="-p -k /root/da2.key" I really don't understand the following paragraph, as it's referring to '-P' option, but it's '-p' that is shown in the `geli_da2_flags`. The problem is that when the server is booting, it asks for a key. I enter the key, via keyboard, but the system always says that it's wrong. I tried also the following line instead: geli_da2_flags=" -k /root/da2.key" without the '-p' but always get the same result. What should I do? Another thing: Should I place a 'noauto' line for mounting this encrypted partition in /etc/fstab or does it need to be mounted afterwards from some script? |
|
|||
That was it, I was confusing things. Thank you for your time and help!
|
Tags |
geli boot |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
three problems :) | craze | OpenBSD Packages and Ports | 6 | 6th March 2011 03:26 PM |
Xtracting Data after Fragmentation / Block Count / Partition Problems on Boot | IronForge | OpenBSD Installation and Upgrading | 3 | 16th December 2010 01:09 AM |
GDM Problems | Saint | OpenBSD Packages and Ports | 4 | 29th August 2010 09:42 AM |
FreeBSD + Geli | graudeejs | Guides | 9 | 26th October 2008 10:03 AM |
Dual-boot laptop won't boot OpenBSD after upgrade to 4.3 | kbeaucha | OpenBSD Installation and Upgrading | 17 | 30th May 2008 02:40 PM |