From owner-freebsd-current Sun Nov 8 18:38:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA26072 for freebsd-current-outgoing; Sun, 8 Nov 1998 18:38:05 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mailgw1.lmco.com (mailgw1.lmco.com [192.31.106.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA26065 for ; Sun, 8 Nov 1998 18:38:04 -0800 (PST) (envelope-from george.w.dinolt@lmco.com) Received: from emss02g01.ems.lmco.com (relay2.ems.lmco.com [198.7.15.39]) by mailgw1.lmco.com (8.8.8/8.8.8) with ESMTP id TAA32063; Sun, 8 Nov 1998 19:37:49 -0700 (MST) Received: from wdl1.wdl.lmco.com ([137.249.32.1]) by lmco.com (PMDF V5.1-10 #20543) with SMTP id <0F24009NWVB000@lmco.com>; Sun, 8 Nov 1998 19:37:49 -0700 (MST) Received: from lmco.com by wdl1.wdl.lmco.com (SMI-8.6/WDL-5.0) id SAA12033; Sun, 08 Nov 1998 18:37:40 -0800 Date: Sun, 08 Nov 1998 18:37:55 -0800 From: "George W. Dinolt" Subject: Re: Boot Loader question To: Mike Smith Cc: freebsd-current@FreeBSD.ORG, rnordier@nordier.com Message-id: <36465583.E523F26E@lmco.com> Organization: Lockheed Martin Western Development Labs MIME-version: 1.0 X-Mailer: Mozilla 4.07 [en] (X11; I; FreeBSD 3.0-CURRENT i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <199811070750.XAA00452@dingo.cdrom.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike and Robert: Many thanks for your responses to my message. Mike Smith wrote: > ... > Ok. Have you considered something like this: > > set choice=1 > echo "1 - FreeBSD 2.2" > echo "2 - FreeBSD-current" > read -t 10 -p "Select >>" choice > set currdev=disk${choice}s1a: > source /boot/boot.conf2 > > in the default boot.conf, and then the 'real' boot instructions in > /boot/boot.conf2? I have taken your suggestion and a have a version which boots off of wd0 (my first disk) and takes the appropriate default action when I don't type something in. Many thanks. > ... > However, to help you we need to know *what* the error is. After the latest patches available via CTM (src-cur.3611) with the following "Id's" $Id: boot1.s,v 1.4 1998/11/05 20:52:25 rnordier Exp $ $Id: boot2.c,v 1.13 1998/10/27 20:16:36 rnordier Exp $ I create a floppy with the following set of commands: fdformat /dev/fd0.1440 disklabel -w -r fd0 fd1440 disklabel -B -b /boot/boot1 -s /boot/boot2 /dev/fd0 newfs rfd0 fd1440 mount /dev/fd0 /floppy mkdir /floppy/boot cp /boot/{boot1,boot2,loader} /floppy/boot cd /floppy echo boot/loader > boot.config When I boot from this floppy I get the error message: Read error Hit return to reboot: If I follow the instructions, the floppy light goes on briefly and the "Hit return..." message is reprinted on a new line. If I remove the floppy and hit return (error messages still on screen), I get my usual F1 ... F2 ... F3 ... messages and everything works as expected, that is I can boot. Robert Nordier wrote: ... >Since you use floppies, and get reproducible errors now, it'd be great >if you'd undertake to test the new bootblocks and let us now if the >problem has been resolved. ... Glad to help. Unfortunately, I live behind a very restrictive firewall and get my updates via CTM so I am usually a day or so behind the direct CVS paths. I will keep you posted. Regards, George Dinolt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message