From owner-freebsd-current Sun Jan 24 09:33:47 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25620 for freebsd-current-outgoing; Sun, 24 Jan 1999 09:33:47 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles340.castles.com [208.214.167.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA25614 for ; Sun, 24 Jan 1999 09:33:45 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id JAA04022; Sun, 24 Jan 1999 09:30:00 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199901241730.JAA04022@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: aw1@stade.co.uk cc: freebsd-current@FreeBSD.ORG Subject: Re: Booting -current with new loader In-reply-to: Your message of "Sun, 24 Jan 1999 17:01:40 GMT." <19990124170140.A688@titus.stade.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 24 Jan 1999 09:29:59 -0800 From: Mike Smith 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 Yeah, my fault. num_ide_disks is now deprecated, you can throw it away. If you resup, you won't need root_disk_unit either - that just avoids the code I broke. -- \\ 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