From owner-freebsd-questions@freebsd.org Tue May 12 07:06:08 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 9603F2E4A5D for ; Tue, 12 May 2020 07:06:08 +0000 (UTC) (envelope-from salvatorembartolotta@libero.it) Received: from libero.it (smtp-18-i2.italiaonline.it [213.209.12.18]) (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 49Lpk62zJRz3KVZ for ; Tue, 12 May 2020 07:06:06 +0000 (UTC) (envelope-from salvatorembartolotta@libero.it) Received: from oxapps-31-134.iol.local ([10.101.8.180]) by smtp-18.iol.local with ESMTPA id YOzLjulgp74wTYOzLj6AYG; Tue, 12 May 2020 09:06:03 +0200 x-libjamoibt: 1601 X-CNFS-Analysis: v=2.3 cv=N5ZX6F1B c=1 sm=1 tr=0 a=QA8ACeNzLsNFfyXXxgATbw==:117 a=yU5Zgh1FNLkA:10 a=IkcTkHD0fZMA:10 a=J2-aUlzrV64A:10 a=_yevK9wwAAAA:8 a=mIexhTlqXgXqUyGwP1sA:9 a=QEXdDO2ut3YA:10 a=QCj3g80VS2wd9d6ItcEr:22 Date: Tue, 12 May 2020 09:06:03 +0200 (CEST) From: salvatorembartolotta@libero.it To: Per Hedeland Cc: freebsd-questions@freebsd.org Message-ID: <1560477469.422170.1589267163580@mail1.libero.it> In-Reply-To: References: <1117249472.400830.1589220133531@mail1.libero.it> Subject: Re: Incomplete installation of 12.1-R on an Asus laptop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.1-Rev30 X-Originating-IP: 151.63.216.26 X-Originating-Client: open-xchange-appsuite x-libjamsun: fH+90ut1bWDnhR54U9KnxT36I3V9nmTHCuCHherMBkg= x-libjamv: IWy7zE7Io2M= X-CMAE-Envelope: MS4wfOwj6eyR4iwN1NI0+IYe1D2dZoEML7+PlCnTZyAI3lOR8L1Zue90NoLuprejJgEhTJWfxNmCWK+Os9WL4+g2I/Xa4xQDi+8Zv94wbfCn07nwV1JuWg2H HGNiq7rP+WhaiyGB9Tbg8HZzmm3azBirpkA3UDqdSqHyU4Rz1EeJOvvn7sUD4PsQqzX7yfIh5jj8Il2jsszHY0A3ERWIkq1Jz1GLxkSstYYi+Lgh8Hf158ZC X-Rspamd-Queue-Id: 49Lpk62zJRz3KVZ X-Spamd-Bar: ----- X-Spamd-Result: default: False [-6.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:213.209.8.0/21]; FREEMAIL_FROM(0.00)[libero.it]; DKIM_TRACE(0.00)[libero.it:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[libero.it,quarantine]; HAS_X_PRIO_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[libero.it]; ASN(0.00)[asn:8660, ipnet:213.209.0.0/18, country:IT]; DWL_DNSWL_NONE(0.00)[libero.it.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[libero.it:s=s2014]; IP_SCORE(0.00)[ipnet: 213.209.0.0/18(-3.73), asn: 8660(-2.98), country: IT(0.03)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[18.12.209.213.list.dnswl.org : 127.0.5.0]; FROM_NO_DN(0.00)[]; WHITELIST_SPF_DKIM(-3.00)[libero.it:d:+,libero.it:s:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[18.12.209.213.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] 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: Tue, 12 May 2020 07:06:08 -0000 > Il 12 maggio 2020 alle 0.17 Per Hedeland ha scritto: > > 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 anunbootable system since I had the EFI partition already set up from anearlier install (which I don't recall wanting to create an EFIpartition, but I may be wrong about that)... > > nvd0 GPT layout:nvd0p1 260 MB EFI partitionnvd0p2 16MB M$ reserved partitionnvd0p3 256GB M$ system and data partitionnvd0p4 512KB freebsd-bootnvd0p5 2GB rootfs, mounted on /)nvd0p6 80 GB swap (on a 32GB RAM system, maybe overkill)nvd0p7 26GB varfs, mounted on /varnvd0p8 14GB tmpfs, mounted on /tmp, may be ovewrkill as wellnvd0p9 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 ableto dual-boot? Otherwise I think you can find the info you need in theuefi(8) man page. AFAIR it pretty much amounts to "somehow"mount_msdosfs-mounting the EFI partition and copying /boot/boot1.efifrom 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 Good night, I'd like to be able to dual-boot for the time being - multi-boot, at the end of the day. The live CD is certainly my friend, I am just not sure how I am supposed to do it. Should I install some UEFI shell/utility/... in the EFI nvd0p1 partition in order to manage the FreeBSD and Windows booting code, then install/point to the actual FreeBSD (and Windows) booting code (not /boot/boot1.efi, I suppose) ? Has anybody done anything like that? In the past, I had used some pay$$ware on BIOS (not EFI) machines, sure, but I'd like to be able to do everything - except for the necessary evil, the M$ Windows OS and some of its $program$ - open-source minded. Thanks for any help, pointer, suggestion.