On March 9, 2018 12:55:31 AM GMT+01:00, Stefan Wollny <stefan.wol...@web.de> wrote: >Am 09.03.2018 um 00:09 schrieb Stefan Wollny: >> Am 08.03.2018 um 23:25 schrieb Stefan Wollny: >>> Am 08.03.2018 um 22:11 schrieb Stefan Wollny: >>> >>>> Am 08.03.2018 um 17:44 schrieb Stefan Wollny: >>>>> Gesendet von meinem BlackBerry 10-Smartphone. >>>>> Originalnachricht >>>>> Von: Kevin Chadwick >>>>> Gesendet: Donnerstag, 8. März 2018 17:28 >>>>> An: misc@openbsd.org >>>>> Betreff: Re: booting hd0a:/bsd: open hd0a:/bsd: Invalid argument >>>>> >>>>> On Thu, 8 Mar 2018 14:47:43 +0100 >>>>> >>>>> >>>>>> Has anyone a clue what might have happend and how to solve the >issue? >>>>>> I searched the net but didn't find any substantial infos on this. >As >>>>>> the error happends with all three USB-keys I have this is >unlikely to >>>>>> be cause of the trouble. >>>>> The bootloader normally lists the disks that the bios sees >beforehand >>>>> e.g. >>>>> >>>>> disk: hd0+ hd1+ sr0* >>>>>>> OpenBSD/amd64 BOOT 3.34 >>>>> Perhaps they have been moved around? >>>>> >>>>> >>>>> I tried >>>>> >>>>> boot hd1a:/bsd >>>>> >>>>> but got the same message. >>>>> >>>>> I can enter # fsck -fy hd0a but this just gets me a prompt >without any action. BTW: This is a SSD. >>>>> >>>> OK - back at home I downloaded install63.iso and burned a CD which >does >>>> start. Choosing "(U)pgrade" I am presented with "Available disks >are: >>>> sd0 sd1" - but both are "not a valid root disk". Back to the shell >I >>>> tried fdisk but I get "fdisk: sd0: No such file or directory" >>>> >>>> Could this be an issue with the bootloader or is it the encryption >of >>>> softraid0 that hinders the upgrade? >>>> >> tb@ provided another valuable hint: >> I can start the boot-process with 'boot sr0a:/bsd' but this ends with >a >> panic: >> >> ... >> softraid0 at root >> scsibus4 at softraid0:256 targets >> panic: root device (...) not found >> Stopped at db_enter+0x5: popq %rbp >> TID PID UID PRFLAGS PFLAGS CPU COMMAND >> * 0 0 0 0X10000 0X200 OK swapper >> ... >> >OK . final remarks for tonight: > >I can start 'boot sr0a:/bsd.rd' but trying to upgrade is the same >dead-end road - "sd0 is not a valid root device". > >'fdisk sd0' shows the expected '*' before the partition number.
It might help to see the actual output. > >'disklabel sd0' shows the expected fstype "RAID" 'for sd0a. It would certainly help to see the output here. Does it span the *entire* disk, from 0 to the end? > >Doing 'bioctl -c C -l /dev/sd0a' says "KDF hint has invalid size". > >'installboot -nv sd0a' misses '/usr/mdec/biosboot' - there is only >'/usr/mdec/mbr'. > >While the 'upgrade' started from 'boot sr0a:/bsd.rd' does not see 'sd0' >the 'install' process started from the CD actually does. "sd0 is not a valid root device" does not say it does not *see* the device. It says "sd0 is not a valid root device", which is totally correct, as it only holds some raid metadata and the corresponding encrypted data. If sd0(a) is a single RAID partition, and sd1 holds the key, your root disk should appear as sd2 (or whatever the next unused sdN is). So, if "sd0 is not a valid root device" and "sd1 is not a valid root device", what gives for sd2? Please provide as much output as possible from the process. Your interpretation of it is far less helpful in understanding the problem at hand. Sincerely, Alexander > >Sigh - I need some sleep...