Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 1997 22:51:24 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        Stephen Cooper <stephen.cooper@alphawest.com.au>
Cc:        Kim Benn <kim@benn.dk>, freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD attempting to boot off wrong SCSI deviceAs a quick fix
Message-ID:  <Pine.BSF.3.95.971015225032.12661B-100000@current1.whistle.com>
In-Reply-To: <3445858C.E347CACF@alphawest.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <stephen.cooper@alphawest.com.au> 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    <stephen.cooper@alphawest.com.au>
> 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
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.971015225032.12661B-100000>