(address . bug-guix@gnu.org)
I was working on using a grub-efi system image for aarch64 and I got the
following error:
'Error: FAT sector size mismatch (fs=1024, dev=512)'
I traced it back to u-boot¹. u-boot wouldn't chainload grub if the
device block size and the filesystem sector size doesn't line up. I
changed the line in (gnu build image) in make-vfat-image to use '-S 512'
for esp partitions and was able to load the grub menu from u-boot.
I spent some time looking through the git history but I wasn't able to
find anything to suggest why we have 1024 byte sectors there
specifically.
--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmOGcN4ACgkQQarn3Mo9
g1F/Ug/+Ph4oxQW1WEELiufrOwqvmr0GVNNBheXmFrzF1r/vTyN4zJjqjr2ugzod
BUPnby9kTAeBzoFP8n38aTM3F+msczZWNPeX9nq5o8NnyG0VP/63Yemkzpr9ANJY
ixaRuNP3YAy9K4rz7Auu+MXDPm9wm9V6+uxopVKwLJZuiDmEkAwHgFJxSEhq3JQo
i+EFLO1S2ncDQAok6bqfIbphrWOglZDAPocSSNzC/e1wX/MuwkbY0prOPB45BpcE
kA4b+erQtb9vkuqSrMy0DPkXd1A7JhG+dIOaxhcKKyxDyt3xnK+SUqVR/6vCBv9E
A/SQ6zy9WTGw4xJx9W8sVaaJE9evkCORC903/9aXA+5pjOFu0K6/1Kw7T7A1Irkk
yWukV7qygvSm66WKu2u9wCMWsK01DYdJtwX2oUUuQCmxdwe1f8AKnip/L5FMcqWi
4Twi5O2S8YcAivlRnGmHwWTvkCgANsKXAEeMp5iJjhYqWI7PSgIwqDt9PBsc/6yD
AdRCtUwWqh9LlR6qj7ZN6Xl7eEOTUh1FLjEEBRSTezhDbbPrALvgxsYkusO0hieq
K6bdQOywEc+xhPo/6nnx15Y2WOVrbWZ0/oSg79gqViOwSqRPxOL2vOdqFQdkMsU9
8/mrK4976dbvBPQhkNKx+vRB5wR0NTf4GxrEldWerbqWgnWMA10=
=duo/
-----END PGP SIGNATURE-----