Date: Mon, 04 Jan 1999 21:11:29 -0800 From: Mike Smith <mike@smith.net.au> To: rsss@melbpc.org.au Cc: current@FreeBSD.ORG Subject: Re: Panic: Changing default root with the elf loader/kernel Message-ID: <199901050511.VAA00479@dingo.cdrom.com> In-Reply-To: Your message of "Tue, 05 Jan 1999 01:15:40 GMT." <369166ce.6856128@smtp.melbpc.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901050511.VAA00479>