From nobody Tue Dec 27 13:04:10 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NhFGk3t19z1LlGK for ; Tue, 27 Dec 2022 13:04:14 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NhFGk3LNbz46Jt for ; Tue, 27 Dec 2022 13:04:14 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672146254; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KWK+p1xqpsrQETaTYGqZ9WInY3j/0c9a0kbYSJxaMT8=; b=Y7eUK7xtL/eJeL3vc9lj8Kln9N4pz3a/y67o6IxPFlY4GFviLhN3XGVM/363ToEnXhiqlr cvDflmBzEcSTM1mGbZJOcns+Ttgj0KKhl30p9DWWvJ0CgGODuwBSrxUaZE7lvardGCl4VS hfQR8oCTGyQw4ebjHCzTaAejG2djfy4cC0QBlzZg8/vSsZv3l0Dd5l1dvjnYbhAdOrWccE OhbhOWLEuSA9isay3K8O8xpZNa7R+sIFpUQQD0eYAnZI1K4wek6j/u5tI4sKWCWwcqIPne Il0bWuxqJwtcVdmlU7xd5BpdvavbDOlHbXKG4dhrouiZfPkrPcXVRO8eXU3x5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672146254; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KWK+p1xqpsrQETaTYGqZ9WInY3j/0c9a0kbYSJxaMT8=; b=aeEtpsTNfR9CJp+thlY0lWsfJ+4okjT2ZBgZibVJwO7Y7VOtGCKGvzN02tAi67akonj66C mjlaTv86OZRGrfFqusg7BXPh1aG0MEogsmWJMI8VNz8etbSxFH04dzADD4nxuQj3lgdv5e 07j9S5aaI9xppdxhd26zoa57DqVwogfh5BR3ywhuW+WaGMd5t9N4uQ5NsBK2QAOsWEVO1R 41TiCYFE3pEPcw7vyPqNpeXzptdq3bEQa9zghndKuBnKCTndH+CHRRybmWjaDpOyc+8vJN Jv/MYujnX/wB6m7FACMjSM23IPiW7D6shaLQdnFVgdhbkmWfgKbUTltJZVgDBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672146254; a=rsa-sha256; cv=none; b=eJBrRD/oo1R6lYJ5cm8bI74IvoRM9gsYJTQi2Gf4ds59WbJ1TYESmLbJyvswag5ZpycntZ 5QIKspzbv5amBpm+VboimSB8rDCl7A/xxQafEAsGmFYiRuSxY4FUoJP2uniav+dLU4Iq/Q 1fo8YpKFW/u+WHOenDFF0fEdWZd1zXurzwQtiV0UU5ZLdQDD9LyQaq6t2IyxHl3lq8heOJ rje6ROeCLXC3XJr90yasn8US191P6CgM27A3nHXmjqtGdbighLpFN7bahG+n0or+C9Ikkv iMhQJAqPmIkc4Vy5AXm3t2Z8kIc6fkgqgHF2NCNv1liRLVMDpxusp1PgaxnhdQ== Received: from [IPV6:2001:470:1f1c:a0::2] (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net [IPv6:2001:470:1f1c:a0::2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: grahamperrin) by smtp.freebsd.org (Postfix) with ESMTPSA id 4NhFGk0y31z1Djw for ; Tue, 27 Dec 2022 13:04:14 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Message-ID: Date: Tue, 27 Dec 2022 13:04:10 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 To: questions@freebsd.org References: <20221227110800.GA11926@localhost.org> Content-Language: en-GB From: Graham Perrin Subject: gpart: warning (was: Unable to boot from internal hard disks on new PC) Organization: FreeBSD In-Reply-To: <20221227110800.GA11926@localhost.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------YmKLaS4jGkqNgmWKTkxlAzmi" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------YmKLaS4jGkqNgmWKTkxlAzmi Content-Type: multipart/mixed; boundary="------------9tcc7alq2H3UyjirJlhESbte"; protected-headers="v1" From: Graham Perrin To: questions@freebsd.org Message-ID: Subject: gpart: warning (was: Unable to boot from internal hard disks on new PC) References: <20221227110800.GA11926@localhost.org> In-Reply-To: <20221227110800.GA11926@localhost.org> --------------9tcc7alq2H3UyjirJlhESbte Content-Type: multipart/alternative; boundary="------------JvHLoiFO02k3zXiRBooX1YWe" --------------JvHLoiFO02k3zXiRBooX1YWe Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjcvMTIvMjAyMiAxMTowOCwgSm9oYW5uZXMtTWFyaWEgS2FsdGVuYmFjaCB3cm90ZToN Cg0KPiDigKYgRnJlZUJTRC0xMy4xLVJFTEVBU0UtYW1kNjQtbWVtc3RpY2suaW1nIOKApg0K DQo+IGFkYTBwMSBmcmVlYnNkLWJvb3QgKDUxMmspDQo+IGFkYTBwMiBlZmkgKDEwMG0pDQo+ IGFkYTBwMyBmcmVlYnNkLXN3YXAgKDMyZykNCj4gYWRhMHA0IGZyZWVic2QtdWZzICgyMDBn LCAxMy4xIGJhc2Ugc3lzdGVtKQ0KPiAoYW5kIGZ1cnRoZXIgcGFydGl0aW9ucyBmb3IgdmFy LCB0bXAsIHBvdWRyaWVyZSwgaG9tZTsgc3RpbGwgdW51c2VkKQ0KPg0KPiBhbmQgSSAgdHJp ZWQgdGhlIGZvbGxvd2luZw0KPg0KPiBncGFydCBib290Y29kZSAtYiAvYm9vdC9wbWJyIGFk YTANCj4gZ3BhcnQgYm9vdGNvZGUgLXAgL2Jvb3QvZ3B0Ym9vdCAtaSAxIGFkYTANCj4NCj4g 4oCmDQoNCg0KRnJvbSA8aHR0cHM6Ly93d3cuZnJlZWJzZC5vcmcvcmVsZWFzZXMvMTMuMFIv cmVsbm90ZXMvI2Jvb3Q+LCB3aXRoIGFkZGVkIA0KZW1waGFzaXM6DQoNCj4+IOKApiBUbyB1 cGRhdGUgb2xkIEVTUCBwYXJ0aXRpb25zLCB1c2VycyBzaG91bGQgKnN0b3AgdXNpbmcgdGhl IGdwYXJ0KDgpIA0KPj4gdXRpbGl0eSouIOKApg0KDQo= --------------JvHLoiFO02k3zXiRBooX1YWe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On 27/12/2022 11:08, Johannes-Maria Kaltenbach wrote:

=E2=80=A6 FreeBSD-13.1-RELEA=
SE-amd64-memstick.img =E2=80=A6

ada0p1 freebsd-boot (512k)
ada0p2 efi (100m)
ada0p3 freebsd-swap (32g)
ada0p4 freebsd-ufs (200g, 13.1 base system)
(and further partitions for var, tmp, poudriere, home; still unused)

and I  tried the following

gpart bootcode -b /boot/pmbr ada0
gpart bootcode -p /boot/gptboot -i 1 ada0

=E2=80=A6


From <https://www.freebsd.org/releases/13.0R= /relnotes/#boot>, with added emphasis:

=E2=80=A6 To update old ESP partitions,= users should stop using the gpart(8) utility. =E2=80=A6

--------------JvHLoiFO02k3zXiRBooX1YWe-- --------------9tcc7alq2H3UyjirJlhESbte-- --------------YmKLaS4jGkqNgmWKTkxlAzmi Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmOq7UsFAwAAAAAACgkQt2dIb0oY1Ata SA//eo+rY7zs6UvF19498KYmOj6jJoY1x6srxMd525RsvPyZTerZAfH725ROICHxeJXiosyaTYxb IPEH9KvxZwBsR4601B+2DrI8ReQdIRz9l3JFoDo+o0qQIWv6adPayc1tnI4//egJEZOKD3X9pQF9 dujAFCgvsyjlUk6UhH9mxjXpJi0/VvXLgnYvycZ84VWDs5LdwkWIWuOEUZIUtd5aCdDP6EEkHWbE yfcF91ePoDSMdnOxBrIt19tHNx/arVkZDBaZGCKv8G9f7UPbb4zNsNKhIMHhXofW4p3voDrU+Nk3 FmXl1MfgOy7t8Vgw1//kFLACyE4246Ff+iczwqPPnLjXNWVIMrYCdWPgaevzm8jkTajSaXgbnrsf h4N7iplKEuAAkUftQXBV83osAVsTGhm8uRmc8BkxCoR+WIT10pt5DWH5GyFqJgJ3nxuWpZcgJrQg /fhUngDFeRZOq5+0zjtUeD7kyjNR+TBHDaiHzf/njd4eDgJDnACPi/ww4nzcJR6T7XM3OcZEqpqD sv0xiXmkqOgSAvJOytlKx5EKPhROWz5eCoPCaxoeXXNhB0AAMdnTM0xjd/K+d1s/S6AWew+ACecp COqcS+jRfEr2cV6F0SIYRUW0iozyxAGs9wjcz1nVSmLxPx1aRS9VDxG3sMTc1GzT+iGbcMXfxbQu LiA= =yXVt -----END PGP SIGNATURE----- --------------YmKLaS4jGkqNgmWKTkxlAzmi--