From owner-freebsd-current Tue Jan 5 17:27:05 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA19784 for freebsd-current-outgoing; Tue, 5 Jan 1999 17:27:05 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from kate.nws.fsu.edu (kate.nws.fsu.edu [146.201.16.80]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA19779 for ; Tue, 5 Jan 1999 17:27:03 -0800 (PST) (envelope-from dave@nws.fsu.edu) Received: from localhost (dave@localhost) by kate.nws.fsu.edu (8.9.1/8.9.1) with SMTP id UAA25918; Tue, 5 Jan 1999 20:26:39 -0500 (EST) Date: Tue, 5 Jan 1999 20:26:39 -0500 (EST) From: David Faciane To: current@FreeBSD.ORG, Richard Solly Subject: Re: Panic: Changing default root with the elf loader/kernel In-Reply-To: <369166ce.6856128@smtp.melbpc.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 5 Jan 1999, Richard Solly wrote: > Following the helpful discussions recently, I converted my > recent 3.0 kernel which I thought was elf (but in fact was > aout) to genuine elf. Installed the boot loader OK as per > Robert Nordier's helpful instructions and booted the > kernel. > > Now one big problem, the boot disk is in fact the 2nd scsi > disk (da1) (as well as an IDE disk). It boots OK from what > in fact is the 3rd disk, but root always defaults back to > the first scsi (da0) and of course the kernel panics when it > can't find root. > > The perturbation which resulted in a default root change > with the aout loader/kernel, 2:da(1,a)kernel, is rejected > by the new loader. > [snippage] You need to set num_ide_disks. Here is my /boot/boot.conf (for booting FreeBSD off the 2nd disk (which is the 1st SCSI disk, da0). set num_ide_disks=1 autoboot 3 set no_autoboot=1 That will also handle your requirement for autoboot. HTH David Faciane |web: http://www.nws.fsu.edu/ NOAA National Weather Service |Real-Time Worldwide Marine Weather Reports Tallahassee, FL | http://www.nws.fsu.edu/buoy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message