Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 12:06:42 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        h bagade <bagadeh@gmail.com>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: root mount failure in freebsd 9.2 encrypted disk!
Message-ID:  <20131121200642.GZ2279@funkthat.com>
In-Reply-To: <CAARSjE1uZ05TGa=_h=4_p5QJUJR4%2BYwZiY1BzQ25w2O-d%2BGTOg@mail.gmail.com>
References:  <CAARSjE3=m1nYBMurwdRUvudcXHbEEqNde5B8FZwDyYasKP5Kow@mail.gmail.com> <20131121080749.GO2279@funkthat.com> <CAARSjE1uZ05TGa=_h=4_p5QJUJR4%2BYwZiY1BzQ25w2O-d%2BGTOg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
h bagade wrote this message on Thu, Nov 21, 2013 at 12:24 +0330:
> On Thu, Nov 21, 2013 at 11:37 AM, John-Mark Gurney <jmg@funkthat.com> wrote:
> 
> > h bagade wrote this message on Thu, Nov 21, 2013 at 11:16 +0330:
> > > I've tried to encrypt my disk in freebsd 9.2 based on the following
> > guide:
> > > http://cgarcia.org/posts/FreeBSD-FDE-Install.html
> > >
> > > but it failed to mount root and encountered the following error:
> > > mounting from ufs /dev/ada0p3.eli failed with error 19
> > >
> > > I have tried so many ways but all ends in above error. I have done the
> > same
> > > process in freebsd 8.2 without any problem and I don't know why the error
> > > occurs in freebsd 9.2?!
> > >
> > > Does anyone have any idea about this or how I can fix it?
> >
> > Did you see the ask for the passphrase on boot option for the
> > partition?  It's the -b option, and you can fix that w/:
> > geli configure -b /dev/ada0p3.eli
> >
> 
> Thank you so much, my problem is solved by this command.
> 
> >
> > The guide you referenced does use the -b in the geli init command...
> >
> 
> So -b option on init command doesn't work?!! it was fine with freebsd 8.2!

I'd be surprised if it doesn't.  Are you sure you didn't acidentally
not include the -b on init?  I'm pretty sure it worked when I setup my
9.1-PR box, and not much has changed w/ geli...  I'm pretty sure I
didn't know about configure till I looked it up for you...

Glad it's working though!

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131121200642.GZ2279>