Hello, So I have OpenBSD 6.8 (yeah I know), and are trying to upgrade to 6.9 (and version by version until 7.1:)). Problem is that installer does not see disk. This is my very first time I upgrade OpenBSD, so I might be missing something simple. I've read through the upgrade documentation, and tried to google my problem but I could not fix my problem.
I upgrade with sysupgrade. After boot I try to select root disk: > Available disks are: . > Which disk is the root disk? ('?' for details) ? > sd0: NVMe, Samsung SSD 970, 2B2Q (232.9G) > Available disks are: . > Which disk is the root disk? ('?' for details) sd0 > sd0 is not a valid root disk. > Available disks are: . Going into shell, /dev/sd0* do not exist. So I tried to create nodes: > upgrade# ./MAKEDEV sd0 Now disklabel shows proper disk info (label is from samsung 960, even though I have samsung 970 disk. I migrated some time ago from 960 to 970, guess I must have used dd to do it, hence label from previous disk. I assure you I have only 1 disk inserted, and no usb disks). > upgrade# disklabel sd0 > # /dev/rsd0c: > type: SCSI > disk: SCSI disk > label: Samsung SSD 960 > duid: dc999ef6267325df > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 30401 > total sectors: 488397168 > boundstart: 1024 > boundend: 488397105 > drivedata: 0 > > 16 partitions: > # size offset fstype [fsize bsize cpg] > a: 8400960 1024 4.2BSD 2048 16384 12960 > b: 67119581 8401984 swap > c: 488397168 0 unused > d: 134223072 75521568 4.2BSD 2048 16384 12960 > e: 278652416 209744640 4.2BSD 4096 32768 26062 > i: 960 64 MSDOS fdisk > upgrade# fdisk /dev/rsd0c > Disk: /dev/rsd0c Usable LBA: 64 to 488397104 [488397168 Sectors] > #: type [ start: size ] > ------------------------------------------------------------------------ > 1: EFI Sys [ 64: 960 ] > 3: OpenBSD [ 1024: 488396081 ] But when I exit shell I still have the very same problem as at the beginning and I can't select root disk. Strange thing is, that when I exit shell to installer, and then go back to shell with "!", /dev/sd0 disappears. More info: ========== Disk is detected in bsd.upgrade kernel > upgrade# dmesg | grep -i samsung > nvme0 at pci1 dev 0 function 0 "Samsung SM981/PM981 NVMe" rev 0x00: msix, > NVMe 1.3 > nvme0: Samsung SSD 970 EVO Plus 250GB, firmware 2B2QEXM7, serial > S4EUNX0R502629B > sd0 at scsibus1 targ 1 lun 0: <NVMe, Samsung SSD 970, 2B2Q> > nvme0 at pci1 dev 0 function 0 "Samsung SM981/PM981 NVMe" rev 0x00: msix, > NVMe 1.3 > nvme0: Samsung SSD 970 EVO Plus 250GB, firmware 2B2QEXM7, serial > S4EUNX0R502629B > sd0 at scsibus0 targ 1 lun 0: <NVMe, Samsung SSD 970, 2B2Q> It seems I am booting with uefi > >> OpenBSD/amd64 BOOTX64 3.54 > boot> When system is booted root disk is sd0 > # mount | grep sd0a > # /dev/sd0a on / type ffs (local) I don't know what else might be usefull. I have no idea what else I can do here :( -- .-----------------.-------------------.----------------------.-----------------. | Michal Lyszczek | Embedded C, Linux | Company Address | .-. opensource | | +48 727 564 419 | Software Engineer | Akacjowa 10a; 55-330 | oo| supporter | | https://bofc.pl `----.--------------: Brzezinka Sredzka PL | /`'\ & | | GPG FF1EBFE7E3A974B1 | Bits of Code | NIP: 813 349 58 78 |(\_;/) programer | `----------------------^--------------^----------------------^-----------------'
signature.asc
Description: PGP signature