Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 1997 11:10:05 +0800
From:      Stephen Cooper <stephen.cooper@alphawest.com.au>
To:        Kim Benn <kim@benn.dk>, freebsd-questions@FreeBSD.ORG
Subject:   FreeBSD attempting to boot off wrong SCSI device
Message-ID:  <3445858C.E347CACF@alphawest.com.au>
References:  <34431183.5C8DEB04@alphawest.com.au> <344320C6.3589CC7F@alphawest.com.au> <34432F2D.32386A9C@alphawest.com.au> <199710140918.LAA00418@putte.benn.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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


[-- Attachment #2 --]
0
s	*H

d0
`10	+0	*H
0+0+j\=q[˿S-0
	*H
0b10UInternet10U
VeriSign, Inc.1402U+VeriSign Class 1 CA - Individual Subscriber0
970904000000Z
980904235959Z0'10UInternet10U
VeriSign, Inc.1402U+VeriSign Class 1 CA - Individual Subscriber1F0DU=www.verisign.com/repository/CPS Incorp. by Ref.,LIAB.LTD(c)961301U*Digital ID Class 1 - Netscape Full Service10U
Stephen James1.0,	*H
	stephen.cooper@alphawest.com.au0\0
	*H
K0HA[舝vܝvpZ:-mE[-w5*uMH<]0Y0	U00U 00`HE00(+https://www.verisign.com/CPS0b+0V0VeriSign, Inc.0=VeriSign's CPS incorp. by reference liab. ltd. (c)97 VeriSign0	`HB0
`HExvd4652bd63f2047029298763c9d2f275069c7359bed1b059da75bc4bc9701747da5c7f4141beadb2bd2e89206ab6af4d211489fa3bc43f4e59365410
	*H
ROgPUe>	<I5蘵wt-oj:u=,,Ft{[ޜ(MG*f>wlT%7M)xgME=AgpGߣd~0y0R5p~+Y90
	*H
0_10	UUS10U
VeriSign, Inc.1705U.Class 1 Public Primary Certification Authority0
960627000000Z
990627235959Z0b10UInternet10U
VeriSign, Inc.1402U+VeriSign Class 1 CA - Individual Subscriber00
	*H
0M
#o)c,o.vK6Wƺ3ʕ[yD*sRhpd>k]CnEG-ݻrL?q@T9|?l*4ո>3010U00U0	`HB0
	*H
WuƜ+wOE;X98y9h4fLjE%nv\}g[Hg%dr)'7j('el@Mx,P
۰J0100
	*H
0_10	UUS10U
VeriSign, Inc.1705U.Class 1 Public Primary Certification Authority0
960129000000Z
991231235959Z0_10	UUS10U
VeriSign, Inc.1705U.Class 1 Public Primary Certification Authority00
	*H
0mVa-Hqg޹뷞
8%Fs$]
enVsߴX9knը?14׏4g	NEVixG)6c\-{2{0*/1g0
	*H
RsU?}b*Lvn%=	pWw`u;I!A\-LBI(،wS#UDL6[f^^ԡ!	3;Y8ٖ$-)3hxNi5⨘s;1Z0V0v0b10UInternet10U
VeriSign, Inc.1402U+VeriSign Class 1 CA - Individual Subscriber+j\=q[˿S-0	+}0	*H
	1	*H
0	*H
	1
971016031005Z0	*H
	100
*H
(0#	*H
	1|Ξ+(pnRs[R0
	*H
@X
waVjv;[q{m>U9I7TP6`\ɘs|l

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3445858C.E347CACF>