From owner-freebsd-questions@freebsd.org Sun Sep 11 04:54:50 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D16CBD4B2A for ; Sun, 11 Sep 2016 04:54:50 +0000 (UTC) (envelope-from marcel.plouf@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 88844119 for ; Sun, 11 Sep 2016 04:54:49 +0000 (UTC) (envelope-from marcel.plouf@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id 1so93607580wmz.1 for ; Sat, 10 Sep 2016 21:54:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=SGDffyniwqQnfFND5PzpOo/AdDb95cJflA2USot5QLI=; b=MTDGiW0SyBoITf9VMJ49LUsmNwynim+aOOU2zVsV6ACN4WoR6bvKheqKTJtU2UXYMb 7Zr/eBrAdSIdKvS4DGVOhZwtMhbwb/zt14p8croajLvfLC2Vk1Idpjh93//JjT2Hc40F iXNGJJGGqbfjtKZqchktQr3uD7ywusuPJdXB2UrK149Wr7RJtq3fKQGhxNqstixPEfBd 9ZuMPR1cgzcR+vCAaCD2qISXOqHI02AbwAodIKdVhgYNw7rukRbITUrCdOvyUVKoqwej 9HY5CbkopUwe2kqg5vY69foDgkvCxmEaPrp+uL4m9tinoM4v2ficb1qpPmKhN9Toh6SU NX5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SGDffyniwqQnfFND5PzpOo/AdDb95cJflA2USot5QLI=; b=Us/qAeQk40QGCxXD50iKQGbQVXhLZL2tDHQV4rD3cXLL23efyDKYjX7GXyrrIXDnAS QCMfTFIMLABiuAif4KdvTQqkmVBqGF3K5brQtbMT9tLVzZawFcdoehc3QQ4NzjQIAbtJ s2E/CqDfyP5LlMMGQ9OW7ZkFibMKApPq3AuWJC+r6VSGGJJUPc8qLMn9mSiRQ0V8RPR9 sQ3DnBnFrEl7dQ1Y1dAmO5/b8XCoX82IiCTLOJTzpLhR3pEDjwWck0ilWdppf4ye5mnc Fsq71F0adjc3fhpHXU3Mw/J7IEff55v300vL9Y5gYeB1lvuYham1e2iLPBxbOBYwCFI8 BROQ== X-Gm-Message-State: AE9vXwNLLFAUY3qx+lea45eD12IVoJzz0HkGWbTEtWrMYoy5N5TRd0wZYrA3awcF6Y67TQ== X-Received: by 10.28.8.84 with SMTP id 81mr4792702wmi.22.1473569687591; Sat, 10 Sep 2016 21:54:47 -0700 (PDT) Received: from marcel-laptop.lan (85-171-136-71.rev.numericable.fr. [85.171.136.71]) by smtp.gmail.com with ESMTPSA id d62sm11261925wmd.7.2016.09.10.21.54.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Sep 2016 21:54:47 -0700 (PDT) Date: Sun, 11 Sep 2016 06:54:03 +0200 From: marcel To: freebsd-questions@freebsd.org Subject: Re: Encrypted /boot partition Message-ID: <20160911065403.2e35efad@marcel-laptop.lan> In-Reply-To: References: <20160910031925.78927b7c@marcel-laptop.lan> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2016 04:54:50 -0000 Le Sat, 10 Sep 2016 12:19:10 -0400, Anton Yuzhaninov a =C3=A9crit : > On 2016-09-09 21:19, marcel wrote: > > > > Is it possible to install FreeBSD and encrypt the /boot partition ? > > I did'nt find anything on that... And if not, why ? =20 >=20 > AFAIK it is not yet possible. >=20 > FreeBSD boot process has several stages: > https://www.freebsd.org/doc/handbook/boot.html >=20 > If x86 BIOS (non-UEFI) boot is used, first started boot0 > it located in MBR and can't be encrypted, because x86 BIOS doesn't=20 > support encryption. > boot0 code is very small and has no space to implement support of=20 > encrypted partitions. >=20 > Next stages are boot1 and boot2 located in boot area of bsd label or > in freebsd-boot GPT partition. They also very small and all they can > do is load /boot/loader from unencrypted partition. > Loader itself supports geli and can load kernel from encrypted > partition. Ok, thanks for the good explanation ! >=20 > There was work to add geli spupport to gptboot and gptzfsboot: > http://www.allanjude.com/bsd/AsiaBSDCon2016_geliboot.pdf > But I don't know current status of this project. >=20 > If your need to have internal HDD fully encrypted, your can use > external (USB stick) media with unencrypted /boot, which will load > kernel from internal HDD. Yeah, I've forget this method, someone else remember me this, thanks to you too ! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"