I have a question about partitioning in fdisk.

In the case of efi/gpt install OpenBSD automaticaly creates an efi
partition wih an offset of 64 and a size of 460k. I recently installed
OpenBSD on a rockpro64 emmc disk. It had been a while since I had
reinstalled and I just did most of it off the top of my head. I did
quickly skim through INSTALL.arm64 to create the install media whith
regard to u-boot.
Everything seemed fine, I proceeded to copy u-boot to the OpenBSD
installed emmc drive so that it can boot whithout the install media
which is located on an sd-card.
That is when the trouble started. The dd command that is mentioned in
INSTALL.arm64 overwrites part of the efi partition.
After fumbling around a bit I remembered that in the past I would create
the efi partition at an offset of 32768 and a size of 32768(16MB) and
the OpenBSD partition would then start at an offset of 65536. I
reinstalled using these parameters and now everything is good.

I can't find this mentioned anywhere in INSTALL.arm64. And it doesn't
seem to be a problem when creating the install media on an sd-card. Am I
doing something wrong here? I'm curious how others handle this.

Tiemen Werkman

Reply via email to