From owner-freebsd-alpha Fri Dec 4 03:05:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA18387 for freebsd-alpha-outgoing; Fri, 4 Dec 1998 03:05:09 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA18365 for ; Fri, 4 Dec 1998 03:05:00 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id KAA00420; Fri, 4 Dec 1998 10:05:47 GMT Date: Fri, 4 Dec 1998 10:05:46 +0000 (GMT) From: Doug Rabson To: Wilko Bulte cc: freebsd-alpha@FreeBSD.ORG Subject: Re: installing boot? In-Reply-To: <199812032301.AAA04743@yedi.iaf.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 4 Dec 1998, Wilko Bulte wrote: > As Doug Rabson wrote... > > > You should be able to make the disk bootable by doing this: > > > > # disklabel -B /dev/da0c (or /dev/da1c etc.) > > > > or maybe: > > > > # disklabel -B -b /usr/mdec/boot1 /dev/da0c > > > > Make sure that /boot/loader exists in the root partition of the disk being > > booted (installworld should have made it). > > Well, I think I understand what has happened: > > My axp33 was installed originally with a NetBSD bootfloppy (somewhere in > Oct). This gave me a NetBSD first stage boot, and a second stage boot living > in /boot > > The installworld of FreeBSD wants a /boot directory to put /boot/loader and > /boot/netboot into. Obviously NetBSD's first stage boot got upset now that > it could not find /boot anymore. > > To get onto the road again I booted the NetBSD installflop again, ran > /usr/mdec/installboot to get the NetBSD bootstuff back on the HD. Now I had > a bootable HD again. > > I still want the FreeBSD bootbits so: > > mv /boot /boot.netbsd > mkdir /boot > cp loader /boot Oh... I forgot about the way NetBSD loads the second stage bootstrap. They should take the code from my boot1 which understands UFS (originally from the i386 bootstrap). > > And then a new nit: > > axp33# ./disklabel -B -b /boot/boot1 da1 > boot overlaps used partition a > Warning, boot overlaps partition c, marked as FS_BOOT > ./disklabel: cannot install boot program > axp33# > > Hmmm. Does this mean I have to re-install from scratch afterall? > > Thanks, Try using da1c instead of da1. I don't think it works unless you specify the 'c' partition. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message