Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2022 13:04:10 +0000
From:      Graham Perrin <grahamperrin@freebsd.org>
To:        questions@freebsd.org
Subject:   gpart: warning (was: Unable to boot from internal hard disks on new PC)
Message-ID:  <ab7a010b-dc6b-da4c-c319-ac9b12078b66@freebsd.org>
In-Reply-To: <20221227110800.GA11926@localhost.org>
References:  <20221227110800.GA11926@localhost.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------YmKLaS4jGkqNgmWKTkxlAzmi
Content-Type: multipart/mixed; boundary="------------9tcc7alq2H3UyjirJlhESbte";
 protected-headers="v1"
From: Graham Perrin <grahamperrin@freebsd.org>
To: questions@freebsd.org
Message-ID: <ab7a010b-dc6b-da4c-c319-ac9b12078b66@freebsd.org>
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

<html data-lt-installed=3D"true">
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF=
-8">
  </head>
  <body style=3D"padding-bottom: 1px;">
    <p>On 27/12/2022 11:08, Johannes-Maria Kaltenbach wrote:<br>
    </p>
    <blockquote type=3D"cite"
      cite=3D"mid:20221227110800.GA11926@localhost.org">
      <pre class=3D"moz-quote-pre" wrap=3D"">=E2=80=A6 FreeBSD-13.1-RELEA=
SE-amd64-memstick.img =E2=80=A6</pre>
    </blockquote>
    <br>
    <blockquote type=3D"cite"
      cite=3D"mid:20221227110800.GA11926@localhost.org">
      <pre class=3D"moz-quote-pre" wrap=3D"">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
</pre>
    </blockquote>
    <p><br>
    </p>
    <p>From
      <a class=3D"moz-txt-link-rfc2396E" href=3D"https://www.freebsd.org/=
releases/13.0R/relnotes/#boot">&lt;https://www.freebsd.org/releases/13.0R=
/relnotes/#boot&gt;</a>,
      with added emphasis: <br>
    </p>
    <p>
      <blockquote type=3D"cite">
        <blockquote type=3D"cite">=E2=80=A6 To update old ESP partitions,=
 users
          should <b>stop using the gpart(8) utility</b>. =E2=80=A6</block=
quote>
      </blockquote>
      <br>
    </p>
  </body>
  <lt-container></lt-container>
</html>

--------------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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ab7a010b-dc6b-da4c-c319-ac9b12078b66>