Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2021 10:55:36 -0600
From:      john <john@johnrshannon.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: EFI Bootstrap Question on 13.0
Message-ID:  <d43caa85-a466-0558-00e5-db21c10e90aa@johnrshannon.com>
In-Reply-To: <eb25ca22-7ee6-b9f1-36f9-86c50e3fc285@johnrshannon.com>
References:  <2d99e813-ef5e-72ae-71fe-26b3952ee66a@johnrshannon.com> <eb25ca22-7ee6-b9f1-36f9-86c50e3fc285@johnrshannon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms000502060308000101070702
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

I resolved my problem.

When I could not mount the efi partition I re-created it:

# newfs_msdos -F 32 -c 1 /dev/nvd0p1

mounted it and wrote the bootstrap code:

# mount -t msdosfs -o longnames /dev/ada0p1 mountpoint
# mkdir -p mountpoint/EFI/BOOT
  cp /boot/loader.efi mountpoint/EFI/BOOT/BOOTX64.efi

The system boot now.

On 4/19/21 10:40 AM, john via freebsd-questions wrote:
> Should it be possible to mount the efi partition as a msdosfs?
>=20
> # mount -t msdosfs -o longnames /dev/nvd0p1 mountpoint
>=20
>=20
> I'm getting:
>=20
> msdos_fs: Invalid argument /dev/nvd0p1
>=20
> gpart shows partition 1 of nvd0 as efi partition
>=20
> On 4/19/21 8:30 AM, john via freebsd-questions wrote:
>> I updated to 13.0 successfully. I then upgraded ZFS because I found=20
>> that was necessary to import a ZFS pool mounted on iSCSI without=20
>> forcing it.=20
>=20
>> Everything seemed to be working correctly until I upgraded a handful o=
f=20
>=20
>> packages that changed since Friday morning.
>>
>> The system won't boot. It stops in startup.nsh.
>>
>> After upgrading ZFS I updated the bootcode according to the warning in=20

>> the Handbook. While the handbook says to run:
>>
>> # gpart bootcode -p /boot/boot1.efifat -i 1 ada1
>>
>> I didn't see "boot1.efifat" in /boot so I executed instead:
>>
>> # gpart -p bootcode -p /boot/boot1.efi -i1 nvd0
>>
>> Did I reference the wrong file for the bootcode?
>>
>> I can mount the filesystem from the live CD and verify that I'm using =

>> UEFI boot and that partition 1 is the EFI partition.
>>
>> Recovery recommendations?
>>
>=20

--=20
John R. Shannon
john@johnrshannon.com


--------------ms000502060308000101070702
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
DIowggXrMIIE06ADAgECAhBAAXDpswmo8LwaMVdBtIgjMA0GCSqGSIb3DQEBCwUAMDoxCzAJ
BgNVBAYTAlVTMRIwEAYDVQQKEwlJZGVuVHJ1c3QxFzAVBgNVBAMTDlRydXN0SUQgQ0EgQTEz
MB4XDTIwMDMxNzE4MTMwOVoXDTIzMDMxNzE4MTMwOVowgYcxLjAsBgNVBAsMJVZlcmlmaWVk
IEVtYWlsOiBqb2huQGpvaG5yc2hhbm5vbi5jb20xJDAiBgkqhkiG9w0BCQEWFWpvaG5Aam9o
bnJzaGFubm9uLmNvbTEvMC0GCgmSJomT8ixkAQETH0EwMTQxMEQwMDAwMDE3MEU5QjMwOTk4
MDAwMTA1RjMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC926uY+7Gq/dUdtT7g
L4Hz2oIStodijwr6EUYA2PlL/KsvM4JkqYgN0ZBpbVjeAyUoBByrHpZbW2vy+ve6M4yKvosA
721pPjybjdIjSDxLVBTOzlXd3ZOocLzyPqfQLfLbmXnmcCbIjyySlVfkqx795Gd1wUCUsYKT
qhYoxjcs7xHygaQIseVNsMW1tzt6NLJjkn0Lwbu1VVaCpEwNLRGIsRA8jQC3EpKxbapA8V5Q
fzLkxj70gWz10qEQZRaZUEy7jV3hL46AriLHlICio6E6QAkT9R8lxXZhyCqfXBwQ5wgVO0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0GCCqGSIb3DQMC
AgEoMA0GCSqGSIb3DQEBAQUABIIBACEojeNheHPkEZI+PECOwSz8W+B7m9JoAecJLn01rQs1
00ecZOOl0d38eQUe6bFmRlcYQwhO2FQhw/tfE17y6MyaxqjHWkqbG7JF6PeubJri8A0C9BWz
/l5voIetwlfMetEBzOhXLFm749d+XpX4tyxaVG6qVm0Ob25kygP/vQ1We/9OfqMcFbpPlEn+
JwH8bWro2unITBIIqUpyMcTUhMonvbwopHHc5pdG6nn1XdWtU9V1iQ13fxUJxFjgUef1bDYI
Xc8qwypGPiRlv6WITKb19D7xMXlYxOyI1TInaGWH9xKAzbdwmqWYidAdVYGVgsSITgKBolIR
D2ycp6WHroEAAAAAAAA=
--------------ms000502060308000101070702--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d43caa85-a466-0558-00e5-db21c10e90aa>