Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 1998 01:30:52 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Andreas Dobloug <andreasd@ifi.uio.no>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: bootloader 
Message-ID:  <199811290930.BAA00703@dingo.cdrom.com>
In-Reply-To: Your message of "08 Nov 1998 20:59:51 %2B0100." <xnpk9162bwo.fsf@hrotti.ifi.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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: <Adaptec aic7890/91 Ultra2 SCSI adapter> 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



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