MBR disk, 1TB, 4 apx equal partitions, at cyl boundaries coincident with 8k (16 sector) blocks
Grub 2 boot
slice 1: new freebsd 12.2 installation (partition id 165, 0xA5)
slice 2: new openbsd 6.x installation (partition id 166, 0xA6)
slice 4: new Linux with grub2 boot
Booting from the USB stick with FreeBSD 12.2 amd64 installer,
mount /dev/da0s1a /mnt
fails with diag
GEOM: diskid/DISK-...15*hexdigits...s2: invalid disklabel
From that "s2", I suspect it's complaining about the OpenBSD label on the 2nd partition.
? Advice?
Installer "disklabel" is happy to read or write da0s1 label.
installer "newfs -N" is happy to report fs parameters for the a, d - h FSs defined in
the disklabel.
installer "fsck /dev/da0s1a" reports CANNOT READ BLK: 487251392
and then gives the same GEOM diag, above, on exit;
but "dd" is happy to read or write that block, and adjacent blocks.
Boot via grub2 just hangs, at the initial "-" char (tried both the
chainboot and kfreebsd kernel boot options)
The installer was happy to create the 4.2bsd filesystems, and got to the end of install,
but it also gave an "invalid disklabel" diag.
Installer "disklabel" is also happy to read da0s2 (OpenBSD) disklabel, but is
confused with what it finds.
For da0s1 (FreeBSD), we have disklabel
# /dev/da0s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 16777216 0 4.2BSD 4096 32768 0
b: 16777216 16777216 swap
c: 488118960 0 unused 0 0 # "raw" part, don't edit
d: 16777216 33554432 4.2BSD 4096 32768 0
e: 16777216 50331648 4.2BSD 4096 32768 0
f: 67108864 67108864 4.2BSD 4096 32768 0
g: 67108864 134217728 4.2BSD 4096 32768 0
h: 286792368 201326592 4.2BSD 4096 32768 0
(Fragment size and block size were originally 0; I edited those to
match the params newfs -N showed, but same diag's and behaviour,
before and after.)
grub2 boot of OpenBSD is fine, with both chainboot and kernel boot methods.
Grub 2 boot
slice 1: new freebsd 12.2 installation (partition id 165, 0xA5)
slice 2: new openbsd 6.x installation (partition id 166, 0xA6)
slice 4: new Linux with grub2 boot
Booting from the USB stick with FreeBSD 12.2 amd64 installer,
mount /dev/da0s1a /mnt
fails with diag
GEOM: diskid/DISK-...15*hexdigits...s2: invalid disklabel
From that "s2", I suspect it's complaining about the OpenBSD label on the 2nd partition.
? Advice?
Installer "disklabel" is happy to read or write da0s1 label.
installer "newfs -N" is happy to report fs parameters for the a, d - h FSs defined in
the disklabel.
installer "fsck /dev/da0s1a" reports CANNOT READ BLK: 487251392
and then gives the same GEOM diag, above, on exit;
but "dd" is happy to read or write that block, and adjacent blocks.
Boot via grub2 just hangs, at the initial "-" char (tried both the
chainboot and kfreebsd kernel boot options)
The installer was happy to create the 4.2bsd filesystems, and got to the end of install,
but it also gave an "invalid disklabel" diag.
Installer "disklabel" is also happy to read da0s2 (OpenBSD) disklabel, but is
confused with what it finds.
For da0s1 (FreeBSD), we have disklabel
# /dev/da0s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 16777216 0 4.2BSD 4096 32768 0
b: 16777216 16777216 swap
c: 488118960 0 unused 0 0 # "raw" part, don't edit
d: 16777216 33554432 4.2BSD 4096 32768 0
e: 16777216 50331648 4.2BSD 4096 32768 0
f: 67108864 67108864 4.2BSD 4096 32768 0
g: 67108864 134217728 4.2BSD 4096 32768 0
h: 286792368 201326592 4.2BSD 4096 32768 0
(Fragment size and block size were originally 0; I edited those to
match the params newfs -N showed, but same diag's and behaviour,
before and after.)
grub2 boot of OpenBSD is fine, with both chainboot and kernel boot methods.