vt(4) and geli(8)

Greg Rivers gcr+freebsd-stable at tharned.org
Fri Apr 18 16:54:31 UTC 2014


Thank you both for your input.

On Fri, 18 Apr 2014, Glen Barber wrote:

> No, and I have this exact setup.
> Is the keyboard USB, by chance?
>

No, this is a HP G71 laptop.  The keyboard probes as:

atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0


On Fri, 18 Apr 2014, Erich Dollansky wrote:

> do you have / encrypted?
>

Yes, with a passphrase only (no key file).  I boot from a GPT partition on 
the hard drive that contains /boot in the clear.  Here's the layout:

=>       34  625142381    ada0  GPT  (298G)
          34       1024  ada0p1  freebsd-boot  (512K)
        1058        990          - free -  (495K)
        2048    1572864  ada0p2  freebsd-ufs  (768M)
     1574912  623566848  ada0s3  freebsd  (297G)
   625141760        655          - free -  (328K)

=>       0  77945855   ada0s3.eli  BSD  (297G)
          0     98304  ada0s3.elia  freebsd-ufs  (384M)
      98304   2097152  ada0s3.elib  freebsd-ufs  (8.0G)
    2195456   6291456  ada0s3.elid  freebsd-ufs  (24G)
    8486912   1048576  ada0s3.elie  freebsd-swap  (4.0G)
    9535488  68410112  ada0s3.elif  freebsd-ufs  (261G)
   77945600       255               - free -  (1.0M)

The host boots from ada0p2, tastes geli on ada0s3 and prompts for the 
passphrase.  / is on ada0s3.elia.


> You might have to load vt via loader.conf or put it into the kernel.
> Wait, is there a chicken-egg problem?
>

I have vt compiled into the kernel via:
device vt
device vt_vga

geli is loaded from the module via geom_eli_load="YES" in loader.conf.

-- 
Greg


More information about the freebsd-stable mailing list