I installed OpenBSD 6.6 (amd64) on my computer, but when I try to boot I get
this:
probing: pc0 mem[636K 511M 510M 2199M 88K 1M 292K 92K 32K 60K 44K 176K 64K 76K
92K 4M 48K 13042M]
disk: hd0 hd1 hd2*
>> OpenBSD/amd64 BOOTX64 3.46
open(hd0a:/etc/boot.conf): Invalid argument
boot>
cannot open hd0a:/etc/random.seed: Invalid argument
booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
failed(22): will try /bsd
boot>
cannot open hd0a:/etc/random.seed: Invalid argument
booting hd0a:/bsd: open hd0a:/bsd: Invalid argument
failed(22): will try /bsd
Turning timeout off.
boot>
hd0 is the right disk based on `machine diskinfo`.
The partition information:
Primary GPT:
Disk: sd1 Usable LBA: 34 to 3907029134 [3987029168 Sectors]
GUID: 0f00d0f3-a2ca-4de0-a29c-b76a541b53a4
#: type [ start: size ]
guid name
------------------------------------------------------------------------
0: e3c9e316-0b5c-4db8-817d-f92df00215ae [ 34: 32734 ]
18c7e138-ad6c-4856-9239-d67cbf38ba12 Microsoft reserved partition
1: FAT12 [ 32768: 3802136576 ]
f5e0b944-4641-4d35-b485-c6df325a3d63 Basic data partition
2: EFI Sys [ 3882169344: 960 ]
26d0a8bb-8fd8-4f01-9879-5ffab9bc0645 EFI
3: OpenBSD [ 3802170304: 104858831 ]
718f9fbf-61ef-4b37-ab98-c851f3a91491 OpenBSD
disk: SCSI disk
label: ST2000LX001-1AG1
duid: a5431ead75c4a5d2
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 243201
total sectors: 3907029168
boundstart: 3802170304
boundend: 3907029135
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 2097152 3802170304 4.2BSD 2048 16384 12958
b: 8441560 3804267456 swap
c: 3907029168 0 unused
d: 6867904 3812709024 4.2BSD 2048 16384 12958
e: 10924864 3819576928 4.2BSD 2048 16384 12958
f: 6291456 3830501792 4.2BSD 2048 16384 12958
g: 2097152 3836793248 4.2BSD 2048 16384 12958
h: 14513728 3838890400 4.2BSD 2048 16384 12952
i: 32734 34 unknown
j: 3802136576 32768 MSDOS
k: 960 3802169344 MSDOS
l: 4194304 3853404128 4.2BSD 2048 16384 12958
m: 12582912 3857598432 4.2BSD 2048 16384 12958
n: 36847776 3070181344 4.2BSD 2048 16384 12958
A fellow OpenBSD user on this list suggested that this is due to a bug in
OpenBSD's BOOTX64.EFI - that it only reads the first 1024GB (2^31 sectors) of
the disk while my partition is at sector 3802170304 causing a daddr32_t
overflow in /sys/arch/amd64/stand/efiboot/efidev.c which then returns EINVAL
(invalid argument).