On Thu, Dec 23, 2021 at 04:15:50PM -0500, Rob Whitlock wrote: > On Thu, Dec 23, 2021 at 3:24 PM Crystal Kolipe <[email protected]> > wrote: > > > Again, there is nothing there that would stop it working. > > > > You have an MBR partition of type EE starting on sector 1, which is what is > > checked for in gpt_chk_mbr, so unless I'm overlooking something it's > > probably chocking in gpt_chk_hdr due to something unexpected in the GPT > > header, > > (LBA block 1). > > > > Here is LBA block 1:
OK, I now know why it's not working :-). Either: * Upgrade to OpenBSD 7.0 or * Change line 610 of /usr/src/kern/subr_disk.c as it changed between version 1.241 and version 1.242: https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/kern/subr_disk.c.diff?r1=1.241&r2=1.242&f=h ... and recompile the kernel. Either way, the spoofed disklabel will then include your non-OpenBSD partitions. And in future, please test the latest version of the code before reporting a bug ;-).

