From owner-freebsd-hackers Sat Dec 30 21:55:23 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA09237 for hackers-outgoing; Sat, 30 Dec 1995 21:55:23 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA09230 for ; Sat, 30 Dec 1995 21:55:14 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id QAA19389; Sun, 31 Dec 1995 16:53:23 +1100 Date: Sun, 31 Dec 1995 16:53:23 +1100 From: Bruce Evans Message-Id: <199512310553.QAA19389@godzilla.zeta.org.au> To: bjj@sequent.com, dgy@rtd.com Subject: Re: boot from sd1? Cc: freebsd-hackers@freefall.freebsd.org Sender: owner-hackers@FreeBSD.ORG Precedence: bulk >Question: I have wd0, sd0, sd1, and I boot from sd0 (from before I had >the wd0 drive). When I was running 2.0.5, I patched the boot code to >default to hd1 so that after getting the secondary boot block off of >wd0, it would actually boot from sd0. After I installed 2.1.0, I made >the same change. Now, however, after successfully booting from sd0, >the kernel panics because it isn't pointing at sd0a as the root device. >What did I miss? It should work. The hard part is getting the kernel started. I've often recovered from a wrong root device by booting with -d to run ddb early (with a kernel compiled with options DDB of course) and editing `bootdev'. Bruce