From owner-freebsd-current Mon Jan 4 17:16:17 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA06777 for freebsd-current-outgoing; Mon, 4 Jan 1999 17:16:17 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from emu.melbpc.org.au (emu.melbpc.org.au [203.12.152.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA06771 for ; Mon, 4 Jan 1999 17:16:12 -0800 (PST) (envelope-from rsss@melbpc.org.au) Received: from bilby227.melbpc.org.au (bilby227.melbpc.org.au [203.12.153.227]) by emu.melbpc.org.au (8.9.0/8.9.0) with SMTP id MAA22160; Tue, 5 Jan 1999 12:15:40 +1100 (EST) From: rsss@melbpc.org.au (Richard Solly) To: current@FreeBSD.ORG Cc: rnordier@nordier.com Subject: Panic: Changing default root with the elf loader/kernel Date: Tue, 05 Jan 1999 01:15:40 GMT Reply-To: rsss@melbpc.org.au Message-ID: <369166ce.6856128@smtp.melbpc.org.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Richard Solly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message