From owner-freebsd-current Mon Jan 4 21:29:51 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA01145 for freebsd-current-outgoing; Mon, 4 Jan 1999 21:29:51 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from chmls11.mediaone.net (chmls11.mediaone.net [24.128.1.112]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA01140 for ; Mon, 4 Jan 1999 21:29:50 -0800 (PST) (envelope-from veldy@visi.com) Received: from visi.com (h-181-76.mn.mediaone.net [209.32.181.76]) by chmls11.mediaone.net (8.8.7/8.8.7) with ESMTP id AAA27671; Tue, 5 Jan 1999 00:28:39 -0500 (EST) Message-ID: <3691A33F.B2F8C67B@visi.com> Date: Mon, 04 Jan 1999 23:29:35 -0600 From: "Thomas T. Veldhouse" X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith CC: rsss@melbpc.org.au, current@FreeBSD.ORG Subject: Re: Panic: Changing default root with the elf loader/kernel References: <199901050511.VAA00479@dingo.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith 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. > > > > So to avoid a panic with the system and myself (as presently > > I can't run the elf kenel), how does one change the default > > root with the new loader. Even better, how does one save > > this information so it boots automatically and does not > > require manual input. > > Start by breaking to the loader commandline, and say > > set num_ide_disks=1 > boot > > You may need: > > set currdev=disk3s1a: > > if it hasn't already set the current device correctly. > > Please let me know how you go with this; I don't have such a senario to > test with at the moment, but will definitely do whatever is required to > make it work properly. > > -- > \\ Sometimes you're ahead, \\ Mike Smith > \\ sometimes you're behind. \\ mike@smith.net.au > \\ The race is long, and in the \\ msmith@freebsd.org > \\ end it's only with yourself. \\ msmith@cdrom.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message I had the same problem with my system, except I have two IDE drives and root is on wd2. Is there a way to configure this for autoboot (no user interaction)? Tom Veldhouse veldy@visi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message