From owner-freebsd-questions@freebsd.org Sun Jan 26 13:51:05 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6827123EBCA for ; Sun, 26 Jan 2020 13:51:05 +0000 (UTC) (envelope-from markand@malikania.fr) Received: from smtp.smtpout.orange.fr (smtp04.smtpout.orange.fr [80.12.242.126]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 485Dml1jbjz438v for ; Sun, 26 Jan 2020 13:51:02 +0000 (UTC) (envelope-from markand@malikania.fr) Received: from postfix.malikania.fr ([5.135.187.121]) by mwinf5d51 with ME id v1r0210042dbEiD031r0gc; Sun, 26 Jan 2020 14:51:00 +0100 X-ME-Helo: postfix.malikania.fr X-ME-Auth: ZGVtZWxpZXIuZGF2aWRAb3JhbmdlLmZy X-ME-Date: Sun, 26 Jan 2020 14:51:00 +0100 X-ME-IP: 5.135.187.121 Received: from kiwi-1.home (unknown [86.243.16.64]) by postfix.malikania.fr (Postfix) with ESMTPSA id 6BFDF26A68 for ; Sun, 26 Jan 2020 14:50:58 +0100 (CET) Message-ID: Subject: How to dualboot UEFI the right way? From: David Demelier To: freebsd-questions@freebsd.org Date: Sun, 26 Jan 2020 14:50:54 +0100 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.3 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 485Dml1jbjz438v X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of markand@malikania.fr has no SPF policy when checking 80.12.242.126) smtp.mailfrom=markand@malikania.fr X-Spamd-Result: default: False [5.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(1.19)[ip: (2.65), ipnet: 80.12.240.0/20(1.58), asn: 3215(1.72), country: FR(0.00)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.999,0]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[126.242.12.80.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; DMARC_NA(0.00)[malikania.fr]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:3215, ipnet:80.12.240.0/20, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[126.242.12.80.rep.mailspike.net : 127.0.0.17] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jan 2020 13:51:05 -0000 Hi there, I have a thinkpad X1 carbon that I use with Linux mostly, I'd like to add a FreeBSD dualboot alongside Linux using grub and UEFI. My current partition scheme is: Device Start End Sectors Size Type /dev/nvme0n1p1 2048 526335 524288 256M EFI System /dev/nvme0n1p2 526336 1050623 524288 256M Linux filesystem /dev/nvme0n1p3 1050624 420481023 419430400 200G Linux filesystem Is has 40Gb free space to hold FreeBSD. Once I boot the memstick USB, at installer I used experts mode to partition and added a partition / as freebsd-ufs. Then the installer complained that I require a boot partition, I entered yes and it created a *new* EFI partition, which is obviously wrong. However, I can't understand how to select the existing EFI partition and tell bsdinstall to use it (especially which mountpoint?). I've tried to search some information about that but it looks like not many people tried that yet. Has anyone successfully made a dualboot with an existing EFI partition using bsdinstall? Installing sets manually from the FreeBSD shell may be an option if required. Any help is welcomed. Regards -- David