From owner-freebsd-current Sun Jan 24 09:03:35 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA22600 for freebsd-current-outgoing; Sun, 24 Jan 1999 09:03:35 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from stade.demon.co.uk (stade.demon.co.uk [158.152.29.164]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA22592 for ; Sun, 24 Jan 1999 09:03:29 -0800 (PST) (envelope-from aw1@stade.co.uk) Received: (from aw1@localhost) by stade.demon.co.uk (8.9.2/8.9.1) id RAA01143 for freebsd-current@FreeBSD.ORG; Sun, 24 Jan 1999 17:01:40 GMT (envelope-from aw1) Date: Sun, 24 Jan 1999 17:01:40 +0000 From: Adrian Wontroba To: freebsd-current@FreeBSD.ORG Subject: Re: Booting -current with new loader Message-ID: <19990124170140.A688@titus.stade.co.uk> Reply-To: aw1@stade.co.uk References: <199901210700.XAA06653@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <199901210700.XAA06653@dingo.cdrom.com>; from Mike Smith on Wed, Jan 20, 1999 at 11:00:27PM -0800 X-Operating-System: FreeBSD 4.0-CURRENT Organization: Yes, I need some of that. X-Phone: +(44) 121 681 6677 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 20, 1999 at 11:00:27PM -0800, Mike Smith wrote: > Right now I'm looking at stamping the disklabel which contains the > designated root filesystem and passing the stamp into the kernel, which > will then go look for it. There are still gremlins with this approach, > but I can't think of anything better. 8( Well, it would probably help avoid the confusion and terror I went through today (8-) I updated my boot blocks (last done a month ago) and the machine refused to mount my root filesystem (on /dev/da0s2a) with "specified device does not match mounted device". The machine would load OK with /kernel at the boot prompt. After fiddling with num_ide_disks and some RTSLing, I discovered root_disc_unit (8-) set num_ide_disks=-1 set root_disk_unit=0 <<<<<<<<<<<<<<<<<<<<< load /kernel load -t userconfig_script /kernel.config autoboot Bliss! -- Adrian Wontroba To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message