From owner-freebsd-questions Wed Oct 15 23:00:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA07287 for questions-outgoing; Wed, 15 Oct 1997 23:00:47 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA07278 for ; Wed, 15 Oct 1997 23:00:44 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id WAA06984; Wed, 15 Oct 1997 22:52:52 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd006980; Thu Oct 16 05:52:43 1997 Date: Wed, 15 Oct 1997 22:51:24 -0700 (PDT) From: Julian Elischer To: Stephen Cooper cc: Kim Benn , freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD attempting to boot off wrong SCSI deviceAs a quick fix In-Reply-To: <3445858C.E347CACF@alphawest.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk take the IDE drive ou tof the BIOS table BSD will still find it but the BIOS won't, so teh first disk will become sd0 julian On Thu, 16 Oct 1997, Stephen Cooper wrote: > Sorry for the multiple posts. I am trying to get the machine up as a demo at our > annual showcase of security products (Firewall-1, Novell Border Manager etc) and I > am rather desperate!!! > > The boot.config file did not appear to help, I put the line > > 1:sd(0,a)kernel > > in the file and placed the file in / with the permissions 644 root.wheel. > > The machine still thinks it is booting off 1:sd(1,a)kernel, but as I have said I > can type the line in at boot: and it will boot OK, but it would be very useful to > us to have it boot automatically. > > I have also tried putting the following in the kernel config file. > > "config kernel root on sd0 > > controller scbus0 at ahc0 > > device sd0 at scbus0 target 0 unit 0" > > and rebuilt the kernel. > > My configuration is > > Disk 1: 2GB IDE ("wd0") Windows NT > Disk 2: 500MB Seagate SCSI (sd0) on PCI Adaptec SCSI controller (ahc0) with > FreeBSD > > Kim Benn wrote: > > > In article <34432F2D.32386A9C@alphawest.com.au>, > > Stephen Cooper writes: > > > > > >> An update, I have found that if I type in > > >> "sd(0,a)kernel" at the boot prompt the system will load root from the > > >> correct partition. How do I configure the boot manager to use this boot > > >> device? It appears that there is a bug with the boot manager. > > > > I wrote to you today about this problem. Here is my setup: > > > > > more boot.help > > Usage: bios_drive:interface(unit,partition)kernel_name options > > bios_drive 0, 1, ... > > interface fd, wd or sd > > unit 0, 1, ... > > partition a, c, ... > > kernel_name name of kernel, or ? for list of files in root directory > > options -a (ask name) -C (cdrom) -c (userconfig) -D (dual consoles) > > -d (debug early) -g (gdb) -h (serial console) -P (probe kbd) > > -r (default root) -s (single user) -v (verbose) > > Examples: > > 1:sd(0,a)mykernel boot `mykernel' on the first SCSI drive when one IDE > > drive is present > > 1:wd(2,a) boot from the second (secondary master) IDE drive > > 1:sd(0,a)? list the files in the root directory on the specified > > drive/unit/partition, and set the default bios_drive, > > interface, unit and partition > > -cv boot with the defaults, then run UserConfig to modify > > hardware parameters (c), and print verbose messages (v) > > > more /boot.config > > 1:sd(0,a)/kernel > > > > Hope this help > > > > -- > Stephen Cooper > Internet Engineer, Internet and Open Systems Group > AlphaWest, Level 10, QV1 Building, 250 St Georges Tce, Perth, WA 6000 > Main: (+61 8) 94296000 Fax: (+61 8) 94296030 > >