From owner-freebsd-questions@freebsd.org Mon May 11 22:17:54 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 25ABF2EEAF4 for ; Mon, 11 May 2020 22:17:54 +0000 (UTC) (envelope-from per@hedeland.org) Received: from mailout.easydns.com (mailout.easydns.com [64.68.202.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49Lb0c6xqsz4HmD for ; Mon, 11 May 2020 22:17:52 +0000 (UTC) (envelope-from per@hedeland.org) Received: from localhost (localhost [127.0.0.1]) by mailout.easydns.com (Postfix) with ESMTP id 61509C4B46; Mon, 11 May 2020 22:17:52 +0000 (UTC) Received: from mailout.easydns.com ([127.0.0.1]) by localhost (emo12-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bqH8ti_k-8WY; Mon, 11 May 2020 22:17:52 +0000 (UTC) Received: from hedeland.org (81-228-157-209-no289.tbcn.telia.com [81.228.157.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easydns.com (Postfix) with ESMTPSA id B715DC43DD; Mon, 11 May 2020 22:17:50 +0000 (UTC) Received: from pluto.hedeland.org (pluto.hedeland.org [10.1.1.5]) by tellus.hedeland.org (8.15.2/8.15.2) with ESMTPS id 04BMHmPC058384 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 12 May 2020 00:17:48 +0200 (CEST) (envelope-from per@hedeland.org) Subject: Re: Incomplete installation of 12.1-R on an Asus laptop To: salvatorembartolotta@libero.it References: <1117249472.400830.1589220133531@mail1.libero.it> Cc: freebsd-questions@freebsd.org From: Per Hedeland Message-ID: Date: Tue, 12 May 2020 00:17:48 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <1117249472.400830.1589220133531@mail1.libero.it> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49Lb0c6xqsz4HmD X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of per@hedeland.org has no SPF policy when checking 64.68.202.10) smtp.mailfrom=per@hedeland.org X-Spamd-Result: default: False [0.08 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_PBL(0.00)[209.157.228.81.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-0.19)[-0.190,0]; IP_SCORE(0.18)[ip: (0.21), ipnet: 64.68.200.0/22(-0.40), asn: 16686(1.20), country: CA(-0.09)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[hedeland.org]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.72)[-0.716,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[libero.it]; RCVD_IN_DNSWL_LOW(-0.10)[10.202.68.64.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16686, ipnet:64.68.200.0/22, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2020 22:17:54 -0000 On 2020-05-11 20:02, Salvatore Bartolotta via freebsd-questions wrote: > Good afternoon (in the U.S.A.), > > I installed 12.1-R on an Asus laptop - well, almost. The partition editor, apparently, didn't see the 260MB EFI partition and wanted to create a _second_ EFI partition, in the middle of the disk, right before the rootfs (monted on /), what made little sense to me. I said "no", making the system, for the time being, unbootable. The installation completed except for that step. I noticed that too, and did the same, but it didn't result in an unbootable system since I had the EFI partition already set up from an earlier install (which I don't recall wanting to create an EFI partition, but I may be wrong about that)... > nvd0 GPT layout: > nvd0p1 260 MB EFI partition > nvd0p2 16MB M$ reserved partition > nvd0p3 256GB M$ system and data partition > nvd0p4 512KB freebsd-boot > nvd0p5 2GB rootfs, mounted on /) > nvd0p6 80 GB swap (on a 32GB RAM system, maybe overkill) > nvd0p7 26GB varfs, mounted on /var > nvd0p8 14GB tmpfs, mounted on /tmp, may be ovewrkill as well > nvd0p9 134GB usrfs, mounted on /usr > .... > nvd0lastpartition 650MB M$ Recovery partition > > I hope there is some simple way to complete this FreeBSD installation, by adding the appropriate booting code to the _existing_ EFI partition. It seems you also have a Windows installation - do you want to be able to dual-boot? Otherwise I think you can find the info you need in the uefi(8) man page. AFAIR it pretty much amounts to "somehow" mount_msdosfs-mounting the EFI partition and copying /boot/boot1.efi from the FreeBSD installation to /EFI/BOOT/BOOTX64.EFI (case-independent I believe, I actually have /EFI/Boot/bootx64.efi). Should be doable from either of the or (if present) choices in the installer. --Per Hedeland