DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th August 2019
joancatala joancatala is offline
Port Guard
 
Join Date: Jun 2011
Posts: 34
Default [SOLVED] Suddenly I can't boot on OpenBSD

Today I can't boot OpenBSD on my laptop. I was using yesterday the laptop as every day but since this morning, misteriously, I can't boot normally.

I recorded just right now: https://www.youtube.com/watch?v=e93YF24vJe4

However, if I write manually boot hd0a:/bsd.sp it boots normally.

First of all, I would like to know what is happenning.
And also, i would like to know how could I solve this in order my OpenBSD boots automatically?

Last edited by joancatala; 13th August 2019 at 12:45 PM.
Reply With Quote
  #2   (View Single Post)  
Old 13th August 2019
joancatala joancatala is offline
Port Guard
 
Join Date: Jun 2011
Posts: 34
Default

UPDATE. Now I rebooted the operative system and, at the end, I see this message "Kernel relinking failed;"

Reply With Quote
  #3   (View Single Post)  
Old 13th August 2019
joancatala joancatala is offline
Port Guard
 
Join Date: Jun 2011
Posts: 34
Default

Finally I solved downloading a new kernel and generating a new sha256

I downloaded a new kernel and I generated a new SHA256 with:

Code:
x250# wget https://mirror.vdms.io/pub/OpenBSD/6.5/amd64/{bsd.mp,SHA256,SHA256.sig}
x250# sha256 -C SHA256 bsd.mp
(SHA256) bsd.mp: OK
x250# sha256 bsd.mp
SHA256 (bsd.mp) = b5442ae9089ae87a86e995dc04238e994dadf3bfa28ef4e02fe62251cbce73a7
x250#
Now permissions and the new sha256:

Code:
x250# chown root:wheel bsd.mp
x250# chmod 600 bsd.mp
x250# mv bsd.mp bsd
x250# sha256 bsd > /var/db/kernel.SHA256
And finally some syspatch orders:

Code:
x250# syspatch -r
Reverting patch 007_etherip
 Relinking to create unique kernel... failed!
x250# syspatch -r
Reverting patch 006_prevhdr
Relinking to create unique kernel... failed!     
x250# syspatch -r
Reverting patch 004_libssl
x250# syspatch -r
Reverting patch 001_tcb_invalid
Relinking to create unique kernel... failed!
x250# syspatch -r
x250#
Last "syspatch -r" was ok :-) so I rebooted and everything is fine now. I can boot as normally.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's happening here? USB and SSD's connections disappeared suddenly betweendayandnight OpenBSD Installation and Upgrading 29 9th March 2016 04:49 PM
External USB Drive suddenly Read only kerasi OpenBSD General 8 17th March 2015 01:12 PM
soud suddenly stopped working Brainfsck NetBSD General 0 25th August 2011 07:00 PM
Power Supply Fan Suddenly Stopped IdOp General Hardware 16 26th June 2010 08:36 PM
Dual-boot laptop won't boot OpenBSD after upgrade to 4.3 kbeaucha OpenBSD Installation and Upgrading 17 30th May 2008 02:40 PM


All times are GMT. The time now is 06:46 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick