Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 1997 10:04:01 +0300 (IDT)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Matthew Hunt <mph@pobox.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Root on secondary master IDE drive
Message-ID:  <Pine.BSF.3.91.970627100252.24060B-100000@gatekeeper.barcode.co.il>
In-Reply-To: <199706270058.UAA20895@townhouse.dyn.ml.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 26 Jun 1997, Matthew Hunt wrote:

> I helped to setup FreeBSD 2.2.2 on a friend's computer today.  It has
> Windows on wd0, no wd1, and FreeBSD on wd2.
> 
> We can boot FreeBSD from the boot prompt using:
> 
> 1:wd(2,a)/kernel
> 
> Then everything's fine.  In order to make the root device wd2a
> permanently, I did the obvious:
> 
> config kernel root on wd2
> 
> I have confirmed that config parsed it correctly, because in the
> compile directory we have a swapkernel.c with:
> 
> dev_t   rootdev = makedev(0, 0x00000010);               /* wd2a */
> 
> However, on booting the new kernel (yes, it is the new kernel) tries
> to mount wd1a, which doesn't exist.  Obviously, it panics.
> 
> Anybody have any ideas?

If it wants it to be wd1, make it wd1! Edit the kernel config file, 
comment out the original wd1 line, change the wd2 line to read wd1 and 
change all references to wd2 in /etc/fstab to refer to wd1. This will 
make the second drive known to the system as wd1 and all should be well.

> 
> Thanks.
> 
> -- 
> Matthew Hunt <mph@pobox.com> * Think locally, act globally.
> 
Nadav



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970627100252.24060B-100000>