From owner-freebsd-questions Fri Jul 9 7:36:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail-out.visi.com (tele.visi.com [209.98.98.17]) by hub.freebsd.org (Postfix) with ESMTP id 0D53414C4C for ; Fri, 9 Jul 1999 07:36:50 -0700 (PDT) (envelope-from pkeusem@visi.com) Received: from isis.visi.com (isis.visi.com [209.98.98.8]) by mail-out.visi.com (Postfix) with ESMTP id A36141F808 for ; Fri, 9 Jul 1999 09:36:49 -0500 (CDT) Received: (from pkeusem@localhost) by isis.visi.com (8.8.8/8.8.8) id JAA16986 for freebsd-questions@FreeBSD.ORG; Fri, 9 Jul 1999 09:36:49 -0500 (CDT) Date: Fri, 9 Jul 1999 09:36:49 -0500 From: Paul Keusemann To: freebsd-questions@FreeBSD.ORG Subject: boot/loader problem -- currdev is not boot disk Message-ID: <19990709093649.A15301@isis.visi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there any way to specify the current drive when starting /boot/loader? I've got a system with one IDE drive and two SCSI controllers, one Adaptec 1542 and one Adaptec 2940. I'm trying to boot off of the first disk on the ISA controller which the bios sees first but the boot loader and kernel see second, i.e. when the boot loader starts, it thinks currdev is the first disk on the 2940 which does not have a FreeBSD partition on it. I can boot manually by setting the current drive after the boot loader is running. What I'm looking for is a way to tell the boot loader that the current drive is disk1s1a. Adding a line to /boot/loader.rc won't work because the loader can't even find /boot/loader.rc, I need to set currdev in order to read /boot/loader.rc. This is what I've got so far: Booteasy on the ide drive (wd0) Booteasy on the first drive on the 1542 (sd1) 1:sd(0,a)/boot/loader in /boot.config on sd1 I can autoboot as far as the disk1s1a prompt from the boot loader. -- Paul Keusemann pkeusem@visi.com 4266 Joppa Court (612) 894-7805 Savage, MN 55378 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message