From owner-freebsd-current@freebsd.org Fri Nov 8 19:23:17 2019 Return-Path: Delivered-To: freebsd-current@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 D0E8A15C7CA for ; Fri, 8 Nov 2019 19:23:17 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 478qtY1NB5z3KLV for ; Fri, 8 Nov 2019 19:23:16 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id xA8JNJHb071330 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 8 Nov 2019 11:23:25 -0800 (PST) (envelope-from bsd-lists@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 Cc: Toomas Soome In-Reply-To: <18D24655-A43E-4B56-8754-571C3978FA0D@me.com> From: Chris Reply-To: bsd-lists@BSDforge.com To: Subject: Re: CURRENT October images do not create a bootable install Date: Fri, 08 Nov 2019 11:23:25 -0800 Message-Id: Content-Type: multipart/mixed; boundary=0X9iQNnBnCeHb8CKShkiFM7MmqSAZByYK0bsn30JEC15pW22lW8SPV88yFhN X-Rspamd-Queue-Id: 478qtY1NB5z3KLV X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of bsd-lists@BSDforge.com has no SPF policy when checking 24.113.41.81) smtp.mailfrom=bsd-lists@BSDforge.com X-Spamd-Result: default: False [-1.28 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[bsd-lists@BSDforge.com]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986,0]; IP_SCORE(-0.21)[ip: (-1.61), ipnet: 24.113.0.0/16(-0.81), asn: 11404(1.44), country: US(-0.05)]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; DMARC_NA(0.00)[BSDforge.com]; AUTH_NA(1.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; FREEMAIL_CC(0.00)[me.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Nov 2019 19:23:17 -0000 --0X9iQNnBnCeHb8CKShkiFM7MmqSAZByYK0bsn30JEC15pW22lW8SPV88yFhN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On Fri, 8 Nov 2019 20:43:33 +0200 Toomas Soome tsoome@me=2Ecom said > > On 8=2E Nov 2019, at 20:34, Chris wrote: > >=20 > > On Fri, 8 Nov 2019 10:32:25 +0100 gljennjohn@gmail=2Ecom > > said > >=20 > >> On Thu, 07 Nov 2019 09:41:01 -0800 > >> Chris wrote: > >> > On Thu, 7 Nov 2019 17:28:16 +0200 Toomas Soome tsoome@me=2Ecom said > >> > > > > On 7=2E Nov 2019, at 17:23, Daniel Nebdal wr= ote:=20 > > > > > > >> On Thu, 7 Nov 2019 09:49:52 +0100 gljennjohn@gmail=2Ecom said = > > >> > > I chose GPT=2E > > > > > Maybe whoever wrote the EFI/BIOS code in your m= achine > > went all-in on > > > > "Legacy", and it only handles MBR disks (or disk= s < > > 2=2E2TB)? > >> > > > After all, it seems like "not booting" would be a standards-comp= liant > >> > > > way for a classic BIOS to handle a GPT disk=2E > > > > > > if yo= ur > > system is not booting from GPT disk, it means it is not standards > >> > > compliant=2E > Interesting=2E So then RELENG-12 is not "Standards" > > compliant=2E While 13-CURRE > >> > NT is? > >> > IOW I attempted in early October to install each of the (13-CURRENT) > > instal > >> > l > >> > images available=2E Both on a 500Gb disk, and a 1Tb disk=2E All w/o succ= ess=2E > > In > >> > desperation, I settled for the then (most recent) RELENG-12=2E 12 inst= alled > >> > as all previous FreeBSD installs have done successfully=2E > >> > So something in (recent) 13' boot layout has changed=2E I can boot > > Legacy/UEF > >> > I/GPT > >> > on 12=2E But cannot boot at all in recent 13=2E > >> > > >> I noticed that your 12 disk has Stripesize: 0 on all partitions > >> but 13 has Stripesize: 4096 on all partitions=2E > >> My bootable 13 disk has Stripesize: 0 on all partitions=2E > >> Whether that is the cause of your problem I can't say=2E > >=20 > > Thanks for the reply, Gary=2E > > Toomas also had some valuable input on my problem booting 13=2E > > In any case=2E I used the installer to create the disk layout=2E I didn't > > do anything different than I have for many years installing FreeBSD fro= m > > the install sources=2E What puzzles me, is that RELENG-12 creates a > > bootable install, whereas 13-CURRENT won't=2E > > I've manually setup disks innumerable times in the past=2E I'll see > > if doing so produces bootable media doing it from a 13-CURRENT live > > DVD, or MEMSTICK, and report my findings=2E > >=20 > > Thanks again for taking the time to reply, Gary=2E > >>=20 >=20 > Did you manage to check what is in your efi (ESP) partition? Also, can yo= u > confirm if your system is set to boot in BIOS or UEFI mode? Note this may= be > tricky to figure, for example my AMI bios depends on which device is set = for > boot device=2E Also for UEFI boot, we do not support secure boot=2E Thanks for the reminder=2E It appears that the installer didn't *format* the ESP/EFI partition=2E Follow= ing are the results of my investigation -- I'm also attaching a copy of the ses= sion, should it be easier to read=2E Script started on Fri Nov 8 11:04:11 2019 root@thirteen:~ #=20 root@thirteen:~ # ls -la /dev/gpt/ total 1 dr-xr-xr-x 2 root wheel 512 Nov 7 00:54 =2E dr-xr-xr-x 15 root wheel 512 Nov 6 16:54 =2E=2E crw-r----- 1 root operator 0x8e Nov 7 00:54 throot crw-r----- 1 root operator 0x91 Nov 7 00:54 thswap crw-r----- 1 root operator 0x96 Nov 7 00:54 thusr crw-r----- 1 root operator 0x93 Nov 7 00:54 thvar crw-r----- 1 root operator 0x99 Nov 7 00:54 thxtra crw-r----- 1 root operator 0x72 Nov 6 16:54 troot crw-r----- 1 root operator 0x75 Nov 7 00:54 tswap crw-r----- 1 root operator 0x7a Nov 6 16:54 tusr crw-r----- 1 root operator 0x77 Nov 6 16:54 tvar crw-r----- 1 root operator 0x7d Nov 6 16:54 txtra root@thirteen:~ # mount -t msdosfs /dev/ada0p1 /mnt root@thirteen:~ # ls -la /mnt/ total 21 drwxr-xr-x 1 root wheel 16384 Jan 1 1980 =2E drwxr-xr-x 22 root wheel 1024 Nov 7 00:54 =2E=2E drwxr-xr-x 1 root wheel 512 Apr 12 2016 EFI root@thirteen:~ # ls -la /mnt/EFI/ total 17 drwxr-xr-x 1 root wheel 512 Apr 12 2016 =2E drwxr-xr-x 1 root wheel 16384 Jan 1 1980 =2E=2E drwxr-xr-x 1 root wheel 512 Apr 12 2016 BOOT root@thirteen:~ # ls -la /mnt/EFI/BOOT/ total 130 drwxr-xr-x 1 root wheel 512 Apr 12 2016 =2E drwxr-xr-x 1 root wheel 512 Apr 12 2016 =2E=2E -rwxr-xr-x 1 root wheel 131072 Apr 12 2016 BOOTX64=2EEFI -rwxr-xr-x 1 root wheel 12 Apr 12 2016 STARTUP=2ENSH root@thirteen:~ # umount /mnt/ root@thirteen:~ # mount -t msdosfs /dev/ada1p1 /mnt mount_msdosfs: /dev/ada1p1: Invalid argument root@thirteen:~ # ls /dev/ada* /dev/ada0 /dev/ada0p2 /dev/ada0p4 /dev/ada0p6 /dev/ada1p1 /dev/ada1p3 /de= v/ada1p5 /dev/ada0p1 /dev/ada0p3 /dev/ada0p5 /dev/ada1 /dev/ada1p2 /dev/ada1p4 /de= v/ada1p6 root@thirteen:~ # mount /dev/ada1p1 /mnt/ mount: /dev/ada1p1: No such file or directory root@thirteen:~ # exit exit Script done on Fri Nov 8 11:09:35 2019 Thanks again! --Chris >=20 > rgds, > toomas --0X9iQNnBnCeHb8CKShkiFM7MmqSAZByYK0bsn30JEC15pW22lW8SPV88yFhN Content-Type: application/octet-stream; name="DISKCHECK" Content-Description: DISKCHECK Content-Disposition: attachment; filename="DISKCHECK" Content-Transfer-Encoding: base64 U2NyaXB0IHN0YXJ0ZWQgb24gRnJpIE5vdiAgOCAxMTowNDoxMSAyMDE5CnJvb3RAdGhpcnRlZW46 fiAjIAoKcm9vdEB0aGlydGVlbjp+ICMgbHMgLWxhIC9kZXYvZ3B0LwoKdG90YWwgMQpkci14ci14 ci14ICAgMiByb290ICB3aGVlbCAgICAgIDUxMiBOb3YgIDcgMDA6NTQgLgpkci14ci14ci14ICAx NSByb290ICB3aGVlbCAgICAgIDUxMiBOb3YgIDYgMTY6NTQgLi4KY3J3LXItLS0tLSAgIDEgcm9v dCAgb3BlcmF0b3IgIDB4OGUgTm92ICA3IDAwOjU0IHRocm9vdApjcnctci0tLS0tICAgMSByb290 ICBvcGVyYXRvciAgMHg5MSBOb3YgIDcgMDA6NTQgdGhzd2FwCmNydy1yLS0tLS0gICAxIHJvb3Qg IG9wZXJhdG9yICAweDk2IE5vdiAgNyAwMDo1NCB0aHVzcgpjcnctci0tLS0tICAgMSByb290ICBv cGVyYXRvciAgMHg5MyBOb3YgIDcgMDA6NTQgdGh2YXIKY3J3LXItLS0tLSAgIDEgcm9vdCAgb3Bl cmF0b3IgIDB4OTkgTm92ICA3IDAwOjU0IHRoeHR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