Hi tech@,

I'm trying to install OpenBSD in a partition on this drive.  I created
an OpenBSD type (0xa600) partition type with a GPT layout from Arch
Linux when I was installing it on this same hardware (I want to dual
boot using refind).

You can see from the lsblk output on Linux below how things are structured:

NAME               MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
nvme0n1            259:0    0 953.9G  0 disk
├─nvme0n1p3        259:3    0 453.9G  0 part
├─nvme0n1p1        259:1    0     2G  0 part  /boot
└─nvme0n1p2        259:2    0   498G  0 part
  └─crypt          254:0    0   498G  0 crypt
    ├─lvmpool-root 254:1    0    35G  0 lvm   /
    ├─lvmpool-swap 254:2    0    16G  0 lvm   [SWAP]
    └─lvmpool-home 254:3    0   447G  0 lvm   /home

When I boot the latest snapshot install60.fs USB drive (my preferred
method of installing), what I'm seeing looks like the drive is
recognized, but for some reason, disklabel is not seeing the right
data and says the OpenBSD area takes up the entire disk.  My concern
is that if I install, it will whack the existing disk structure and
I'll lose my Linux install.

I'd appreciate any advice on how to troubleshoot this.  Here is the
output of disklabel, fdisk and dmesg:

[# fdisk -v sd0]

Primary GPT:
Disk: sd0       Usable LBA: 34 to 2000409230 [2000409265 Sectors]
GUID: e044f116-3aa6-4bb0-b06e-655c4f928486
   #: type                                 [       start:         size ]
      guid                                 name
------------------------------------------------------------------------
   0: EFI Sys                              [        2048:      4192257 ]
      fba5492e-ddcd-40d5-afab-fce7f2886eef EFI System
   1: Linux files*                         [     4196352:   1044379649 ]
      a3a8a6d5-d881-4529-aab2-d383db3ebb2f Linux filesystem
   2: OpenBSD                              [  1048578048:    951831183 ]
      c004f9b9-5ec6-4841-89ec-6b5149a74810 OpenBSD disklabel

Secondary GPT:
    Not Found

MBR:
Disk: sd0    geometry: 124519/255/63 [2000409265 Sectors]
Offset: 0    Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: EE      0   0   2 - 124519 182  63 [           1:  2000409263 ] EFI GPT
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused

[#disklabel sd0]

# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: SAMSUNG MZSLW1T0
duid: 0000000000000000
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 124519
total sectors: 2000409265
boundstart: 0
boundend: 2000409265
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize   cpg]
  c:       2000409265                0  unused

[#dmesg]

OpenBSD 6.0-current (RAMDISK_CD) #21: Wed Dec  7 23:24:13 MST 2016
    bu...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 16523563008 (15758MB)
avail mem = 16021069824 (15278MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xd7c05000 (65 entries)
bios0: vendor LENOVO version "N1FET44W (1.18 )" date 09/01/2016
bios0: LENOVO 20FBCTO1WW
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP TCPA SSDT UEFI SSDT SSDT ECDT HPET APIC MCFG
SSDT SSDT DBGP DBG2 BOOT BATB SLIC SSDT SSDT MSDM DMAR ASF! FPDT UEFI
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz, 2808.00 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: TSC frequency 2808000000 Hz
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus 2 (EXP1)
acpiprt5 at acpi0: bus 4 (EXP3)
acpiprt6 at acpi0: bus 5 (EXP5)
acpiprt7 at acpi0: bus -1 (EXP9)
acpicpu at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpipwrres at acpi0 not configured
acpitz at acpi0 not configured
"PNP0C0D" at acpi0 not configured
"PNP0C0E" at acpi0 not configured
"LEN0071" at acpi0 not configured
"LEN0058" at acpi0 not configured
"INT3F0D" at acpi0 not configured
"PNP0C0A" at acpi0 not configured
"ACPI0003" at acpi0 not configured
"LEN0068" at acpi0 not configured
"PNP0C60" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C31" at acpi0 not configured
"INT3394" at acpi0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 6G Host" rev 0x08
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 520" rev 0x07
vga1: aperture needed
wsdisplay1 at vga1 mux 1: console (80x25, vt100 emulation)
"Intel Skylake GMM" rev 0x00 at pci0 dev 8 function 0 not configured
"Intel 100 Series ISH" rev 0x21 at pci0 dev 19 function 0 not configured
xhci0 at pci0 dev 20 function 0 "Intel 100 Series xHCI" rev 0x21: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
3.00/1.00 addr 1
"Intel 100 Series Thermal" rev 0x21 at pci0 dev 20 function 2 not configured
"Intel 100 Series MEI" rev 0x21 at pci0 dev 22 function 0 not configured
ppb0 at pci0 dev 28 function 0 "Intel 100 Series PCIE" rev 0xf1: msi
pci1 at ppb0 bus 2
"Realtek RTS525A Card Reader" rev 0x01 at pci1 dev 0 function 0 not configured
ppb1 at pci0 dev 28 function 2 "Intel 100 Series PCIE" rev 0xf1: msi
pci2 at ppb1 bus 4
iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless AC 8260" rev 0x3a, msi
ppb2 at pci0 dev 28 function 4 "Intel 100 Series PCIE" rev 0xf1: msi
pci3 at ppb2 bus 5
nvme0 at pci3 dev 0 function 0 vendor "Samsung", unknown product
0xa804 rev 0x00: msi, NVMe 1.1
nvme0: SAMSUNG MZSLW1T0HMLH-000L1, firmware 3L0QCXY7, serial S308NX0HB01293
scsibus0 at nvme0: 1 targets
sd0 at scsibus0 targ 0 lun 0: <NVMe, SAMSUNG MZSLW1T0, 3L0Q> SCSI4
0/direct fixed
sd0: 976762MB, 512 bytes/sector, 2000409265 sectors
"Intel 100 Series LPC" rev 0x21 at pci0 dev 31 function 0 not configured
"Intel 100 Series PMC" rev 0x21 at pci0 dev 31 function 2 not configured
"Intel 100 Series HD Audio" rev 0x21 at pci0 dev 31 function 3 not configured
"Intel 100 Series SMBus" rev 0x21 at pci0 dev 31 function 4 not configured
em0 at pci0 dev 31 function 6 "Intel I219-LM" rev 0x21: msi, address
54:ee:75:b7:ac:ca
isa0 at mainbus0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay1
umass0 at uhub0 port 1 configuration 1 interface 0 "vendor 0x13fe
Patriot Memory" rev 2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <, Patriot Memory, PMAP> SCSI2 0/direct
removable serial.13fe41003310A090C796
sd1: 29557MB, 512 bytes/sector, 60532992 sectors
"vendor 0x8087 product 0x0a2b" rev 2.00/0.01 addr 3 at uhub0 port 7
not configured
"Chicony Electronics Co.,Ltd. Integrated Camera" rev 2.00/0.04 addr 4
at uhub0 port 8 not configured
"vendor 0x138a product 0x0090" rev 2.00/1.64 addr 5 at uhub0 port 9
not configured
softraid0 at root
scsibus2 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
iwm0: could not read firmware iwm-8000C-16 (error 2)
iwm0: failed to load init firmware

Reply via email to