Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jan 1999 23:29:35 -0600
From:      "Thomas T. Veldhouse" <veldy@visi.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        rsss@melbpc.org.au, current@FreeBSD.ORG
Subject:   Re: Panic: Changing default root with the elf loader/kernel
Message-ID:  <3691A33F.B2F8C67B@visi.com>
References:  <199901050511.VAA00479@dingo.cdrom.com>

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



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