From owner-freebsd-current Mon Nov 30 05:29:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA25763 for freebsd-current-outgoing; Mon, 30 Nov 1998 05:29:30 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (ppp7.portal.net.au [202.12.71.107]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA25748 for ; Mon, 30 Nov 1998 05:29:26 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id BAA00703; Sun, 29 Nov 1998 01:30:52 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199811290930.BAA00703@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Andreas Dobloug cc: freebsd-current@FreeBSD.ORG Subject: Re: bootloader In-reply-to: Your message of "08 Nov 1998 20:59:51 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 29 Nov 1998 01:30:52 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I tried to build an elf-kernel, saved it as kernel.elf, and followed > this procedure: > > | Reboot, and at the boot: prompt type '/boot/loader', then abort the > | kernel load and type 'boot kernel.elf'. > > but the boot-loader couldn't find anything on my hd. > > I.e. it reports something like "'/': no such file or directory" when > typing ls, and it can't find either kernel nor kernel.elf. What sort of filesystem(s) do you have on da0? If you change $currdev to one of the slices there, can you see what's on them? > # dmesg | grep ahc > ahc0: rev 0x00 int a irq 19 > on pci0.6.0 > ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs > da0 at ahc0 bus 0 target 1 lun 0 > da1 at ahc0 bus 0 target 6 lun 0 > (da1:ahc0:0:6:0): tagged openings now 63 > (da0:ahc0:0:1:0): tagged openings now 63 > > The FBSD root is located on da1 (da1s3a) > > When booting, the boot-loader prompt (and hence the environment) > reports 'disk2s3a' which I presume is the equivalent of da1s3a. If you have a single floppy drive, that's right. If you have a chance, and feel like helping debug this, I can make a few suggestions that may help work out what's going on. > I guess the problem is me trying to boot from da1? That's about all I can think of right now; it ought to work though. Does the second disk get listed in the disk summary that's printed when the loader starts? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message