Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 1999 09:29:59 -0800
From:      Mike Smith <mike@smith.net.au>
To:        aw1@stade.co.uk
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Booting -current with new loader 
Message-ID:  <199901241730.JAA04022@dingo.cdrom.com>
In-Reply-To: Your message of "Sun, 24 Jan 1999 17:01:40 GMT." <19990124170140.A688@titus.stade.co.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901241730.JAA04022>