From owner-freebsd-questions Mon Jun 14 20:52:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from server7.singular.com (server7.singular.com [204.140.208.10]) by hub.freebsd.org (Postfix) with ESMTP id C3D2314E7B for ; Mon, 14 Jun 1999 20:52:17 -0700 (PDT) (envelope-from jbarbee@singular.com) Received: from tesseract (adsl-216-103-50-27.dsl.lsan03.pacbell.net [216.103.50.27]) by server7.singular.com (8.8.8/8.8.8) with SMTP id UAA21788 for ; Mon, 14 Jun 1999 20:52:16 -0700 (PDT) (envelope-from jbarbee@singular.com) From: jbarbee@singular.com Message-Id: <4.1.19990614204434.00a59cf0@server7.singular.com> X-Sender: jbarbee@server7.singular.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Mon, 14 Jun 1999 20:49:45 -0700 To: freebsd-questions@freebsd.org Subject: what determines the drive number of disks? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I used to have 1 drive, named da0, on adv0 (an advansys controller). I added 4 more drives on ncr0 (a symbios controller). I recompiled the kernel for ncr0 as well as da1..4. When I start up what used to be da0 is now da4. In the boot string I must type 0:da(4,a)kernel or the kernel can't mount root (i thought adding "root on da4" in the kernel fixes that). Even when I do startup, the fstab doesn't match the new hardware setup. What determines the disk number upon startup? How can I fix this? Should I just edit my fstab and set up a new default boot string, even though that seems silly? john. please cc me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message