Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 1997 20:58:16 -0400 (EDT)
From:      Matthew Hunt <mph@pobox.com>
To:        freebsd-questions@freebsd.org
Subject:   Root on secondary master IDE drive
Message-ID:  <199706270058.UAA20895@townhouse.dyn.ml.org>

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

Thanks.

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



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