Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 1998 10:05:46 +0000 (GMT)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Wilko Bulte <wilko@yedi.iaf.nl>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: installing boot?
Message-ID:  <Pine.BSF.4.01.9812040957460.367-100000@herring.nlsystems.com>
In-Reply-To: <199812032301.AAA04743@yedi.iaf.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9812040957460.367-100000>