Samarul Meu <samarul....@gmail.com> wrote: > It showed only this: > > open(hd0a:/etc/boot.conf): Invalid argument > boot> > cannot open hd0a:/etc/random.seed: Invalid argument > booting hd0a:/bsd: open hd0a:/bsd: Invalid argument > failed(22). will try /bsd > > After searching online I discovered this: boot sr0a:/bsd. Now it asks for > my Passphrase and it starts booting but then it hangs > > softraid0 at root > scsibus2 at softraid0: 256 targets > panic: root device (3312a...) not found > Stopped at db_enter+0x10: popq %rbp > TID PID UID PRFLAGS PFLAGS CPU COMMAND > * 0 0 0 0x10000 0x2000 0k swapper > panic(ffffff81dff....) at panic+0x12a > setroot(ffff80......) at setroot+0xdeb > disconf(1b21..) at diskconf+0x185 > main(0,0,0,0,0,ffff80..) at main+0x500 > end trace frame: 0x0, count:10https://www.openbsd.org/ddb.html > describes the minimum info required in bug reports. Insufficient > info makes it difficult to find and fix bugs. > ddb{0}>
I think I was having the same problem when I changed the passphrase of my disk. I managed to fix it with installboot(8). You can access the bug report in here: https://marc.info/?l=openbsd-bugs&m=161075212820257&w=2 I had the panic with the 6.8-stable device, but the 6.8-current device was booting just fine. In fact, I've used installboot(8) on that device while it was running (booted by hand with sr0a:/bsd as you did). Sincerely, vejetaryenvampir