From owner-freebsd-current@freebsd.org Thu Nov 7 18:09:18 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 ACDFD1BBA0B for ; Thu, 7 Nov 2019 18:09:18 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-zteg10021401.me.com (pv50p00im-zteg10021401.me.com [17.58.6.47]) (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 478BHd6Qpzz43tN for ; Thu, 7 Nov 2019 18:09:17 +0000 (UTC) (envelope-from tsoome@me.com) Received: from nazgul.lan (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-zteg10021401.me.com (Postfix) with ESMTPSA id 186EA4804CD; Thu, 7 Nov 2019 18:09:14 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: CURRENT October images do not create a bootable install From: Toomas Soome In-Reply-To: <9d22703dc453379bfa65fe9ca3803562@udns.ultimatedns.net> Date: Thu, 7 Nov 2019 20:09:12 +0200 Cc: freebsd-current@freebsd.org, Daniel Nebdal Content-Transfer-Encoding: quoted-printable Message-Id: <353EF18E-0421-4687-B64B-C5D5DBA69A30@me.com> References: <9d22703dc453379bfa65fe9ca3803562@udns.ultimatedns.net> To: chris.h@ultimatedns.net X-Mailer: Apple Mail (2.3601.0.10) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-11-07_05:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1911070169 X-Rspamd-Queue-Id: 478BHd6Qpzz43tN X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; FREEMAIL_FROM(0.00)[me.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[me.com:+]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; RECEIVED_SPAMHAUS_PBL(0.00)[148.52.235.80.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; RCVD_IN_DNSWL_LOW(-0.10)[47.6.58.17.list.dnswl.org : 127.0.5.1]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[me.com]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (-4.35), ipnet: 17.58.0.0/20(-2.45), asn: 714(-2.52), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; DWL_DNSWL_LOW(-1.00)[me.com.dwl.dnswl.org : 127.0.5.1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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: Thu, 07 Nov 2019 18:09:18 -0000 > On 7. Nov 2019, at 19:37, Chris.H wrote: >=20 > On Thu, 7 Nov 2019 17:28:16 +0200 Toomas Soome tsoome@me.com said >=20 >> > On 7. Nov 2019, at 17:23, Daniel Nebdal wrote: >> > >> On Thu, 7 Nov 2019 09:49:52 +0100 gljennjohn@gmail.com said >> >> I chose GPT. >> > > Maybe whoever wrote the EFI/BIOS code in your machine went all-in = on >> > "Legacy", and it only handles MBR disks (or disks < 2.2TB)? >> > After all, it seems like "not booting" would be a = standards-compliant >> > way for a classic BIOS to handle a GPT disk. >> > if your system is not booting from GPT disk, it means it is not = standards >> compliant. > Interesting. So then RELENG-12 is not "Standards" compliant. While = 13-CURRENT is? Can not tell if you do not provide actual information, we can not really = tell too much. However, based on the partition tables below, I can tell = a bit. Those disks are using GPT, there is EFI partition, which does suggest = UEFI boot and not BIOS boot. There is no freebsd-boot partition, meaning = the standard pmbr boot block does not work (if installed) =E2=80=94 pmbr = does search for freebsd-boot and will load its content and jumps on it. = Without seeing your sector 0, I can not tell what code is there (if = any), and based on partitions on that system, it is possible the BIOS = boot is not installed at all. In a similar way, without seeing EFI = partition content, we can not tell if UEFI boot is actually installed - = EFI partition should have FAT file system with specific directory tree. To make things better, the exact description would be helpful, so the = devs taking care of installer could review the information and make = fixes. rgds, toomas > IOW I attempted in early October to install each of the (13-CURRENT) = install > images available. Both on a 500Gb disk, and a 1Tb disk. All w/o = success. In > desperation, I settled for the then (most recent) RELENG-12. 12 = installed > as all previous FreeBSD installs have done successfully. > So something in (recent) 13' boot layout has changed. I can boot = Legacy/UEFI/GPT > on 12. But cannot boot at all in recent 13. > Following is the output of the RELENG-12 disk, as well as 13-CURRENT: >=20 > LIVE BOOTED DISK @FreeBSD 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 #0 = r353409: > Thu Oct 10 15:57:48 PDT 2019 amd64 >=20 > Geom name: ada0 > modified: false > state: OK > fwheads: 16 > fwsectors: 63 > last: 976773127 > first: 40 > entries: 152 > scheme: GPT > Providers: > 1. Name: ada0p1 > Mediasize: 209715200 (200M) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 20480 > Mode: r0w0e0 > efimedia: HD(1,GPT,280cea32-eae6-11e9-ae21-4c72b9f5e07f,0x28,0x64000) > rawuuid: 280cea32-eae6-11e9-ae21-4c72b9f5e07f > rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b > label: (null) > length: 209715200 > offset: 20480 > type: efi > index: 1 > end: 409639 > start: 40 > 2. Name: ada0p2 > Mediasize: 27707572224 (26G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 209735680 > Mode: r1w1e2 > efimedia: = HD(2,GPT,2856af2c-eae6-11e9-ae21-4c72b9f5e07f,0x64028,0x339c000) > rawuuid: 2856af2c-eae6-11e9-ae21-4c72b9f5e07f > rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b > label: troot > length: 27707572224 > offset: 209735680 > type: freebsd-ufs > index: 2 > end: 54525991 > start: 409640 > 3. Name: ada0p3 > Mediasize: 3984588800 (3.7G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 2147504128 > Mode: r1w1e1 > efimedia: = HD(3,GPT,3c01ab9d-eae6-11e9-ae21-4c72b9f5e07f,0x3400028,0x76c000) > rawuuid: 3c01ab9d-eae6-11e9-ae21-4c72b9f5e07f > rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b > label: tswap > length: 3984588800 > offset: 27917307904 > type: freebsd-swap > index: 3 > end: 62308391 > start: 54525992 > 4. Name: ada0p4 > Mediasize: 68719476736 (64G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 1837125632 > Mode: r1w1e2 > efimedia: = HD(4,GPT,4abf5d7c-eae6-11e9-ae21-4c72b9f5e07f,0x3b6c028,0x8000000) > rawuuid: 4abf5d7c-eae6-11e9-ae21-4c72b9f5e07f > rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b > label: tvar > length: 68719476736 > offset: 31901896704 > type: freebsd-ufs > index: 4 > end: 196526119 > start: 62308392 > 5. Name: ada0p5 > Mediasize: 289910292480 (270G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 1837125632 > Mode: r1w1e2 > efimedia: = HD(5,GPT,58f639dd-eae6-11e9-ae21-4c72b9f5e07f,0xbb6c028,0x21c00000) > rawuuid: 58f639dd-eae6-11e9-ae21-4c72b9f5e07f > rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b > label: tusr > length: 289910292480 > offset: 100621373440 > type: freebsd-ufs > index: 5 > end: 762757159 > start: 196526120 > 6. Name: ada0p6 > Mediasize: 109521666048 (102G) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 3984609280 > Mode: r0w0e0 > efimedia: = HD(6,GPT,650e64bd-eae6-11e9-ae21-4c72b9f5e07f,0x2d76c028,0xcc00000) > rawuuid: 650e64bd-eae6-11e9-ae21-4c72b9f5e07f > rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b > label: txtra > length: 109521666048 > offset: 390531665920 > type: freebsd-ufs > index: 6 > end: 976666663 > start: 762757160 > Consumers: > 1. Name: ada0 > Mediasize: 500107862016 (466G) > Sectorsize: 512 > Mode: r4w4e11 > # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # > FRESH 13-CURRENT INSTALL >=20 > Geom name: ada1 > modified: false > state: OK > fwheads: 16 > fwsectors: 63 > last: 1953525127 > first: 40 > entries: 152 > scheme: GPT > Providers: > 1. Name: ada1p1 > Mediasize: 272629760 (260M) > Sectorsize: 512 > Stripesize: 4096 > Stripeoffset: 0 > Mode: r0w0e0 > efimedia: HD(1,GPT,8dace702-fbde-11e9-9be1-4c72b9f5e07f,0x28,0x82000) > rawuuid: 8dace702-fbde-11e9-9be1-4c72b9f5e07f > rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b > label: (null) > length: 272629760 > offset: 20480 > type: efi > index: 1 > end: 532519 > start: 40 > 2. Name: ada1p2 > Mediasize: 34087104512 (32G) > Sectorsize: 512 > Stripesize: 4096 > Stripeoffset: 0 > Mode: r0w0e0 > efimedia: = HD(2,GPT,8df547ab-fbde-11e9-9be1-4c72b9f5e07f,0x82028,0x3f7dff8) > rawuuid: 8df547ab-fbde-11e9-9be1-4c72b9f5e07f > rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b > label: throot > length: 34087104512 > offset: 272650240 > type: freebsd-ufs > index: 2 > end: 67108895 > start: 532520 > 3. Name: ada1p3 > Mediasize: 3984588800 (3.7G) > Sectorsize: 512 > Stripesize: 4096 > Stripeoffset: 0 > Mode: r0w0e0 > efimedia: = HD(3,GPT,9f2f2dc5-fbde-11e9-9be1-4c72b9f5e07f,0x4000020,0x76c000) > rawuuid: 9f2f2dc5-fbde-11e9-9be1-4c72b9f5e07f > rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b > label: thswap > length: 3984588800 > offset: 34359754752 > type: freebsd-swap > index: 3 > end: 74891295 > start: 67108896 > 4. Name: ada1p4 > Mediasize: 102005473280 (95G) > Sectorsize: 512 > Stripesize: 4096 > Stripeoffset: 0 > Mode: r0w0e0 > efimedia: = HD(4,GPT,ae68c2ee-fbde-11e9-9be1-4c72b9f5e07f,0x476c020,0xbe00000) > rawuuid: ae68c2ee-fbde-11e9-9be1-4c72b9f5e07f > rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b > label: thvar > length: 102005473280 > offset: 38344343552 > type: freebsd-ufs > index: 4 > end: 274120735 > start: 74891296 > 5. Name: ada1p5 > Mediasize: 108447924224 (101G) > Sectorsize: 512 > Stripesize: 4096 > Stripeoffset: 0 > Mode: r0w0e0 > efimedia: = HD(5,GPT,bc0f8682-fbde-11e9-9be1-4c72b9f5e07f,0x1056c020,0xca00000) > rawuuid: bc0f8682-fbde-11e9-9be1-4c72b9f5e07f > rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b > label: thusr > length: 108447924224 > offset: 140349816832 > type: freebsd-ufs > index: 5 > end: 485933087 > start: 274120736 > 6. Name: ada1p6 > Mediasize: 751407124480 (700G) > Sectorsize: 512 > Stripesize: 4096 > Stripeoffset: 0 > Mode: r0w0e0 > efimedia: = HD(6,GPT,c68e3558-fbde-11e9-9be1-4c72b9f5e07f,0x1cf6c020,0x5779ad68) > rawuuid: c68e3558-fbde-11e9-9be1-4c72b9f5e07f > rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b > label: thxtra > length: 751407124480 > offset: 248797741056 > type: freebsd-ufs > index: 6 > end: 1953525127 > start: 485933088 > Consumers: > 1. Name: ada1 > Mediasize: 1000204886016 (932G) > Sectorsize: 512 > Stripesize: 4096 > Stripeoffset: 0 > Mode: r0w0e0 >=20 >=20 >> rgds, >> toomas >