From owner-freebsd-questions Thu Jun 26 17:58:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA24084 for questions-outgoing; Thu, 26 Jun 1997 17:58:42 -0700 (PDT) Received: from nexus.astro.psu.edu (nexus.astro.psu.edu [128.118.147.20]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id RAA24066 for ; Thu, 26 Jun 1997 17:58:26 -0700 (PDT) Received: from townhouse.dyn.ml.org (nb6ppp246.cac.psu.edu) by nexus.astro.psu.edu (4.1/Nexus-1.3) id AA16844; Thu, 26 Jun 97 20:58:23 EDT Received: (from hunt@localhost) by townhouse.dyn.ml.org (8.8.5/8.8.5) id UAA20895; Thu, 26 Jun 1997 20:58:16 -0400 (EDT) Date: Thu, 26 Jun 1997 20:58:16 -0400 (EDT) Message-Id: <199706270058.UAA20895@townhouse.dyn.ml.org> From: Matthew Hunt To: freebsd-questions@freebsd.org Subject: Root on secondary master IDE drive Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 * Think locally, act globally.